Posted by swebb
on March 10, 2010 at 1:06 AM PST
I've been looking in to using JXMapViewer with Ordnance Survey maps. The coord system used by Ordnance survey is British National Grid which is OSGB36 not WGS84 (lat/long). I notice that the code for JXMapViewer seems to refer to lat longs including attribute and method calls. Shouldn't it actually just refer to locations so GeoPosition for instance should just have say getX() and getY() methods and other classes can look after appropriate conversions as required.
I also not that the maps I have seen used with JXMapViewer appear to be world maps, has anyone had any success with using maps that don't cover the entire world ?
Finally the zoom feature appears to go in or out a map level which is fine if you have a regular pyramid of tiles we an even distribution of scales but if say you have 250K, 50K and 10K tiles as you would with the Ordnance Survey maps there is a big jump when going from one map level to another. Does JXMapViewer offer the facility to scale in and out of tiles being displayed up to a predefined amount before going to the next map layer ? I can't find any classes that provide this behavior but I would be interested in views!