A
A
Anatoly2016-05-25 00:43:59
Windows phone
Anatoly, 2016-05-25 00:43:59

Windows phone 8.1 how to make map markers not disappear when zoomed in?

When creating a marker on the map, they are shown, but if the inscription, river names, etc. overlap it, then it is hidden so as not to block the view. Does anyone know how to avoid this? I rummaged a lot on the Internet for information, and found a lot of such questions, but I did not find solutions as such.
Everything is created programmatically, I use XAML, but I add the map and labels by hand (this is how it happened historically)

MapIcon mapIcon = new MapIcon();
mapIcon.Image = RandomAccessStreamReference.CreateFromUri(new Uri(point.image));
mapIcon.Location = new Geopoint(new BasicGeoposition()
{
    Latitude = point.coordinates.latitude,
    Longitude = point.coordinates.longitude
});
mapIcon.Title = point.title;
this.MainMap.MapElements.Add(mapIcon);

I'm using a universal app for WP 8.1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question