Jump to content

Adding marker to Google Map from XML file


Texan78

Recommended Posts

I hate javascript and working with Google maps but, anyways. I am trying to update my old maps to a new style. 

 

Here is the new style. 

 

http://www.mesquiteweather.net/lsm/map.html

 

I am trying to added the markers to the map from an XML file which is this one. 

 

http://www.mesquiteweather.net/tracker/data.xml

 

It should look like this. 

 

http://www.mesquiteweather.net/wxspotter.php

 

I have transferred the code over to the updated map style but, for some reason it isn't displaying the markers. 

 

Can someone please tell me what it is I am missing or doing wrong which I am sure is a lot since I am horrible with javascript. 

 

Here is the code to the updated map that I am trying to show the XML markers on. 

 

http://pastebin.com/rFVG4nJS

 

-Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.