OpenMap-java / openmap

OpenMap is an Open Source JavaBeans-based programmer's toolkit. Using OpenMap, you can quickly build applications and applets that access data from legacy databases and applications.
http://openmap-java.org
Other
73 stars 43 forks source link

RibbonMaker negative dist does "right thing" #21

Closed chunky closed 8 years ago

chunky commented 8 years ago

If a negative value is passed to RibbonMaker.getOuterRing, it will draw the ribbon on the "other side" [ie, probably inside instead of outside].

This is implemented by copying the geo array to wind backwards, then using the exact same code to generate the ribbon