> Than the question is... how to tell to array cities in gmap_loop.js > that it should collect only those variable that are equal to names of > cities defined in PHP array $clean_cities?
I think you want to load a whole set of cities in your javascript file, but only display some of them according to some selection values passed from php?? You might write an array of names or some other ID into your main page, then have your javascript loop through your possibles and display ones that match. Or you might pass names or some other ID via the page URL querystring, and so not modify the page every time (allowing user's browsers to use their cache effectively). -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
