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
Is this still the only method for doing this? is there no way within mapMoved() to stop the drag motion beyond a certain boundary?
Yes, no changes here. We have handled this kind of small features as customer-requested (and sponsored) developments. It is possible, but not really trivial as it affects also API.
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