Dear All,
             I am trying out some clustering work. So below is my
basic codes and gives me the error "MarkerManager is not defined".
What must I do and how this clustering will work? Thank you.

var mgr = new MarkerManager(map);
function processtMultipleLatestData(json)
            {
                map.clearOverlays();
                multipleLatestDataJson = eval('(' + json + ')');

                for (i=0;
i<multipleLatestDataJson.VehicleDetailsList.length; i++)
                {
                          var multipleLatestDataDetails =
multipleLatestDataJson.VehicleDetailsList[i];

                          var point = new
GLatLng(multipleLatestDataDetails.lat,multipleLatestDataDetails.lng);

                  var marker =
createMultipleLatestDataMarker(point,multipleLatestDataDetails.vStat,multipleLatestDataDetails.registrationNumber,multipleLatestDataDetails.poi,multipleLatestDataDetails.speed,multipleLatestDataDetails.course,multipleLatestDataDetails.dateTimer);
                  map.addOverlay(marker);
                  //markers.push(marker);
                          mgr.addMarker(marker);
                }

            }

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