Select to view content in your preferred language

Picture marker Symbol in ArcGIS Maps SDK for .Net 200.1.0 Xaml

563
3
08-01-2023 05:09 AM
Labels (2)
VeenaHosur3
New Contributor II

HI 

I am upgrading ArcGIS runtime 10.2.7 to ArcGIS Maps SDK for .NET 200.1.0 . in Xaml <esri:PictureMarkerSymbol /> is there. Any alternative we have use in 200.1.0 runtime 

Tags (3)
3 Replies
dotMorten_esri
Esri Notable Contributor

PictureMarkerSymbol can be created with either a Uri in the constructor or from a stream of bytes.

There's been a slight shift in the API and leaning more towards model objects (like your map definition) to be created in your models or viewmodels, rather than in XAML, and keeping the XAML bit focused on the UI pieces.

0 Kudos
VeenaHosur3
New Contributor II

In the back end assigning image to this xaml tag of mapview resource. so need to get alternative of this

0 Kudos
dotMorten_esri
Esri Notable Contributor

The above two links are how you can create picture marker symbols in v100.x+ . Moving from 10.x releases you're going to have to adapt to some various new patterns. While the feature set is the same (and then some), the way you achieve all the features might be slightly different.

0 Kudos