My experience on this topic is:
When you use a SQL Query to draw markers in a JSP or HTML or maybe PHP, you are 
using Client's resources to draw the map.
When you use KML or XML to draw markers, GoogleMaps do the work.

Maybe some technical stuff is ommited, but that's how it works.

Regards,
Carlos Montelongo


El 24/10/2011, a las 09:07, AlB <[email protected]> escribió:

> I am trying to do the task described in the subject (plot markers on a map 
> based upon an SQL database query)
> 
> Why in all the examples does Google recommend using an XML intermediary? The 
> example (http://code.google.com/apis/maps/articles/phpsqlsearch_v3.html) says 
> that if Javascript/PHP is used directly it can cause problems.
> 
> Is the XML method more suited to data which is unlikely to change regularly? 
> Like a store locator. For my site the markers are likely to change everyday.
> 
> Maybe I have missed something but...
> 
> Googles method: SQL query > XML > Markers (each step requires a loop)
> 
> Simple method: SQL query > Markers (one less loop and no XML)
> 
> I have probably completely misunderstood the reason behind using XML - can 
> someone explain why its use is recommended?
> 
> Thanks
> Alb
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/ul-X3cxpPkUJ.
> 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.

-- 
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.

Reply via email to