11 weeks 6 days ago
—
Nutiteq is proud sponsor of StateOfTheMap 2010 #sotm10
Hello Jaak,
I use JaredOpenStreetMap to create a map from tiles in jar, and it works OK.
The question is: how to prevent user from going outside the map, where are no tiles? I'd like to keep user only within boundaries of my map. How to archive this?
I could try to reset the boundaries within mapMoved() method, but I'm not sure it's a good approach (as it means another map movement event). What do you suggest then?
Thanks in advance,
Mike
Currently controlling using mapMoved() method would be probably the best solution. We have thought to have explicit bounds for maps also, but it is not implemented yet.
/JaakL