Custom Marker

Mar 10, 2009 at 8:58 AM
I have created a custom marker class to handle the drawing.  I can draw a text string at the local position and as the map moves the marker is drawn correctly.
I now draw a FillRectangle in the OnRender event  at  LocalPosition.X, LocalPosition.Y,  LocalPosition.X + 10, LocalPosition.Y + 5.  This draws the rectangle
correctly, but when the map is dragged, the rectangle stretches  ?  the top left corner is recalculated properly, but the bottom right changes with the map drag.
i dont understand why this is happening ?
Mar 10, 2009 at 12:46 PM
check new version, i added rectangle demo marker