[Google Maps API v2] Measuring time of marker pointings on the map
I have a script that use javaScript to send parameters to PHP, than
PHP imports data from database on the server and returns them to
JavaScript. These data are latitude and longitude of point.
After all I use those data to generate marker and I addOverlay.
I need to measure how long it takes to send data, receive them and
mark those poins on the map.
Till now, I was using function:
var timeDiff = {
setStartTime:function (){
d = new Date();
time = d.getTime();
},
getDiff:function (){
d = new Date();
return (d.getTime()-time);
}
}
But Now it doesn't tell me the whole time, just the time of JavaScript
execution.
Could you please help me and suggest how to measure whole time I need.
Thank you in advance for your help.
KN
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home