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 :-(
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 :-(
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
Loading Profile...


