-1
빙지도에 문제가 있습니다. 맞춤 핀 (이미지)을지도에 넣고 싶지만 모든 핀이 보이지는 않습니다. 핀이빙지도, 맞춤 핀이 사라짐
을 사라지게하는 줌이 내 코드입니다 :
foreach (Stores store in boltok)
{
var myPosition = new Windows.Devices.Geolocation.BasicGeoposition();
myPosition.Latitude = store.Latitude;
myPosition.Longitude = store.Longitude;
var myStorePoint = new Windows.Devices.Geolocation.Geopoint(myPosition);
MapIcon icon = new MapIcon();
icon.Location = new Geopoint(new BasicGeoposition()
{
Latitude = store.Latitude,
Longitude = store.Longitude
});
icon.Visible = true;
icon.ZIndex = 0;
icon.Image = RandomAccessStreamReference.CreateFromUri(new Uri("ms-appx:///Assets/StoreFinder/Pin.png"));
icon.NormalizedAnchorPoint = new Point(0.5, 1.0);
myMapControl.MapElements.Add(icon);
myMapControl.Children.Add(icon);
}
제발 도와주세요!