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

Uudised

Viimane: Thu, 15 Mar 2012 14:51:08
Teema: Vabad töökohad pakkuda
Veel uudiseid »

Missing Tile option

4 replies [Last post]
mveggia
User offline. Last seen 2 years 33 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 1 day 22 hours 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 33 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 1 day 22 hours 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