In order to help you out and to finally correct myself, here is a third
way for you (my described two ways weren't entirely wrong, but the
"third" way was missing, but I'm sure, there are tons of other ways...)
You can of course mix server side/client side (what the hell was in my
head, when claiming the contrary... tsss...) So one way could be, that
you ask your database server side, based on given query parameters, and
render the results into a JSON object using <%= %> server side tags. The
JSON object can then easily been parsed by JS.
E.g. render an object of markers like this
var json = <% =JSON %>;
where JSON is build server side as
[{"X": 36.99, "Y": 30.88}, {"X": 36.936, "Y": 30.897}]....
Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---