×
Namespaces

Variants
Actions
(Difference between revisions)

QtQuick Maps Examples

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Text replace - "Category:MeeGo" to "Category:MeeGo Harmattan")
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Add ArticleMetaData)
Line 1: Line 1:
 +
{{ArticleMetaData <!-- v1.2 -->
 +
|sourcecode= [[Media:QML SimpleMap.zip]]
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) -->
 +
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 +
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20110907
 +
|author= [[User:Symbianyucca]]
 +
}}
 
[[Category:Qt Quick]][[Category:Code Examples]][[Category:Qt Mobility]][[Category:Nokia Maps]]
 
[[Category:Qt Quick]][[Category:Code Examples]][[Category:Qt Mobility]][[Category:Nokia Maps]]
 
These examples are built QtSDK 1.1.3 and are using QtQuick 1.1 and Qt mobility 1.2. Some examples may not work due to the bugs. You may look into the bug report for the available fix. And in general the work for these examples are under processing.
 
These examples are built QtSDK 1.1.3 and are using QtQuick 1.1 and Qt mobility 1.2. Some examples may not work due to the bugs. You may look into the bug report for the available fix. And in general the work for these examples are under processing.
Line 11: Line 33:
 
This is a simple map without any additional code. It simply showing a map without interaction possibilities.
 
This is a simple map without any additional code. It simply showing a map without interaction possibilities.
 
   
 
   
The example is available at [[Media:QML_helloMap.zip‎ | QML_helloMap.zip‎]]
+
The example is available at [[Media:QML helloMap.zip‎ | QML helloMap.zip‎]]
 
   
 
   
 
= Simple map =  
 
= Simple map =  
Line 17: Line 39:
 
Hello world map example which has simple panning included in it.
 
Hello world map example which has simple panning included in it.
 
   
 
   
The example available at [[Media:QML_SimpleMap.zip|QML SimpleMap.zip‎]]
+
The example available at [[Media:QML SimpleMap.zip|QML SimpleMap.zip‎]]
 
   
 
   
 
= Simple map 2 =
 
= Simple map 2 =
Line 23: Line 45:
 
This is a simple map example added with kinetic panning. The kinetic panning is implemented with C++ Qt code.
 
This is a simple map example added with kinetic panning. The kinetic panning is implemented with C++ Qt code.
 
   
 
   
The example is available at [[Media:QML_SimpleMap2.zip | QML_SimpleMap2.zip‎]]
+
The example is available at [[Media:QML SimpleMap2.zip | QML SimpleMap2.zip‎]]
 
   
 
   
 
= Simple map 3 =
 
= Simple map 3 =
Line 30: Line 52:
 
   
 
   
  
The example is available at [[Media:QML_SimpleMap3.zip | QML_SimpleMap3.zip‎]]
+
The example is available at [[Media:QML SimpleMap3.zip | QML SimpleMap3.zip‎]]
 
   
 
   
 
= MapInteraction =  
 
= MapInteraction =  
Line 36: Line 58:
 
This example shows how to zoom the map, changing map type, moving to coordinates and getting current coordinate from the map.
 
This example shows how to zoom the map, changing map type, moving to coordinates and getting current coordinate from the map.
 
   
 
   
The example is available at [[Media:QML_MapInteraction.zip | QML_MapInteraction.zip]]
+
The example is available at [[Media:QML MapInteraction.zip | QML MapInteraction.zip]]
 
   
 
   
 
= SimpleMapContent =
 
= SimpleMapContent =
Line 42: Line 64:
 
This example shows adding & removing markers, polyline & polygon. Toggling visibility, using z-ordering and zooming to map objects  
 
This example shows adding & removing markers, polyline & polygon. Toggling visibility, using z-ordering and zooming to map objects  
 
   
 
   
The example is available at [[Media:QML_SimpleMapContent.zip | QML_SimpleMapContent.zip‎]]
+
The example is available at [[Media:QML SimpleMapContent.zip | QML SimpleMapContent.zip‎]]
 
   
 
   
 
= MoreMapContent =  
 
= MoreMapContent =  
Line 48: Line 70:
 
This example shows how to handle circle, rectangle & text map objects with the map.
 
This example shows how to handle circle, rectangle & text map objects with the map.
 
   
 
   
The example is available at [[Media:QML_MoreMapContent.zip | QML_MoreMapContent.zip‎]]
+
The example is available at [[Media:QML MoreMapContent.zip | QML MoreMapContent.zip‎]]
  
 
= Map Markers =  
 
