-
Zh GoogleMap
-
Component
-
Having trouble setting the current map bounds
Having trouble setting the current map bounds
-
bsaracco1
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 4
-
Thank you received: 0
-
-
10 years 1 month ago #4792
by bsaracco1
Hello Again,
I have having a lot of trouble setting up map bounds for my map at:
Here
I have tried very hard to follow these instructions:
Map Bounds Map bounds to protect navigation outside map
You have to enter Latitude1,Longitude1;Latitude2,Longitude2
ie pair of coordinates separated by semicolon and in one coordinate has values separated by comma
But the maps bounds never work correctly. For my map above I am hoping to not allow the users to go outside of the area where the markers are and have tried entering these coordinates to achieve that with no luck:
39.498990,-74.688320;39.246577,-74.285088
The latitudes seem to work, but the longitudes usually do no allow for any movement up or down...
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
10 years 1 month ago #4793
by Dima
Hi.
I think you define wrong.
left-bottom; right-top
39.39 > 39.24 => wrong
-74.28 > -74.68 => wrong
I think you should try:
39.246577,-74.688320;39.498990,-74.285088
The following user(s) said Thank You: bsaracco1
Please Log in or Create an account to join the conversation.
-
bsaracco1
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 4
-
Thank you received: 0
-
-
10 years 1 month ago #4795
by bsaracco1
You're the man, thanks again for your help this worked great!
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Component
-
Having trouble setting the current map bounds
Time to create page: 0.092 seconds