On Dec 4, 1:25 am, Andrew Leach <[email protected]> wrote:
> On Dec 4, 7:55 am, abhinanda <[email protected]> wrote:
>
> > how can i put two different "lat" & "lng" under one "label" in XML?
> > plz help me asap..
>
> What do you mean by label?

I don't know what is meant by label.

>
> Each element in an XML file needs its own attributes:
>
> <markers>
>   <marker lat="51" lng="0" name="My home">
>   <marker lat="45" lng="-122" name="His home">
> <markers>

They could do this:
<markers>
<homes>
  <marker lat="51" lng="0" name="My home">
  <marker lat="45" lng="-122" name="His home">
</homes>
<businesses>
  <marker lat="51" lng="1" name="My business">
  <marker lat="45" lng="-123" name="His business">
</businesses>
<markers>

Which would allow them to get them separately out of the xml and put
them in different "categories".

but it is different from the way Mike's tutorial on categories is
organized (he uses xml attributes)
Part 25 Marker Categories
http://econym.org.uk/gmap/example_categories.htm

But this question has nothing to do with the Google Maps API...

  -- Larry

>
> How can a single object have two sets of co-ordinates? Please be more
> specific in your question.
>
> Andrew

--

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.


Reply via email to