I have implemented the functionality as in below link : http://gmaps-utility-library-dev.googlecode.com/svn/trunk/geometrycontrols/examples/test.html
I need to save the markers/polylines/polygons entered by the user. Therefore I have added a 'Save' button on the map Using HTMLcontrol ( http://googlemapsapi.martinpearman.co.uk/articles.php?cat_id=2 ) as suggested by Martin in my previous post. In geometrycontrol.js as in http://www.google.com/codesearch/p?hl=en&sa=N&cd=5&ct=rc#y5zfaQeXAFY/geometrycontrols/src/geometrycontrols.js&q=polygoncontrol%20package:http://gmaps-utility-library-dev\.googlecode\.com, u can see that there is a function 'GeometryControls.prototype.saveAllData ' whose 'THIS' reference contains the details of the markers/polygns/polylines entered by user. Now that I have a button on the map, I have an onclick event that is triggered, But within this 'onclick' event how can I get the 'THIS' value of 'GeometryControls.prototype.saveAllData ' ? Kindly help. Thanks, Chaitra --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
