You forgot to post a link to your map....

(see the posting guidelines)

On 08/09/2009, sreejith R <[email protected]> wrote:
> Hello all,
>
> In my application I tried to display markers in  the map. The lat and long
> values are loaded from mysql table.The code used for creating the markers is
> given below.
>  GDownloadUrl("my1.php", function(doc) {
>          var xml = GXml.parse(doc);
>         if (navigator.appName == "Microsoft Internet Explorer")
>         { alert(marker);
>         var markers = xml.getElementsByTagName("marker");
>         }
>          else
>         {
>         var markers
> =xml.documentElement.getElementsByTagName("marker");
>         }
>           for (var i = 0; i < markers.length; i++) {
>           // obtain the attribues of each marker
>            var lat1 =
> parseFloat(markers[i].getAttribute("lat"));
>           var lon1 =
> parseFloat(markers[i].getAttribute("lng"));
>           var point = new GLatLng(lat1,lon1);
>           var pname = markers[i].getAttribute("Panchayat");
>            var name = pname;
>           var marker =
> createMarker(point,name,pname,"panchayat");
>           map.addOverlay(marker);
>
>        }
>       });
> This is working well with firefox but didn't display markers with IE.I am
> using IE6.
>  What is the problem.I couldn't find.Please help me.
> --
> Sreejith.R
>
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
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