
On 16.01.2010 12:03, Mark Burton wrote:
Thinking some more about what I was seeing in mapsource when mousing around the Baltic map, I came to the conclusion that the edges of the overview map bounding boxes where in the wrong place so I took a look at mkgmap where it rounds those coords and came up with the attached fix. No great theory here, I just dicked around until it worked as I expected.
For the Baltic map, the mouse now works right up to each boundary in both lat and lon directions whereas before it would only work right on one side of each boundary.
Please try the patch, especially for maps that are W of Greenwich and S of the equator and see if the overview boxes are right.
Cheers,
Mark
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev Nope, still broken. This patch even made it worse on my test. Some POI got dropped that were displayed before. The overview map (as can be seen here) is shifted about 1.5km to the east.
I have a testmap that you can download here and try around to see if you get it right. (have a look at it with JOSM to check that no objects near the tile border are dropped). The testmap can be downloaded from here: http://openmtbmap.x-nation.de/maps/legend.zip