I developed a canvas visualization of OpenStreetMaps by means of miscellaneous scripts and rendering algorithms from the internet. On top of this I have a Kinetic Stage which draws custom objects which cannot be drawn by the functionality of Openlayers. Openlayers provides many functions which I want to use and therefore I’m trying to switch over to this framework. I’m
Tag: openlayers
How to get the current viewport of the map out of OpenLayers as geometry, bounding box or wkt?
I’m trying to find some hints where I should search for this topic but I’ve nothing found – and I spent many hours on this. I’m also trying to get the current coordinates out of the current displayed viewport from the OpenLayers map to add only these vectors that are in the current bounding box of the current viewport. Answer