Legends

7/11/2014 6:19:36 AM
Total Posts 28

Re: Legends

k...just tell me how to add image at specific position on map

7/11/2014 6:28:20 AM
MVP
Total Posts 323

Re: Legends

MarkerSymbol symbol = new MarkerSymbol("symbols/vehicle.gif", 20, 20, 10, 10);
AspMap.Point point = new AspMap.Point(2.35099, 48.85676); // longitude, latitude
Marker marker = new Marker(point, symbol, "Vehicle");
map.Markers.Add(marker);

or

symbol = new AspMap.Symbol();
symbol.PointStyle = PointStyle.Bitmap;
symbol.Bitmap = MapPath("symbols/vehicle.gif");
symbol.Size = 20;
map.DrawPoint(2.35099, 48.85676, symbol);

or

mapShape = map.MapShapes.Add(new AspMap.Point(2.35099, 48.85676), "text")
mapShape.Symbol.PointStyle = PointStyle.Bitmap;
mapShape.Symbol.Bitmap = MapPath("symbols/vehicle.gif");
mapShape.Symbol.Size = 20;

Hope this helps.
 

7/14/2014 12:42:58 AM
Total Posts 28

Re: Legends

Thanx bro..:)

nd sorry fr delay response