Hi,,
i have a problem, that i can able to place a pushpins in my may with using information layer, and now i want to categorized 2 types.
1, Area - (have many place, and have to show one image(pushpin, or balloon)
2. place -(With in the area, and there should be many pushpins)
now, i showing pushpins in my map, and now when the data load the pushpin will show on the appropriated location, and now i want to change the push pin when the map ll get zoom into the limited zoom level, show when i enter the zoomlevel, the pushpins should change. i have try mouse left button clicked event, for while mouse clicking it should change the flag there.
Location location = new Location(Convert.ToDouble(listitem.Latitude), Convert.ToDouble(listitem.Longitude));
if (radMap1.ZoomLevel == 11)
{
MapPinPoint pinPoint = new MapPinPoint()
{
ImageSource = new BitmapImage(new Uri("../images/AreaPinpoint.png", UriKind.Relative))
};
MapLayer.SetLocation(pinPoint, location);
this.informationLayer.Items.Add(pinPoint);
}
so is this right method , let me know, as soon as possible,
Thank you
i have a problem, that i can able to place a pushpins in my may with using information layer, and now i want to categorized 2 types.
1, Area - (have many place, and have to show one image(pushpin, or balloon)
2. place -(With in the area, and there should be many pushpins)
now, i showing pushpins in my map, and now when the data load the pushpin will show on the appropriated location, and now i want to change the push pin when the map ll get zoom into the limited zoom level, show when i enter the zoomlevel, the pushpins should change. i have try mouse left button clicked event, for while mouse clicking it should change the flag there.
Location location = new Location(Convert.ToDouble(listitem.Latitude), Convert.ToDouble(listitem.Longitude));
if (radMap1.ZoomLevel == 11)
{
MapPinPoint pinPoint = new MapPinPoint()
{
ImageSource = new BitmapImage(new Uri("../images/AreaPinpoint.png", UriKind.Relative))
};
MapLayer.SetLocation(pinPoint, location);
this.informationLayer.Items.Add(pinPoint);
}
so is this right method , let me know, as soon as possible,
Thank you