MGMaps Lib SDK

MGMaps Lib SDK is open source toolkit to develop mobile mapping applications.
Keywords: MGMaps, OpenStreetmap, J2ME
Read more »
Download »
Buy now »

Latest news

Last at Mon, 5 Jan 2009 19:19:48 +003GMT
Topic: Release 0.8.0
See more news »

Samples of J2ME Mapping Lib SDK

For mobile (OTA) download of demos open URL m.nutiteq.com using your phone's mobile browser. Demo application builds are also included in the library bin package.

Following on-line samples use Java web start, which requires that Java is installed. You can get it from Java homepage
Sources of all examples are included in the MGMaps Lib SDK package, which is downloadable from Lib SDK Developer's page.

Nutiteq J2ME Basic Mapper application

1. Basic Mapper application shows following features:

  • Show splash screen during startup
  • Draw map on Canvas, using OpenStreetMap Mapnik tiles
  • Map zooming and panning
  • Search placenames and POI-s, using OpenStreetMap gazetteer service. Searches are made with condition "near map center".
  • Show animated zoom level indicator during zoom
  • Set custom cursor to map (Menu > Change cursor)
  • Draw markers (places) to map, zoom out to see some
  • Remove selected Places from map (Menu > remove places)
  • Show log messages from library
  • Go to another geographical location (Go to…)
  • Define controls: Zoom in and Zoom out (#, * and softkey selections), and for map panning (numeric keys) for the Map Item
  • Map Component resizing and repositioning on screen
Nutiteq Directions example

2. Directions example shows following additional features:

  • Note: use key 5 to define route start and end points
  • Draw place markers for route endpoints
  • Make on-line request to find route: Cloud Made and Yournavigation APIs can be selected. Both are based on OpenStreetMap data.
  • Show line and turn points on map for the route.
  • Customize line style (width, color)
  • Base map is mobile map from Cloud Made
Nutiteq J2ME Mapping Custom elements example3. Custom elements example:
  • Custom markers for places on map
  • Shows custom style label for marker (move to the cursor to the map center to see the label)
Mobile Mapping Forms J2ME Example

4. Forms example:

  • Create screen Form with Map Item as Custom Item
  • Add a Place to the Form map
  • Define numeric keys for moving on map
  • Note that for map moving you have to focus map item on screen and use numeric keys for map panning, as arrows do not work with Custom Items.

5. Jar maps example:

  • Read maps from application own package (jar file)
  • This application runs completely off-line, on-line connection is not needed
  • Useful for basic custom maps for small areas
Custom KML Map Application  J2ME Example

6. KML Service example:

  • Read placemarks from on-line data source: Panoramio images in KML format
  • Read placemark icons on-line
  • Note that placemark icons are cached by the library
J2ME Polish Mapping application sample

8. Custom application using J2ME Polish:

  • Application has flexibly customizable main menu
  • Object listing using tree element of J2ME Polish
  • Object listing and map markers are linked together
LWUIT Mapping application sample

8. Custom application using LWUIT library:

  • Application has general graphical main menu
  • Embed map to LWUIT's screen
  • Object listing element of LWUIT
  • Object listing and map markers are linked together
Add new comment

Blackberry Demo Application

Hello, I found all your live demo very interesting. I want to know one thing is there any live demo for the BlackBerry too?

Blackberry demo

For Blackberry I suggest to download one beta service made by our customer: http://www.trapster.com . Their Blackberry and Symbian mobile applications are built using MGMaps Lib SDK. It is briefly demod in this video also.

Also library recent package includes basic Blackberry native API (UIApplication) sample, but it is a source code only.