> i can't put marker non global because it can't read the function save > which contain marker in page index.php
If you need a global 'thing' for the save-marker operation, and non- global 'things' for the read-XML operation ; why not give them different 'things'.... Leave the variable used in your XML read & createMarker code as 'marker' - but be sure to declare it as a local var Change the name of the global object used in your save-marker routines to 'saveMarker' or something. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
