Does Google map Javascript API and KML layer?

Is there any general advice when to use KML layers or the Javascript API? There are several needs in the application. I need to display markers to move an object on a map. They will be updated every minute on average. But upon request, a lot of static markers will be displayed. These are just markers. But on another screen, I need to draw managed routes.

Actually, I'm not sure which is the best way to display all the necessary data. KML? Get data, and the rest is API on the fly? Create the code on the server and simply upload it to the browser. What would be the best in terms of productivity and ease of use for the developer?

+4
source share
1 answer

I think javascript levels are faster than kml. (The fastest speed is to create graphic tiles - but it takes a lot of time and needs to be done statically).

I would use AJAX to generate data on the server and send it to the API on the fly.

I think KML is useful if you want to share data with other websites and people using GIS desktop software. It is very simple to use a different KML layer. Their javascript array is much more complicated.

+2
source

All Articles