= Map Markers =  
Line 55: Line 77:
  
  
The example is available at [[Media:QML_MapMarker.zip | QML_MapMarker.zip]]
+
The example is available at [[Media:QML MapMarker.zip | QML MapMarker.zip]]
  
 
= Dynamic Polyline =  
 
= Dynamic Polyline =  
Line 61: Line 83:
 
Simple example illustrating dynamic modifications of polyline as well as dynamic content handling with QML Maps API.
 
Simple example illustrating dynamic modifications of polyline as well as dynamic content handling with QML Maps API.
 
    
 
    
The example is available at [[Media:QML_DynamicPolyline.zip | QML_DynamicPolyline.zip]]
+
The example is available at [[Media:QML DynamicPolyline.zip | QML DynamicPolyline.zip]]
  
 
= Dynamic Circles =  
 
= Dynamic Circles =  
Line 67: Line 89:
 
Simple example illustrating usage of clickable draggable circle objects with QML Maps API.
 
Simple example illustrating usage of clickable draggable circle objects with QML Maps API.
 
    
 
    
The example is available at [[Media:QML_DynamicCircles.zip | QML_DynamicCircles.zip]]
+
The example is available at [[Media:QML DynamicCircles.zip | QML DynamicCircles.zip]]
  
 
= Dynamic Rectangles =  
 
= Dynamic Rectangles =  
Line 73: Line 95:
 
Simple example illustrating usage of clickable resizable rectangle object with QML Maps API.
 
Simple example illustrating usage of clickable resizable rectangle object with QML Maps API.
 
      
 
      
The example is available at [[Media:QML_DynamicRectangle.zip | QML_DynamicRectangle.zip]]
+
The example is available at [[Media:QML DynamicRectangle.zip | QML DynamicRectangle.zip]]
  
 
= MyLocationMap =
 
= MyLocationMap =
Line 79: Line 101:
 
This example shows how to get GPS location with the map.
 
This example shows how to get GPS location with the map.
 
   
 
   
The example is available at [[Media:QML_MyLocationMap.zip | QML_MyLocationMap.zip]][[Category:MeeGo Harmattan]] [[Category:Symbian]]
+
The example is available at [[Media:QML MyLocationMap.zip | QML MyLocationMap.zip]][[Category:MeeGo Harmattan]] [[Category:Symbian]]

Revision as of 07:20, 25 July 2012

Article Metadata
Code ExampleCompatibility
Platform(s):
Symbian
Article
Created: symbianyucca (07 Sep 2011)
Last edited: hamishwillee (25 Jul 2012)

These examples are built QtSDK 1.1.3 and are using QtQuick 1.1 and Qt mobility 1.2. Some examples may not work due to the bugs. You may look into the bug report for the available fix. And in general the work for these examples are under processing.

Similar examples for Qt Maps (Non-QtQuick) can be found from Qt Maps Examples wiki article

Similar examples for Windows Phone, using Bing maps, can be found from the Maps Examples for Windows phone wiki article


Contents

HelloMap

This is a simple map without any additional code. It simply showing a map without interaction possibilities.

The example is available at QML helloMap.zip‎

Simple map

Hello world map example which has simple panning included in it.

The example available at QML SimpleMap.zip‎

Simple map 2

This is a simple map example added with kinetic panning. The kinetic panning is implemented with C++ Qt code.

The example is available at QML SimpleMap2.zip‎

Simple map 3

This is a simple map example with kinetic panning and pinch zooming. The kinetic panning is implemented with C++ Qt code.


The example is available at QML SimpleMap3.zip‎

MapInteraction

This example shows how to zoom the map, changing map type, moving to coordinates and getting current coordinate from the map.

The example is available at QML MapInteraction.zip

SimpleMapContent

This example shows adding & removing markers, polyline & polygon. Toggling visibility, using z-ordering and zooming to map objects

The example is available at QML SimpleMapContent.zip‎

MoreMapContent

This example shows how to handle circle, rectangle & text map objects with the map.

The example is available at QML MoreMapContent.zip‎

Map Markers

Simple example illustrating usage of clickable and draggable markers with QML maps API.


The example is available at QML MapMarker.zip

Dynamic Polyline

Simple example illustrating dynamic modifications of polyline as well as dynamic content handling with QML Maps API.

The example is available at QML DynamicPolyline.zip

Dynamic Circles

Simple example illustrating usage of clickable draggable circle objects with QML Maps API.

The example is available at QML DynamicCircles.zip

Dynamic Rectangles

Simple example illustrating usage of clickable resizable rectangle object with QML Maps API.

The example is available at QML DynamicRectangle.zip

MyLocationMap

This example shows how to get GPS location with the map.

The example is available at QML MyLocationMap.zip

298 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×