Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Latest news

Last at Tue, 6 Dec 2011 18:37:53
Topic: New BlackBerry sample app
See more news »

Missing Tile option

4 replies [Last post]
mveggia
User offline. Last seen 2 years 18 weeks ago. Offline
Joined: 06/10/2009

Hi, there is a way to prevent the user to view the space outside the maps loaded offline?

jaak
User offline. Last seen 13 hours 5 min ago. Offline
Joined: 06/19/2008

One solution could be to implement MapListener which listens mapMoved events and if new center is outside your map area, then it is moving center back. There is no automatic limitation in the library.

/JaakL

mveggia
User offline. Last seen 2 years 18 weeks ago. Offline
Joined: 06/10/2009

Do you know how can I catch (in the mapMoved function) when the pointer is out from the stored map?

jaak
User offline. Last seen 13 hours 5 min ago. Offline
Joined: 06/19/2008

You need to know bounds of the map, and then can compare map center with the actual bounds. Library does not stored map bounds, as the file storage format has no this information.

/JaakL