Markers Zooming
Hello y'all!
I would like to use markers, which do zoom and change their size. This is because I use interactive buildings on the map - therefore the buildings should scale exactly like the map does.
I probably have to change code in com.medestmaps.core.MarkerSet.as. Can anyone help me with this? Thank you very much for any help!
I would like to use markers, which do zoom and change their size. This is because I use interactive buildings on the map - therefore the buildings should scale exactly like the map does.
I probably have to change code in com.medestmaps.core.MarkerSet.as. Can anyone help me with this? Thank you very much for any help!
3
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Which version of the API are you using? as2 or as3?
-
Inappropriate?as3
-
Inappropriate?Interesting... just brainstorming here a bit until the official folks write back. Basically you need to figure out the pixel/degree ratio based on the map extents, or perhaps easier the pixel/map zoom ratio. So if you know what pixel size you want your marker to be at a certain map zoom level, then you can adjust it based on the current map zoom level.
Perhaps using the map extents would be more precise?
In either case, when creating your markers, you would need to have a way of notifying them the map extents/zoom has changed so they can figure out how big they need to be. I hope that makes sense! :-) -
Inappropriate?You can do everything ...
I give you my sample :
i plot some boat on map. I take the boat length and use a pixel ratio (calculated with Distance tools : check the scalebar component in modestmap)
in order to change pixel height of boats ...
I’m silly
Loading Profile...



EMPLOYEE

