Topic: Make marker ignore press event

Hello,

in a Tileset control I draw a 2D marker for each poi and 2D marker for the user, the problem is that when the user is over a poi I can no longer interact with that poi because the user marker is in the middle.

I would like to know if it is possible to make a marker ignore the press event.

Thanks.

Re: Make marker ignore press event

Hello.

You have two ways:
1. Create a class that inherits OnlineMapsMarkerFlatDrawer, override GetMarkerFromScreen method so that it ignores the user marker, and at start set the instance to OnlineMapsControlBase.markerDrawer.
This way does not affect the display of markers.

2. Use OnlineMapsMarkerFlatDrawer.markerComparer to change the display order of the markers, and move the user marker below the other markers.
Example:
http://infinity-code.com/atlas/online-m … ample.html

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!