public void DrawonMap(double localLat, double localLon)
{
try
{
mapItemStorage1.Items.RemoveAt(0);
}
catch
{
}
#region #MapCustomElementExample
var customElement = new MapCustomElement()
{
Location = new GeoPoint(localLat,localLon)
};
var image = new Bitmap(imageFilePath);
customElement.Image = new Bitmap(image, new Size(40, 40));
mapItemStorage1.Items.Add(customElement);
#endregion #MapCustomElementExample
}
whereas variable latitude and longitude are used to store data from my GPS. But on the map layer, i there s no image displayed.
i would appreciate if anybody could help