简体   繁体   中英

Does arcgis Map api supports for cluster locations in UWP windows application?

I have gone through that arcgis map documentation i have an requirement cluster wise displaying my location on map. Does this possible in C# UWP mobile application Please share me code related to this.

The ArcGIS Runtime doesn't support clustering out of the box at this time. You could probably build something yourself using GraphicsOverlays, by grouping features near by each other based on the current MapView.UnitsPerPixel value (ie split the view into 100x100px blocks, calculate how many would fall into each group, then render a graphic in each block that has one or more. Once a zoom is complete (NavigationCompleted event), if the UnitsPerPixel value changed enough beyond some threshold recalculate your clusters.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM