1
vote
0answers
15 views

Shift between Open layer and vector layer QGIS 2.20 [duplicate]

Can you please help me solve this issue with Open Layer Plugin. I see some shift with a vector layer of Laos water boundaries when the background is Google Physical Layer.I am using CRS EPSG: 32647 ...
1
vote
1answer
54 views

How to detect openlayers feature vector intersections in any zoom level?

I have to change vector feature when vectors are intersect each other, I wrote the following code: // check all vectors features (arrows) in the current layer for intersections allArrowFeatures = ...
1
vote
3answers
2k views

Openlayers vector feature coordinates are not transforming,

I have a OpenLayers vector with a single feature [0]. It's coordinates are in the map projection (EPSG:3413) and I want them in WGS84 (EPSG:4326) decimal degrees. I have the following code which ...
2
votes
1answer
897 views

OpenLayers: make polygons not zoom

I have a simple OpenStreetMap for which I want to display a series of circles. Each circle represents readership for that area, so its radius will change based on the numbers. However, when I create ...
1
vote
1answer
565 views

Creating markers(vectors) in openlayers

I'm new to OpenLayers,currently in existing project they have created markers in openlayers map by using following code, // vector layer creation vLayer = new OpenLayers.Layer.Vector(layerName, { ...
3
votes
2answers
2k views

Dynamically adding features with cluster strategy

I am trying to dynamically add features to a vector layer, and use cluster strategy to group those features accordingly. I am able to do this for the first set of data that gets loaded on the map. ...
1
vote
1answer
60 views

OpenLayers - vector boxes and paths

I'm using OpenLayers to make warehouse map. How to prevent drawing lines (paths) over some vector objects already on the map?
2
votes
2answers
824 views

Multiple Maps with Styles not working in OpenLayers

I have created 2 maps(within 2 in a same page) along with their respective style maps. Both maps are having vector layers along with "LineString" geometry... added into them. Both style maps are ...
4
votes
1answer
4k views

Showing menu based on right click on Point Geometry in Javascript

I have implemented a vector layer(using javascript) in open layers which is having point geometry. Now my requirement is to show menu just besides with the point whenever we do right-click on ...
2
votes
1answer
1k views

how to get Coodinates after Resizing a feature Openlayers

I'm trying to display the coordinates of a Feature or vector layer after I use the modify radio button to resize my vector, but it does not work, nor on my drag feature. I'm using ...
1
vote
1answer
1k views

How to stop or deactivate draw polygon control after the first polygon has been drawn in Openlayers

I want to only be able to draw one circle on my map and then disable the control. Below is my code, Any suggestions? <html xmlns="http://www.w3.org/1999/xhtml"> <head> ...
1
vote
1answer
3k views

Openlayers get coordinates of a circle vector after draw

I have made a openlayers map. I have made two features on the map. Navigate DRAW POLYGON I have made 40 sides to my polygon which turns out to be a circle. After I have drawn my circle I want to ...