×
Namespaces

Variants
Actions
(Difference between revisions)

Maps API support for Nokia devices

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Fix ArticleMetaData)
hamishwillee (Talk | contribs)
m (Hamishwillee - Point projects link to github)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
[[Category:Maps on Windows Phone‎]][[Category:Getting Started on Windows Phone‎]][[Category:Series 40]][[Category:Symbian]][[Category:MeeGo Harmattan]][[Category:HERE Maps for Java ME]][[Category:HERE Maps]]
 
{{ArticleMetaData <!-- v1.2 -->
 
{{ArticleMetaData <!-- v1.2 -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
Line 21: Line 22:
 
|author= [[User:Symbianyucca]]
 
|author= [[User:Symbianyucca]]
 
}}
 
}}
[[Category:Location]]
+
{{SeeAlso|
 +
* [http://developer.here.net/qt Maps API for Qt]
 +
* [http://www.developer.nokia.com/Resources/Library/HERE_Maps_Java_ME/#!index.html HERE Maps API for Java ME Documentation] (Java Developer's Library)
 +
* [http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.maps.controls.map(v&#61;vs.105).aspx Windows Phone Map control]
 +
* [http://developer.here.net/javascript_api Maps API for JavaScript]
 +
* [http://developer.here.net/rest_api REStful Map API]
 +
}}
 +
 
 
Nokia has devices with multiple different Operating systems, and some of the OS’s are having multiple different platform versions, this article is summarizing the Maps API support for different Operating systems and platform versions we have.
 
Nokia has devices with multiple different Operating systems, and some of the OS’s are having multiple different platform versions, this article is summarizing the Maps API support for different Operating systems and platform versions we have.
  
== Meego ==
+
== Windows Phone ==
  
There is only one Nokia Meego device, and as stated in [http://www.developer.nokia.com/Devices/MeeGo/ Develop for the Nokia N9] it supports Qt 4.7.4 and Qt Mobility 1.2, which means that it does have full Qt Maps API support, as well as it also support QtQuick Maps API as well.
+
=== Windows Phone 8 ===
  
Examples for this Qt Location Maps API could be found from [[Qt Maps Examples]] article. And examples for QtQuick Maps examples can be found from [[QtQuick Maps Examples]] article.
+
For Nokia Lumia devices with Windows Phone 8 use the [http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.maps.controls.map(v=vs.105).aspx Map] control included in the SDK (see [http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207045%28v=vs.105%29.aspx Maps and navigation for Windows Phone 8] and [http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207033(v=vs.105).aspx How to add a Map control to a page in Windows Phone 8]). Note that the API is used on all Windows Phone 8 devices (not just Nokia devices) and that this is not the same control as was used with Windows Phone 7.
  
 +
For code examples showing how to use maps on Windows Phone 8 devices see [http://github.com/nokia-developer/maps-samples WP8MapsExamples]. Also see the wiki articles in [[Portal:Windows Phone Location & Maps]].
 +
 +
=== Windows Phone 7 ===
  
== Symbian^3 ==
+
With Nokia Lumia Windows Phone 7 devices use the [http://www.microsoft.com/maps/developers/web.aspx Bing Maps API].  Note that the API is used on all Windows Phone 7 devices (not just Nokia devices).
  
As Symbian^3 with Anna, Bella etc. are supporting Qt 4.7.4 and Qt Mobility 1.2 it supports [http://doc.qt.nokia.com/qtmobility-1.1-tp/qtlocation.html QtLocation Module] with full Qt Maps API support, as well as it also support QtQuick Maps API as well.
+
Examples for using this API can be found in the article [[Maps Examples for Windows phone]] (and in other articles in [[Portal:Windows Phone Location & Maps]]).
  
Examples for this Qt Location Maps API could be found from [[Qt Maps Examples]] article. And examples for QtQuick Maps examples can be found from [[QtQuick Maps Examples]] article.
+
== Series 40 ==
  
And of course there are full support for API supported by 3rd edition S60 devices, such as [http://www.developer.nokia.com/Develop/Maps/Map_Image_API/ Map Image API] and [http://www.developer.nokia.com/Develop/Maps/Maps_API_for_Java_ME/ Maps API for Java ME].
+
With Series 40 devices, you can use [http://developer.here.net/java Maps API for Java ME].]. List of examples for the API is available at [[Examples for Maps API for Java ME]] article, and there are many other wiki articles listed in [[Portal:HERE Maps API for Java ME]].
  
 +
Another option would be to utilize [http://developer.here.net/rest_api RESTful Map API]- though for performance reasons this should only be used for  '''static''' images.  With this API you would use HTTP query to fetch an image from the Map Image API server, which is ideal for thumbnails and so-on.
  
== Symbian 5th edition ==
+
== Meego Harmattan ==
  
As shown in [http://developer.qt.nokia.com/wiki/Support_for_Symbian Qt support for symbian] page Symbian 5th edition is supporting Qt 4.7.3 with Mobility 1.1.3, Which means that it supports [http://doc.qt.nokia.com/qtmobility-1.1-tp/qtlocation.html QtLocation Module] with full Qt Maps API support
+
There is only one Nokia Meego device, and as stated in [http://www.developer.nokia.com/Devices/MeeGo/ Develop for the Nokia N9] it supports Qt 4.7.4 and Qt Mobility 1.2, which means that it does have full Qt Maps API support, as well as it also support QtQuick Maps API as well.
  
Examples for this API could be found from [[Qt Maps Examples]] article.
+
Examples for this Qt Location Maps API could be found from [[Qt Maps Examples]] article. And examples for QtQuick Maps examples can be found from [[QtQuick Maps Examples]] article.
  
Note that as 4.7.3 has Qt Mobility 1.1, and the Qt Mobility 1.2 was included with Qt 4.7.4, the QML Maps API is not working with 5th edition devices as mentioned in [http://doc.qt.nokia.com/qtmobility/qml-location-plugin.html Location QML Plugin] page.
+
== Symbian ==
 +
=== Symbian^3 ===
  
And of course there are full support for API supported by 3rd edition S60 devices, such as [http://www.developer.nokia.com/Develop/Maps/Map_Image_API/ Map Image API] and [http://www.developer.nokia.com/Develop/Maps/Maps_API_for_Java_ME/ Maps API for Java ME].
+
As Symbian^3 with Anna, Bella etc. are supporting Qt 4.7.4 and Qt Mobility 1.2 it supports [http://doc.qt.nokia.com/qtmobility-1.1-tp/qtlocation.html QtLocation Module] with full Qt Maps API support, as well as it also support QtQuick Maps API as well.
  
== Symbian 3rd edition ==
+
Examples for this Qt Location Maps API could be found from [[Qt Maps Examples]] article. Examples for QtQuick Maps examples can be found from [[QtQuick Maps Examples]] article. Other articles and code examples can be found in [[Portal:Nokia Maps API for Qt]].
  
As Symbian 3rd edition only [http://developer.qt.nokia.com/wiki/Support_for_Symbian supports Qt 4.6] there are no Maps APIs with Qt that are supported, anyway with both Qt and Symbian you can use the  [http://www.developer.nokia.com/Develop/Maps/Map_Image_API/ Map Image API].  
+
And of course there are full support for API supported by S60 3rd Edition devices, such as [http://developer.here.net/rest_api RESTful Map API] for '''static''' images and [http://www.developer.nokia.com/Resources/Library/HERE_Maps_Java_ME/#!index.html] for '''interactive''' maps. .
  
With 3rd ed FP2, you could also use this API inside WRT widget, as shown in [[My location example for the RESTful Map API on Symbian Web Runtime app|this example]].
+
=== Symbian 5th edition ===
  
As the Symbia also supported Java you can use the [http://www.developer.nokia.com/Develop/Maps/Maps_API_for_Java_ME/ Maps API for Java ME] API for making Mapps application for it.
+
As shown in [http://developer.qt.nokia.com/wiki/Support_for_Symbian Qt support for symbian] page Symbian 5th edition is supporting Qt 4.7.3 with Mobility 1.1.3, Which means that it supports [http://doc.qt.nokia.com/qtmobility-1.1-tp/qtlocation.html QtLocation Module] with full Qt Maps API support
  
== Series 40 ==
+
Examples for this API could be found from [[Qt Maps Examples]] article.
  
With Series 40 devices, you can use [http://www.developer.nokia.com/Develop/Maps/Maps_API_for_Java_ME/ Maps API for Java ME].
+
Note that as 4.7.3 has Qt Mobility 1.1, and the Qt Mobility 1.2 was included with Qt 4.7.4, the QML Maps API is not working with 5th edition devices as mentioned in [http://doc.qt.nokia.com/qtmobility/qml-location-plugin.html Location QML Plugin] page.
 
+
Currently the API is hosted at [http://projects.developer.nokia.com/LBSPJME/wiki Nokia project site]. List of examples for the API is available at [[Examples for Maps API for Java ME]] article.
+
  
Another option would be to utilize [http://www.developer.nokia.com/Develop/Maps/Map_Image_API/ Map Image API]. With this API you would use HTTP query to fetch an image from the Map Image API server.
+
And of course there are full support for APIs supported by 3rd edition S60 devices, such as [http://developer.here.net/rest_api RESTful Map API] for '''static''' images and [http://www.developer.nokia.com/Resources/Library/HERE_Maps_Java_ME/#!index.html Maps API for Java ME] for '''interactive''' maps.
  
 +
=== Symbian 3rd edition ===
  
== Windows phone 7 ==
+
As Symbian 3rd edition only [http://developer.qt.nokia.com/wiki/Support_for_Symbian supports Qt 4.6] there are no Maps APIs with Qt that are supported, anyway with both Qt and Symbian you can use the  [http://developer.here.net/rest_api RESTful Map API].
  
With Nokia WP7 devices, you would basically use same [http://www.microsoft.com/maps/developers/web.aspx Bing Maps API] as you would use with other WP7 devices from other manufacturers.
+
With 3rd Edition FP2, you could also use this API inside WRT widget, as shown in [[My location example for the RESTful Map API on Symbian Web Runtime app|this example]].
  
Examples for this API could be found from [[Maps Examples for Windows phone]] article.
+
As the Symbian also supported Java you can use the [http://www.developer.nokia.com/Resources/Library/HERE_Maps_Java_ME/#!index.html Maps API for Java ME] API for making Maps application for it.
  
== Web browser support ==
 
  
There is also [http://api.maps.ovi.com/ Ovi Maps API] which is meant to be used with Web browsers, anyway it is not designed to be used with Mobile browsers, thus it should be solely be used for application development targeting non-mobile device‘s Browsers.
+
== Cross-Platform development and Web browser support ==
  
Examples for this API could be found from [[Maps Examples for Ovi Maps API]] article.
+
The APIs described above are the preferred '''native''' solution, when developing for a single mobile platform. For cross-platform development it is usually necessary to consider a '''web-based''' API solution.
 +
For PCs, tablets and cross-platform development for high-end mobile devices, the  [http://developer.here.net/javascript_api Maps API for JavaScript] is the preferred "one-size-fits all" web browser solution.
 +
Please note that due to restricted memory constraints, this API is not the correct choice for S40 phones. For further examples see [[Portal:HERE Maps API for Web]] for wiki articles about this API.

Latest revision as of 08:43, 1 November 2013

SignpostIcon HereMaps 99.png
WP Metro Icon Baby.png
Article Metadata
Compatibility
Platform(s):
Series 40
Symbian
Article
Created: symbianyucca (01 Feb 2012)
Last edited: hamishwillee (01 Nov 2013)

Nokia has devices with multiple different Operating systems, and some of the OS’s are having multiple different platform versions, this article is summarizing the Maps API support for different Operating systems and platform versions we have.

Contents

[edit] Windows Phone

[edit] Windows Phone 8

For Nokia Lumia devices with Windows Phone 8 use the Map control included in the SDK (see Maps and navigation for Windows Phone 8 and How to add a Map control to a page in Windows Phone 8). Note that the API is used on all Windows Phone 8 devices (not just Nokia devices) and that this is not the same control as was used with Windows Phone 7.

For code examples showing how to use maps on Windows Phone 8 devices see WP8MapsExamples. Also see the wiki articles in Portal:Windows Phone Location & Maps.

[edit] Windows Phone 7

With Nokia Lumia Windows Phone 7 devices use the Bing Maps API. Note that the API is used on all Windows Phone 7 devices (not just Nokia devices).

Examples for using this API can be found in the article Maps Examples for Windows phone (and in other articles in Portal:Windows Phone Location & Maps).

[edit] Series 40

With Series 40 devices, you can use Maps API for Java ME.]. List of examples for the API is available at Examples for Maps API for Java ME article, and there are many other wiki articles listed in Portal:HERE Maps API for Java ME.

Another option would be to utilize RESTful Map API- though for performance reasons this should only be used for static images. With this API you would use HTTP query to fetch an image from the Map Image API server, which is ideal for thumbnails and so-on.

[edit] Meego Harmattan

There is only one Nokia Meego device, and as stated in Develop for the Nokia N9 it supports Qt 4.7.4 and Qt Mobility 1.2, which means that it does have full Qt Maps API support, as well as it also support QtQuick Maps API as well.

Examples for this Qt Location Maps API could be found from Qt Maps Examples article. And examples for QtQuick Maps examples can be found from QtQuick Maps Examples article.

[edit] Symbian

[edit] Symbian^3

As Symbian^3 with Anna, Bella etc. are supporting Qt 4.7.4 and Qt Mobility 1.2 it supports QtLocation Module with full Qt Maps API support, as well as it also support QtQuick Maps API as well.

Examples for this Qt Location Maps API could be found from Qt Maps Examples article. Examples for QtQuick Maps examples can be found from QtQuick Maps Examples article. Other articles and code examples can be found in Portal:Nokia Maps API for Qt.

And of course there are full support for API supported by S60 3rd Edition devices, such as RESTful Map API for static images and [1] for interactive maps. .

[edit] Symbian 5th edition

As shown in Qt support for symbian page Symbian 5th edition is supporting Qt 4.7.3 with Mobility 1.1.3, Which means that it supports QtLocation Module with full Qt Maps API support

Examples for this API could be found from Qt Maps Examples article.

Note that as 4.7.3 has Qt Mobility 1.1, and the Qt Mobility 1.2 was included with Qt 4.7.4, the QML Maps API is not working with 5th edition devices as mentioned in Location QML Plugin page.

And of course there are full support for APIs supported by 3rd edition S60 devices, such as RESTful Map API for static images and Maps API for Java ME for interactive maps.

[edit] Symbian 3rd edition

As Symbian 3rd edition only supports Qt 4.6 there are no Maps APIs with Qt that are supported, anyway with both Qt and Symbian you can use the RESTful Map API.

With 3rd Edition FP2, you could also use this API inside WRT widget, as shown in this example.

As the Symbian also supported Java you can use the Maps API for Java ME API for making Maps application for it.


[edit] Cross-Platform development and Web browser support

The APIs described above are the preferred native solution, when developing for a single mobile platform. For cross-platform development it is usually necessary to consider a web-based API solution. For PCs, tablets and cross-platform development for high-end mobile devices, the Maps API for JavaScript is the preferred "one-size-fits all" web browser solution. Please note that due to restricted memory constraints, this API is not the correct choice for S40 phones. For further examples see Portal:HERE Maps API for Web for wiki articles about this API.

This page was last modified on 1 November 2013, at 08:43.
240 page views in the last 30 days.
×