-
Forum
-
Zh GoogleMap
-
Component
-
How to limit panning in Custom Map Type?
How to limit panning in Custom Map Type?
-
TrainZer
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 16
-
Thank you received: 0
-
-
11 years 11 months ago - 11 years 11 months ago #755
by TrainZer
I made a custom map which is made of my own tiles (special touristic map), and now the problem is that user can drag the map out of its boundaries, and may just lose the map behind the map window. How can I limit the panning setting to prevent map from dragging out of my tiles limit? Where can I set the limiting coords manually? I don't want to turn the panning off, because my map has many zoom levels and needs to be dragged. And by the way the other question - can I turn off the Google logo and "Terms of use" link, when I use my own maps?
Last edit: 11 years 11 months ago by TrainZer.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
11 years 11 months ago #756
by Dima
Hi.
As for first question - I'll check can I do something in this case.
As for second - terms and logo - check google's terms, if you can do this. If yes, I'll check can I remove it.
Please Log in or Create an account to join the conversation.
-
TrainZer
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 16
-
Thank you received: 0
-
-
11 years 11 months ago - 11 years 11 months ago #766
by TrainZer
Last edit: 11 years 11 months ago by TrainZer.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
11 years 11 months ago #767
by Dima
Hi.
Sorry, I was very busy.
Yes, I found suggestions for it. There is no standard properties to fix map boundaries, and there is need to catch map boundaries change event and do some logic.
I think I'll do this in next release.
Please Log in or Create an account to join the conversation.
-
TrainZer
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 16
-
Thank you received: 0
-
-
11 years 11 months ago #768
by TrainZer
If I want to test the code by the provided link, where should I copy it to test if it works? Should I add it to "tmpl\default.php"?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4611
-
Thank you received: 460
-
-
-
-
-
-
Forum
-
Zh GoogleMap
-
Component
-
How to limit panning in Custom Map Type?
Time to create page: 0.070 seconds