You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to set custom marker icon and it works OK: marker.Icon = new Icon { Url = "/markers/marker_13.png" };
But then I want to set it's size or Anchor and it disappears from map: marker.Icon = new Icon { Url = "/markers/marker_13.png", Size = new System.Drawing.Size(32, 32) };
Hi.
I want to set custom marker icon and it works OK:
marker.Icon = new Icon { Url = "/markers/marker_13.png" };
But then I want to set it's size or Anchor and it disappears from map:
marker.Icon = new Icon { Url = "/markers/marker_13.png", Size = new System.Drawing.Size(32, 32) };
How to set size or anchor of custom marker icon?
Full code below:
The text was updated successfully, but these errors were encountered: