Hi All,

1. By default a center point is set or can we keep it empty?

problem here ---
var map = new GMap2(document.getElementById("map_canvas")); // To identify
which the container
        map.setCenter(new GLatLng('44.2','-120.6'), 13); // marking the
longitude and latitude and that is set as the center part of the map

//
        GDownloadUrl("WebForm1.aspx?r=2", function(data)  // got the data
from aspx page as xml
                {
                    var points = GXml.parse(data); // get the data
                    var markers =
points.documentElement.getElementsByTagName("Marker"); // able to go through
the data
                          for (var i = 0; i < markers.length; i++)
                          {
                              map.panTo(new
GLatLng(parseFloat(markers[i].getAttribute("lat")),parseFloat(markers[i].getAttribute("lng"))),10)
// unable to reset the center point is there a method to do it?
                          }

Regards & Thanks,

-- 
Arvind P Rangan

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