Tagged Questions
4
votes
2answers
559 views
How to calculate distance between two points with esri.geometry?
The function http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#namespace_geometry/esri.geometry.getLength should calculate distances between points.
When I am trying to calculate distance ...
0
votes
1answer
89 views
how to find vertices for a geometry in OpenLayers
I am having a LineString, where I need to find the vertices logically and save those vertices. Can anyone help me out. Or else how below can help me.
OpenLayers.Geometry.LineString = ...
2
votes
1answer
660 views
How to make a predetermined Polygon (Circle) From 4 Coordinates, The Radius and Center Longitude and Latitude in Openlayers
I know how to make a predetermined Polygon in Openlayers (see below).
Please have a look at http://studio.netnrg.co.za/dev/rnd/blake.loizides/openlayers
var feature2 = new ...
1
vote
2answers
1k views
How to initialize a WFS Layer?
Here is the code block (the layers are stored in Oracle database):
var saveStrategy = new OpenLayers.Strategy.Save();
var adresspt_wfs = new OpenLayers.Layer.Vector("Address points WFS", ...
2
votes
1answer
835 views
How to get the radius of a “circle” in Openlayers
How do you get the radius of a circle in openlayers? I have searched quite a bit and cannot find any resource for this. please help.
Here is my code but I want the radius or circumference of the ...
2
votes
1answer
202 views
LinearRing getVertices implementation
I'm fairly new to OpenLayers so please excuse me if this is an ignorant question. I'm curious why the LinearRing getVertices implementation
getVertices: function(nodes) {
return (nodes === true) ...