Saturday, May 8, 2010

how to call xml elements in google maps

I get many samples about calling xml attributes in google maps;

<marker name="Jackie" lat="37.427770" lng="-122.144841" />
<marker name="Peter" lat="37.413320" lng="-122.125604" />

but I learnt it's not good to write xml with many attributes like
above, elements should be used instead of attributes, so could anybody
to give some explanation or samples about how to call elements in
google maps?

<marker>
<name>Jackie</name>
<lat>37.427770</lat>
<lng>-122.144841</lng>
</marker>
<marker>
<name>Peter</name>
<lat>37.413320</lat>
<lng>-122.125604</lng>
</marker>

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate