Tag Info

New answers tagged

0

From the GDAL manual http://www.gdal.org/drv_kml.html: Note that KML by specification uses only a single projection, EPSG:4326. All OGR KML output will be presented in EPSG:4326. As such OGR will create layers in the correct coordinate system and transform any geometries. So there is nothing much you can do about it, except looking for another ...


1

There are two really good article in the Bing Maps documentation around the tiling system and scale/resolution: http://msdn.microsoft.com/en-us/library/bb259689.aspx http://msdn.microsoft.com/en-us/library/aa940990.aspx Assuming you have, or can get the latlong value of the center of the map, or the center of the ship for more accuracy, you can then ...


1

In ol.proj.transform you need to specify the fromProjection before the toProjection, then it should work. A better way to set the center is to get the current view and set the center there instead of always creating a new one. function CenterMap(lat, long) { console.log("Lat: " + lat + " Long: " + long); ...



Top 50 recent answers are included