Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A coordinate-based data model that represents geographic features as points, lines, and polygons.
1
vote
1
answer
7k
views
Openlayers get coordinates of a circle vector after draw
map.addLayer(layer2);
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl( new OpenLayers.Control.LayerSwitcher() );
var vectors = new OpenLayers.Layer.Vector("vector …
0
votes
1
answer
3k
views
How to change events in the Oncomplete Drag function in Openlayers
below is code that works for Openlayers drag function:
drag = new OpenLayers.Control.DragFeature(polygonLayer, {
autoActivate: true,
onComplete: function() {alert('Are you sure this is the ri …
2
votes
1
answer
4k
views
How to stop or deactivate draw polygon control after the first polygon has been drawn in Ope...
map.addLayer(layer2);
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl(new OpenLayers.Control.LayerSwitcher());
var vectors = new OpenLayers.Layer.Vector("vector … [renderer] : OpenLayers.Layer.Vector.prototype.renderers;
vectors = new OpenLayers.Layer.Vector("Vector Layer", {
renderers: renderer
});
map.addLayers([wms, vectors]); …
2
votes
1
answer
2k
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. … [renderer] : OpenLayers.Layer.Vector.prototype.renderers;
vectors = new OpenLayers.Layer.Vector("Vector Layer", {
renderers: renderer
});
map.addLayers([wms, vectors]); …
3
votes
3
answers
14k
views
Openlayers get coordinates from polygon
please could someone help me and bless me with an example of how to get coordinates from a polygon in OpenLayers?