I am working threw the Google Map API and using the "Google map API
tutorial"
Anyway everything is working great, except for I only want to display
a select few of the "label" attributes in the side bar.
The map is of the Bangkok skytrain and subway routes. While the marker
code allows for me to label each station along the lines I only want
to display on the sidebar the particular marker points where the
subway and skytrain routes have interchange stations....not every
marker label.
If i leave a marker label blank, it ruins the entire loop of the code
and no map displays.
If I leave empty quotes: label="" it makes blank space on the side
bar...
The function that displays them is the : var label = markers
[i].getAttribute("label");
What code do I use to be able to have only about 8 of the 30 or so
markers display on the side bar?
Link to the map: http://www.thailandgentlemenstravelclub.com/googlemaptest.html
(See the spaces between the interchange stations...how do I get rid of
them?)
Link to the XML file:
http://www.thailandgentlemenstravelclub.com/googletestmap.xml
Thanks in advance !!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---