Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Prevent user from clicking other items in the map

 Post Reply Post Reply
Author
Macias Jan Webber View Drop Down
New Member
New Member
Avatar

Joined: 10 Dec 2014
Posts: 12
Post Options Post Options   Quote Macias Jan Webber Quote  Post ReplyReply Direct Link To This Post Topic: Prevent user from clicking other items in the map
    Posted: 27 Jan 2015 at 11:02am
Hi...

Is there a way to prevent users from clicking other items and showing its information in the map, for example, allow the user to click only the markers that was added in the map to show its information.


Thanks
Jan
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2033
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jan 2015 at 8:40am
Hi,

Can you please explain what other items besides markers you are referring to?
If there are no events associated with an item, nothing should happen when it is clicked unless this is default behavior of Google Maps which we possibly have no control over.
Back to Top
Macias Jan Webber View Drop Down
New Member
New Member
Avatar

Joined: 10 Dec 2014
Posts: 12
Post Options Post Options   Quote Macias Jan Webber Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jan 2015 at 9:26am
When you click on marked establishments in the map, it pop up balloon information
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2033
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jan 2015 at 9:41am
You can disable these by setting the MapOptions.DisablePOI property to true.
Back to Top
Macias Jan Webber View Drop Down
New Member
New Member
Avatar

Joined: 10 Dec 2014
Posts: 12
Post Options Post Options   Quote Macias Jan Webber Quote  Post ReplyReply Direct Link To This Post Posted: 29 Jan 2015 at 5:09am
Tried disabling MapOptions.DisablePOI but still I can click on other items in the Map like for example hospital and commercial establishments.
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2033
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 29 Jan 2015 at 10:42am
Possibly the Google Maps API prevents these points from being disabled.
Can you see any difference between the number of POI objects displayed on the map with DisablePOI set to false or true?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down