I am using GDownloadURL and PHP to generate XML to input to google
maps.  When I use an id of 2 characters in length it fails to load the
markers, but when the id is 3 character in length it works.

For example, using checkmarks to turn markers on and off:

<input type="checkbox" name="AA" id="AA" onclick="Markers('AA')"/> AA
Markers<br />
<input type="checkbox" name="BBB" id="BBB" onclick="Markers('BBB')"/
>BBB Markers<br />

The BBB checkmark works fine, the AA one does nothing with no errors.
However if I run the PHP code and then save the XML to a page and then
use it that xml page named directly in the GDownloadURL, then it will
work.  So it seems something is going on between the PHP building the
XML document and google maps parsing it out.  I can rearrange the list
of checkmarks and add more or less and it is always the ones with a
length of 2 that fail.

I can't post my map here yet unfortunately and I didn't want to post a
code dump.  I am wondering if anyone has experienced something similar
and might know of a limitation or maybe something I need to check.

--

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


Reply via email to