Always validate
Validated files
        File name       Charsets        Source
1       http://www.daybaseweb.co.uk/maps/mapdata.xml    UTF-8   Fallback

Error (2)
Line    File name:      http://www.daybaseweb.co.uk/maps/mapdata.xml
1       Column: 11
        Error:  Can not find declaration of element 'markers'.
        Error Position: 
<markers>
Line    File name:      http://www.daybaseweb.co.uk/maps/mapdata.xml
5       Column: 34
        Error:  Entity name must immediately follow the '&' within entity 
reference.
        Error Position: 
<marker name="PERTH LOCKSMITHS & SECURITY" address="Perth" lat="56.421" lng=



On Wed, Dec 2, 2009 at 9:27 AM, daybase <[email protected]> wrote:
> I am very new (less than 2 days) to google maps.  In the first two
> hours with the help of the examples etc I learned to open a selected
> map centred where I wanted and to place markers for coordinates
> specified in an xml file.  I am now looking to attach information to
> those markers and so I have once again used examples to prepare a
> page
>
> http://www.daybaseweb.co.uk/maps/trymap2.htm
>
> I have also created an XML file as suggested 
> http://www.daybaseweb.co.uk/maps/mapdata.xml
>
> <markers>
> <marker name="LUMSDEN SECURITY" address="Aberdeen" lat="57.153"
> lng="-2.112" type="Bar" />
> <marker name="LOCKFAST SECURITY" address="Aberdeen" lat="57.153"
> lng="-2.112" type="Bar" />
> <marker name="BROUGHTY FERRY LOCKSERVICE" address="Carnoustie"
> lat="56.503" lng="-2.718" type="Bar" />
> </markers>
>
> The map displays correctly, centred as it should be but no markers and
> reports an error on the page.
>
> Using exactly the same code
>
> http://www.daybaseweb.co.uk/maps/trymap.htm
>
> but using a simpler xml file http://www.daybaseweb.co.uk/maps/mdata.xml
>
> <markers>
> <marker lat="57.153" lng="-2.112"/>
> <marker lat="52.479" lng="-1.897"/>
>
> the map displays as so the markers but obviously the information is
> null.
>
> Any suggestions as to where I am going wrong would be greatly
> appreciated but please keep it simple.  So far I had a map up up and
> running in two hours but this problem has, so far, occupied me for
> nearly two days!
>
>
> --
>
> 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.
>
>
>

--

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