Click here to Skip to main content
15,843,727 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi this is santhosh,
i am working on google maps ....still now i am using google map to display dynamic data with various markers but in my project everyday lakhs of data is inserting so in this case map is loaded very very slowly so client is un satisfied with my work....so any body please help me in this...so is there any new way to display data very quickly in google maps even though data is lakhs or crores ...it is very urgent work so please any body please help me or guide me....thanks in advance

What I have tried:

this is my code :

/*----------Initialize Default Map--------------*/
function InitailizeDefaultMap() {
try {
var myOptions = {
center: new google.maps.LatLng(18.0000, 79.5800),
zoom: 11,
mapTypeId: google.maps.MapTypeId.HYBRID,
streetViewControl: false,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.DEFAULT
}
}
mapForCanvas = new google.maps.Map(document.getElementById('divMapCanvas'), myOptions);
}
catch (e) {
throw e;
}
}


/*---------- Set Global Data ----------*/
var sTaskPointsMarkerList = [];
var bounds;

/*---------- Set DataEntry Markers Data----------*/
function SetDataEntryMarkers(data) {
bounds = new google.maps.LatLngBounds();
var len = data.length;
for (var i = 0; i < len; i++) {
if (data[i]["TotCount"] != '0') {
var LatLng = new google.maps.LatLng(parseFloat(data[i]["Lat"]), parseFloat(data[i]["Lng"]));
SetMarker(LatLng, data[i]["Name"], data[i]["TotCount"]);
}
}
mapForCanvas.fitBounds(bounds);
}



this is my code so plz help me
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900