Hello,
Right now i am showing some markers with WebImage on the map.
The structure is like this
protected void CreateMarkerOverlay()
{
SimpleMarkerOverlay markerOverlay = new SimpleMarkerOverlay("Vehicle Markers");
mainMap.CustomOverlays.Add(markerOverlay);
}
/// <summary>
/// getting the marker
/// </summary>
public SimpleMarkerOverlay MarkerOverlay
{
get { return (this.mainMap.CustomOverlays["Vehicle Markers"] as SimpleMarkerOverlay); }
}
///Showing the marker
vehicleMarker = new Marker();
vehicleMarker.Id = Convert.ToString(dsVehicle.Tables[0].Rows[i]["VehicleId"]);
mainMap.MarkerOverlay.Markers.Add(vehicleMarker);
//set marker position and marker image
vehicleMarker.Position = pnt;
vehicleMarker.WebImage = markerImage;
Now, on this created markers, i want the double click event, so from the marker id i can get the "vehicleId" and redirect the user to show its all details in other page.
I have dig the map and found that i can use click event but my client is preffering the double click event. Is there any way by which i can achieve the above functionality by double clicking the marker??
Thanks,
Badal