On Sep 6, 3:47 pm, erkin aksoy <erkin.ak...@gmail.com> wrote:
> Hi Larry,
>
> I am write into createMarker function.  But still does not works.

Where is the link to the map where you did that and it didn't work?

The code below is not complete.  Did you modify the createMarker
function appropriately?

  -- Larry

>
> downloadUrl("vakalar.xml", function(data) {
> var xmlDoc = xmlParse(data);
> var records = xmlDoc.getElementsByTagName("marker");
> for (var i = 0; i < records.length; i++) {
> var rec = records[i];
>
> var title = rec.getAttribute("title"); <!-- this is my title code but
> not works.-->
> var vaka = rec.getAttribute("vaka");
> var lat = parseFloat(rec.getAttribute("lat"));
> var lng = parseFloat(rec.getAttribute("lon"));
> var marker = new google.maps.LatLng(lat,lng);
>
> var html_text = vaka;
> createMarker(marker,title,html_text,map);
>
> }
>
> Thanks
>
> Erkin

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to