On Dec 27, 12:26 pm, Joseph Alsberg <[email protected]> wrote: > Hi! > > I am using the function of: > > http://code.google.com/intl/sv-SE/apis/maps/articles/phpsqlajax.html > > and wonder how I can choose which rows to put in the xml (and thus on > the map) e.g. by type och some other column value. > > I tried with the GET function but it didnt work ( of course :) ) > > Any tips?
Change the select "Then connect to the database, execute a SELECT * (select all) query on the markers table" (don't select *) You might try looking at some of the other articles: http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/articles.html particularly the "store locator", that selects by distance, but you could select based on any database query you like. However that isn't really a Google Maps API question, rather a database query question, so you might be better off investigating groups that deal with those. -- Larry > > Thanks! -- 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.
