Hey All,
I was playing around with World Vector Shoreline Plus data at the world view
level. It seems that in certain cases when the dateline is on the screen a
rendering error will occur that only draws the data to one side of the
dateline.
I had seens similar errors in other plugin/layer code where the dateline
wasn't being checked for. So I replaced the LibrarySelectionTable's
dateline test with the one from the ShapeLayer
Offending code (com.bbn.openmap.layer.vpf.LibrarySelectionTable) :
//if ((scale < BROWSE_CUTOFF)
// && (ll1.getLongitude() > ll2.getLongitude())) {
Fixed code:
if ((leftLon > rightLon)
|| MoreMath.approximately_equal(leftLon, rightLon,
.001f))
{
This was occurring in v4.6.1. Just trying to give back.
-Guy
Guy Pascarella
Intelligent Software Solutions
Guy.Pascarella_at_issinc.com <mailto:Guy.Pascarella_at_issinc.com>
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Mar 17 2006 - 09:53:23 EST