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.
When using a LabeledOMPoly object with only 2 lat/lon points, the label is being placed in the upper left corner of the map. It looks like the getCenter() method fails to account for this usage, encounters an area of 0, and computes the "center" point as 0,0
When using a LabeledOMPoly object with only 2 lat/lon points, the label is being placed in the upper left corner of the map. It looks like the getCenter() method fails to account for this usage, encounters an area of 0, and computes the "center" point as 0,0