Chopper Posted November 13, 2013 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.
tosfera Posted November 13, 2013 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", , );
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