![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2007
Posts: 8
![]() |
Hi all,
I was having a problem rendering some polylines. The number of edges is manually set so it does not take into account the distance between the edges. My problem was that in some cases if two edges were very distant the line linking the two edges crossed the globe. I made a few changes and now the number of intervals is dependent of the distance between two edges. basically if do a LatLon.sphericalDistance(initalPoint, finalPoint) and use the degrees to dictate the number of points between the edges. Maybe such a feature can be incorporated into the release 0.3 of wwd ![]() cheers |
|
|
|
|
|
#2 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Actually it is in the pipeline, but didnt made it yet to Polyline... sorry for the trouble.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WW1.3.2-Plugin: Layer Edit | canosso | Add-ons & Scripts | 21 | 02-27-2010 04:37 AM |
| convert lat/lon forms, SPC, Metes, make path | Tom Moran | Add-on & Script Development | 21 | 03-06-2006 12:02 AM |