Chopper Posted November 13, 2013 Share Posted November 13, 2013 Hello. How can i detect if a marker i hit is supposed to be the one i want to hit? for example, i have 2 markers, they both execute different stuff, but it will execute if i use onMarkerHit Event. Thank you. Link to comment
Cocodrilo Posted November 13, 2013 Share Posted November 13, 2013 setElementData getElementData Link to comment
tosfera Posted November 13, 2013 Share Posted November 13, 2013 That's a possible way to do it, but you can also see if the source ( onMarkerHit's source = the marker that has been hitted ) equals the marker you want. Or you can add 2 event handlers both having different rootElements; addEventHandler ( "onMarkerHit", , ); Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now