i'm new to OpenLayers and i am looking for some help drawing lines on a map, i've been trying various things from various different posts about drawing LineStrings but i can't get it to work! I just need to figure out how to draw a line b...
I am using single layer with three feature and would like to specify z-order but not working anyway.  As per my understanding feature is drawing in same order in which I am adding so I tried by adding in reverse order but it not worked for me.  Code...
When loading many feature footprint vectors onto the map, the openlayers map and web application becomes unresponsive.  Is there any way to improve the performance of the openlayers map with many vectors?    We would like to be able to support at le...
I'm updating a project from OL2 to OL3, but I'm stuck on how to redraw features after changing the feature style.  In OL2, this worked:  hidePoints: function(id) {     if (! this.getMap().center) {         return;     }      var i,     featur...
I am trying to find out all the features which are visible (viewport) on a layer in Openlayers 3.  I am able to find out a single feature if I add a click event to the map which is as follows. But I am not able to find all the features which are visi...
I posted this question to change maxZoom in runtime using openlayers3 and that works perfect:  map.setView(new ol.View({   zoom: 10,   maxZoom: 17,   minZoom: 10, }));   However, im trying to integrate this solution using the angular-openlayers-direc...
Im trying to change the maxZoom option once a functionality of the map is activated. So it has to be during runtime so it can be rolled back to the original maxZoom.  Creating the ol.View you configure this parameters like this:  new ol.View({...
i have created a KML file with some custom attributes such as 'id' and 'room_id'.  these attributes exist in the 'extended data' part of the KML file, here is the file:  <?xml version="1.0" encoding="utf-8"...
I want to display a track in real-time with OpenLayers 3 which disolves at the end, just like a snails trail.   Only appending new coordinates to a LineString is easy. See this example. But removing coordinates from the end of the line does not seem...
I am new to OpenLayers 3 and I want to know how to rotate a polygon.  I think if there is a way to do it it should be by using the applyTransform method (http://openlayers.org/en/v3.4.0/apidoc/ol.geom.Polygon.html#applyTransform)  In order to try it,...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.