-
ANR when adding GraphicsOverlays with large graphic counts
Hello, our app loads user-submitted map features onto a map. Each feature has a geometry type (point, line, polygon) and a color. We group features into GraphicsOverlay objects by (type, color) pair — so a dataset with 3 geometry types × 5 colors produces at most 15 overlays, each containing N graphics. In production we…
-
ServiceFeatureTable.populateFromService silently returns 0 features when returnGeometry=false + spatial filter
Summary In FeatureRequestMode.ManualCache, ServiceFeatureTable.populateFromService(...) with a spatial predicate (geometry + spatialRelationship) silently drops every server-returned feature when returnGeometry = false. The SDK appears to re-apply the spatial filter locally against the just-cached rows; those rows carry…
-
“ArcGIS Maps SDKs for Native Apps License Strings” card is not visible
Dear @Shubham_Sharma I am having trouble retrieving a license key because, with version 300.0 of the SDK, it has moved from the ArcGIS Location Platform to My Esri. I just wanted to give you an update on this. The keys are under Profile & Settings, not under the Organization Profile in the My Esri Dashboard. Thank you
-
Newer versions in in the gradle/libs.versions.toml file
Hello, the documentation Install and set up | ArcGIS Maps SDK for Kotlin | Esri Developer lists the following versions: agp = "8.12.1" kotlin = "2.2.10" coreKtx = "1.17.0" May I use the most recent versions, below, with arcgisMapsKotlin = "300.0.0"? agp = "9.2.0" coreKtx = "1.18.0" junit = "4.13.2" junitVersion = "1.3.0"…
-
Change Selection FeatureLayer Color Kotlin 200.8.1
Hi, I'd like to set two selection colors in my map (one for one FeatureLayer type and one for another). The documentation says this is deprecated: but it's still possible. However, I can't figure out how to interact with the featurelayer to change the selection color. Could you please help?
-
World Traffic Service failed to render due to Authentication issue.
Hi There, We are using Kotlin Maps SDK (version : 200.8.0) in our Android App to display maps. Our QA backend release new URL to display traffic heat layer. URL : https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer Whenever app tries to load traffic layer using this url the SDK throws following error.…
-
Combining offline and online maps
I want to combine both offline and online mapping. Right now I'm trying to create a `Basemap` from an offline map I load from storage and including an online map on top. The justification for this is so when a user initially goes to the map they immediately see a map which is of a reduced quality, but then the online map…
-
Custom drawing order for FeatureLayers
Hello, Is there a way to control the drawing order for features within a FeatureLayer based on one of its attributes? On the JS SDK, FeatureLayer has orderBy, but this does not seem to exist in the Swift or Kotlin SDK. Is modifying this possible in the native SDK's?
-
LocationDisplay with 200.x and Samsung S24
Dear Esri, We are seeing an issue using the Kotlin SDK (currently at 200.8.0) on Samsung S24 phones where the map jumps around while on LocationDisplayAutoPanMode.Recenter (see the attached video). It might be on other phone models as well, but that model is confirmed. Do you have any tips on what we could try to resolve…
-
ImageServiceRaster should support format similar to ImageryLayer
# Context We use `ImageServiceRaster` with `RasterLayer` along with the MosaicRule # Issue There is no way to provide `format` parameter which leads to ImageServer request with "lerc" format, which causes transparency issues. The request path & query is smth like: /ImageServer/exportImage?format=lerc&... # Request Provide…
-
MapView is disposed way too long with a lot of Graphic in certain conditions
# Context We use `GraphicsOverlay` with a lot of graphic items (~10k). # Issue When the `MapView` is destroyed right after the graphic items are added (e.g. within 5-10 secs) the `MapView` disposes for 2-5 seconds, which causes ANR . Instead if we wait for 5-10 secs right after adding the graphics and only then try to…
-
PictureMarkerSymbol: Support for animated images (gif or apng)
Hi, are there any plans to add support for animated gifs or pngs for PictureMarkerSymbol anytime soon? https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.mapping.symbology/-picture-marker-symbol/index.html Animated GIF is not supported. Are there other alternatives?
-
ANR/Crash in Geometry Editor insertVertex during Location Updates
Hi Community, 👋 We're experiencing an ANR and subsequent crash in our Android app, which appears to be triggered by a call to the geometry editor function insertVertex when we try to add a point during live location updates. In our use case, users could be driving, and their location is updated every 3 meters. Since we…
-
Downloaded mmpk or tpkx tiles combined with online map
I want the user to be able to save their own area of the map and show it with the online map. At the moment I add the offline tiles as a layer to the map and it works, but this causes the online map to download the same tiles underneath the offline layer. Now is there a way to combine the downloaded offline map tiles with…
-
How to statistic vector area from a local featureLayer in Kotlin SDK
I am developing an Android application using the ArcGIS Maps SDK for Kotlin (version 200.6).I'm currently using StatisticsQueryParameters to perform statistics on other attribute fields in the FeatureTable, and it works well. Now I need to statistic vector area. val statisticDefinition = StatisticDefinition( areaFieldName,…
-
Kotlin Maps - Android Network Routing
Is there a way to override network information or network routing for map tile downloading and other services that is automatically using data when the map is loaded and other interactions than the default route ?
-
Kotlin SDK how to load GeoJSON file
I am developing an Android application using the ArcGIS Maps SDK for Kotlin (version 200.x) and I'm trying to load and display a GeoJSON file from local device storage. I found the FeatureCollection.fromJsonOrNull to try to load the file.But it cannot be analyzed correctly. fun loadGeoJSONFromContentUri(context:Context,…
-
problem with displaying vector and tiles layers
val webTiledLayer = WebTiledLayer.create(urlTemplate = "https://geoportal.ancpi.ro/maps/rest/services/Ortofoto/Mozaic_vt/MapServer/tile/tile/{level}/{row}/{col}?blankTile=false") val vectorTileLayer = ArcGISVectorTiledLayer("https://geoportal.ancpi.ro/hosted_services/rest/services/Hosted/imobile_cladiri/VectorTileServer")…
-
Kotlin SDK Scene grid support support
Hi Esri Community, I'm using the ArcGIS Maps SDK for Kotlin (v200.8) with the Composable SceneView from the Toolkit. The MapView Composable has a grid parameter for displaying coordinate grids, but the SceneView Composable doesn't seem to have this parameter. // MapView - Has grid parameter ✅ MapView( grid = if…
-
Unsupported element type exception in FeatureCollectionTable after SDK update
Hi community 👋 After updating to the latest version of the ArcGIS Maps SDK, we started experiencing a runtime error when trying to construct a FeatureCollectionTable using the following constructor: FeatureCollectionTable(geoElements, fields) This throws the following exception: Unsupported element type After…
-
Tile reload fails in CustomTiledLayer
I'm displaying a CustomTiledLayer. When the internet connection is poor, some map tiles fail to load, and blurred tiles are shown instead. Ideally, these tiles should reload once the connection improves, but this doesn't happen. Is there a workaround to ensure that tiles always reload when the connection stabilizes, or is…
-
Simulate AutoPanMode.Navigation while not navigating
We use LocationDisplayAutoPanMode.Navigation while we show navigation directions to a destination and it works fine. Once reached there, the driver has the option to remain centered on the truck or free scroll the map. The problem with AutoPan.Navigation while not navigating is that the maps spins North if the truck is…
-
Problems utilising app authentication in Kotlin
I've been following instructions here: https://developers.arcgis.com/documentation/security-and-authentication/app-authentication/ I have a web server which has a client ID and secret using OAuth to generate a token. This token gets downloaded to an Android client which I intend to use for ArcGIS mapping. I will handle…
-
How to set a proxy on the ArcGISHTTPClient
I want all ArcGIS Kotlin SDK traffic to go through a proxy. I would expect to set this through the HTTP client, but the ArcGISHTTPClient doesn't expose any such methods. I had a look at the network request interception…
-
Set viewpoint rotation without animation
On the MapView there is the setViewPointRotation function. This function animates the rotation of the viewpoint. Is there a way to rotate the viewpoint without an animation or do you plan to introduce a method to do this? Cheers.