Get your own customer support community
 

my all earlier questions made clear... plz help

let me make things clear. after lot of debugging and tracing i found my actual problem.
i get a location point using

locPoint = map.locationPoint(myLocation,polySprite);
trace(locPoint.x+","+locPoint.y); ///output(300,200)

now i pan the map either by dragging or using panTo() function so that marker in myLocation moves to new position in the screen. then i repeat the code by adding it in function "onMapStopPan(event:MapEvent):void" which is called when the map gets a stop panning event.

locPoint = map.locationPoint(myLocation,polySprite);
trace(locPoint.x+","+locPoint.y); ///again output(300,200)

shouldn't new locPoint.x and locPoint.y change.

i want updated points so that i accordingly pan my map and stop it from panning. am i doin something wrong in the code or my whole approach is wrong. please help me (with code if possible)

i know i have filled up ur space with similar type of questions. sorry for that but a reply to this questions should solve all my earlier posts.

please help....
 
sad I’m frustrated
Inappropriate?
1 person has this question

User_default_medium