Get your own customer support community
 

Modest Maps: Top left corner of the map does not match the parent's x and y

SOS :-(

I am using the flex Map object to create a map in a flex 3 application. I created a map canvas for containing the map object. Assume the map canvas is called "mc".The issue is: if the map canvas position within the application (or the whole document) is not (0,0) (suppose for example mc.x=100, mc.y=200), the mouse drag does not work properly. In fact the mouse click within the map is only detected within the area between the top left corner of the map and (mc.width - mc.x, mc.height - mc.y), as if the map top left corner was the top left corner of the application.

Is this due to adding a Sprite object into a UIComponent?

Has any body come across this problem? If so, is there any work around for it?

Please help :-(
 
sad I’m anxious and confused
Inappropriate?
1 person has this question

User_default_medium