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 »

question about the sdk

4 replies [Last post]
erics
User offline. Last seen 1 year 43 weeks ago. Offline
Joined: 04/07/2010

I am currently evaluating the mapping engine sdk. I have a few questions about how it works:

Using the SDK, can we pre-load a set of maps (cache) with different types drilling down in detail and is there an example of how to do this?

Basically, we have different map types and would like to be able to display them using the sdk. We believe the sdk is equiped for loading the maps of different types.

As the user is using the map engine and moving from area to area, we would like to use the cached maps, but if the map is not cached, have the engine go back to the server and get the data. Is this possible and is there an example on how to do this?

In order to test these ideas, are there examples for using the sdk in this method? Also, would we need a map server?

Thanks

Eric

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

1. Yes, you can preload maps and have different map sources.
2. Yes, you can combine the maps like you describe. Specific J2ME sample in the SDK package is "hybridmaps". Similar code works in Android and BlackBerry too.
3. If you do not specify any map service, then SDK uses on-line OpenStreetMap tiles. So you do not need own map server just to see map or evaluate the SDK. It is also very easy (and no costs involved) to get started with CloudMade server. This provides custom styles, for example. If you have own maps to be served, then you need server for them, of
course.

/JaakL

erics
User offline. Last seen 1 year 43 weeks ago. Offline
Joined: 04/07/2010

Thanks for the information.

I started to build a test app and I added my

mapComponent = new BasicMapComponent("key", "companyname", "app-name", 1, 1, new WgsPoint(24.764580, 59.437420), 10);

statement with values from the registration. When I attempt to run the app, it gives me a network error running via the emulator in Java Eclipse. Is there any tricks that I need to know about running this in the android emulator? Or can I get better debug info? Log cat does not display an errors.

Thanks

Eric

erics
User offline. Last seen 1 year 43 weeks ago. Offline
Joined: 04/07/2010

Hi,

I finally was able to get the map to display on the emulator. It was the internet permission for my project.

Ok, if I want the map that is currently being display cached off-line, how can this be done using the sdk?

Also will the sdk automatically bring up the cached map first, if so, how do I tell it to do this?

Thanks

Eric

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

For cached map you still need network connection. If the app has to work totally offline, then you should use stored map, and also latest library dev version from nutiteq.com/beta/lib

/JaakL