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: Tue, 17 May 2011 13:21:59
Teema: Nutimap Eesti kaardi asemele
Veel uudiseid »

Map Lib development on Android

Android platform specific topics

When we set Location determined by mobile networks in android settings and use nutiteq api for location, mapComponent will show GPS location determined by mobile networks, which is great. But is it possible to get radius where the phone can be from current location determined by mobile networks. So we can draw fancy circle like on android maps.

Postitaja Nole aeg: 23:10:35

Tuesday, January 03, 2012

How do I implement a custom placemark icon? I have tried specifying a full URL in the KML, as well as using using the defaultIcon constructor argument (as a root URL and a full URL) to KmlUrlReader, none works. I get:

01-03 15:45:53.894: E/Map_Canvas(7351): Error in task runner: null
01-03 15:45:53.910: W/Map_Canvas(7351): java.lang.NullPointerException
01-03 15:45:53.910: W/Map_Canvas(7351): at com.nutiteq.wrappers.Image.getWidth(Unknown Source)
01-03 15:45:53.910: W/Map_Canvas(7351): at com.nutiteq.components.PlaceIcon.(Unknown Source)

Loe veel..
Postitaja csomerlot aeg: 23:48:42

Sunday, January 01, 2012

I want to use DbStoredMap and when I run below code I see red screen.

mapComponent = new BasicMapComponent("tutorial", new AppContext(this),
1, 1, new WgsPoint(26.728878, 58.377959), 13); // Tartu

tileDb = new AndroidMbTilesDatabase(this,
"/sdcard/tartu_osm_mbtiles.db");
tileDb.initialize();

mapComponent.setTileDatabaseSystem(tileDb);

mapComponent.setMap(new DbStoredMap(new StringCopyright(
"OpenStreetMap (MBTiles)")));


Here is a log:


01-01 12:23:29.412: I/ActivityThread(24989): queueIdle

Loe veel..
Postitaja Nole aeg: 14:30:14