[OpenLayers-Users] Drawing an Arc (or Circle Segment)

Arnd Wippermann arnd.wippermann at web.de
Sun Apr 21 11:27:40 PDT 2013


Hi,

http://gis.ibbeck.de/ginfo/apps/OLExamples/OL29/Thaleskreis/thaleskreis.asp

Look at the function objArc(center, radius, alpha, omega, segments, flag).

Regards,
Arnd

-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Mike Melson
Gesendet: Samstag, 20. April 2013 07:56
An: openlayers-users at lists.osgeo.org
Betreff: [OpenLayers-Users] Drawing an Arc (or Circle Segment)

I need to draw numerous arcs at various distances from multiple locations.
And, each arc will have different start & end values.

Ideally, a function with the following signature: function
drawArc(originLongitude, originLatitude, radius, start, end) {};

I could then invoke it like: "drawArc(-119, 33, 10, 0, 90);" to draw an arc
at a distance of 10 miles from that location & sweeping from due North (0
degrees) to due East (90 degrees).

Does this exist? It seems like a pretty basic drawing primitive but I can't
find any examples.

Thanks,
M2
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list