I suspect the answer is "no" or "you'll have to do it manually" but is there a way of making a markermanager non-clickable? That is, can I set and unset a property? At the moment if there are clickable makers in the markermanager, when I try and click on the map to add a new marker (and I pay attention to the overlay & overlaylatlng values) and I click on an existing marker, I get the exact point of that existing marker returned (even though the actual click was in the main "body" of the marker icon).
So what I want to do, is when someone clicks on the "add poi" link, all markers in the markermanager are made non-clickable until the new marker is saved. I did try hiding the markermanager layer but it causes confusion in testing as all the markers disappear when you click the button to add a new one! I'm pretty sure that the response will be that I'll have to recreate the entire markermanager with a different setting on each marker (i.e. remove the "click" event listener for markers. Therefore if this is the answer, is there a way to "read in" or iterate through the markers in the markermanager and set them to non-clickable as I don't want to have to go and requery the datasource at this point please?
-- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
