×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:How to implement a Relative Map using GPS in Flash Lite 3.0

From Nokia Developer Wiki
Jump to: navigation, search
cristovaodoj (Talk | contribs)
(Created page with 'Category:Flash Lite[[Category:[[Category:S60]]]]Category:Location Based Services A Relative Map is known as a in-scale map according with the distance in the re…')
 
cristovaodoj (Talk | contribs)
Line 8: Line 8:
 
===1. Frames Design===
 
===1. Frames Design===
  
==1.1== - For starts you must create a new mobile project and select Flash Lite 3.0 and ActionScript 2.0 as player version and ActionScript version, respectively.
+
1.1 - For starts you must create a new mobile project and select Flash Lite 3.0 and ActionScript 2.0 as player version and ActionScript version, respectively.
==1.2== - Insert 4 (four) KeyFrames as in the order shown below:
+
1.2 - Insert 4 (four) KeyFrames as in the order shown below:
  
Frame 1:
+
Frame 1:
[[File:Screen_1.bmp | 150 px | center]]
+
[[File:Screen_1.bmp|150 px|center]]

Revision as of 04:21, 5 March 2010

[[Category:]]


       A Relative Map is known as a in-scale map according with the distance in the real world.

For example: You retrieve your current coordinates by GPS and, after that, move 100 meters ahead and then you want to know the pixel distance on the mobile phone's screen regarding with the scale you chose. Would be better show where you are in the Relative Map in agreement with your moviments. Well, I'll explain step-by-step how to do it from, implement the geometric functions to calculate the relation between the real world distance and the relative distance to retrieve asynchronously GPS location informations.

1. Frames Design

1.1 - For starts you must create a new mobile project and select Flash Lite 3.0 and ActionScript 2.0 as player version and ActionScript version, respectively. 1.2 - Insert 4 (four) KeyFrames as in the order shown below:

Frame 1:

86 page views in the last 30 days.