Select to view content in your preferred language

Drawing Graphics/Images that scales with the map zoom in and zoom out

152
2
3 weeks ago
Labels (1)
ABMRokonuzzaman
New Contributor

Hi,

I am trying to draw fairly large number of symbol/graphics/images, each on specific coordinates on a fully offline map (I am using mobile map package for this), where the graphics/images need to scale with the map zoom in and zoom out. I am interested see if this can be achieved using the sdk functionalities available within the Lite license.

I can add raster images in the graphics overlay of the map viewer, but the scaling doesn't work. Adding raster images to the operational layers of the map, will throw errors, as raster file are not supported with Lite license. I have the svg files and also the equivalent vector geometries in xaml code, but I found no way to use those in the operation layers of the Map.

Eventually, I need to display few thousands geometries (or alternatively images, either raster or svg) on the map. What would be the best option to achieve this requirement while still using the Lite license ? Also, potential performance degradation is a concern, with this many graphics/images added.

Please advise the best possible way.

Thank you for your support.

Regards,
ABM Rokonuzzaman

0 Kudos
2 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

GraphicsOverlay has property ScaleSymbols. Scale symbols only affects display in a Esri.ArcGISRuntime.UI.Controls.MapView. The symbols and labels will be displayed at fixed screen size in a Esri.ArcGISRuntime.UI.Controls.SceneView.

0 Kudos
dotMorten_esri
Esri Notable Contributor

To display raster images that are georeferenced, you will need the raster layer to do this, which as you've found requires at least the standard level license. Graphics overlays are not meant for this sort of thing and won't do what it sounds like you need. SVG isn't supported.

0 Kudos