|
POST
|
Hello. Thanks for the question. This is expected behavior. Loadable is all about metadata, not object state. The Portal's metadata is loaded once from the actual ArcGIS Online or ArcGIS Enterprise portal, and that doesn't change just because you revoke the credentials that provide access to it. There's some great info here about how the Loadable pattern works, and you can see that once a Loadable object reaches loaded state, it'll stay there. Calling load() on a loaded object is essentially a no-op. When you first call load() on the portal, it needs to load metadata about that portal as mentioned above, and since most (all?) of that metadata requires authentication to read, you see the authentication prompt and caching of credentials. I would create a new indentical Portal object and load that. Hope that helps!
... View more
05-22-2024
08:22 AM
|
0
|
0
|
751
|
|
POST
|
Thanks for that additional info. Yeah. Something is causing the SDK to wait for a while when removing a vector tile layer. iOS doesn't tolerate that happening on the main thread (which makes the app unresponsive), and so is terminating the app. A couple of questions: Which version of the SDK are you on? Are you able to reproduce this yourself? If so, can you share a simple reproducer?
... View more
05-20-2024
02:36 PM
|
0
|
3
|
1892
|
|
POST
|
At first glance it looks like the user is setting a map on the MapView when the MapView already has a map on it (i.e. replace the MapView's map). As part of tearing down the old map, it seems that we're disconnecting from a vector tile service and waiting for it to disconnect in some way. That shouldn't be happening on the main thread (I'm sure we should never call thread.sleep (see frame 3) on the main thread). Presumably setting the map is done as the result of a user action (e.g. tapping a button), but to help dig in: are there more frames after frame 14 in the crash (frames 15 and higher)?
... View more
05-20-2024
01:22 PM
|
0
|
5
|
1927
|
|
POST
|
@NIANXI39If this is still happening, please contact customer service. You should be able to copy and paste your Lite license key from that bit of the web page that you took a screenshot of.
... View more
05-17-2024
10:58 AM
|
0
|
0
|
1314
|
|
POST
|
Not sure why, but remove the default key has resolved the issue If you set a default API Key, it will be used for all requests so even if you configure OAuth, the OAuth/Authentication Manager workflows won't be kicked off. By no longer setting it, the SDK will interrogate services and any auth config you've set up and use that info to manage authentication. If you need API Keys for specific services, you can still set them directly on those SDK objects (just not globally) and use a mix of API Key and OAuth authentication.
... View more
05-07-2024
09:19 AM
|
1
|
0
|
1573
|
|
POST
|
Hello, HTTP caching, while useful for reducing duplicate requests for the same data as you pan and zoom around the map, and for improving performance for the end user, is not designed to take a map offline. It's not that we prevent that from working, but there is a lot of metadata beyond just the raw map content that needs to be cached and returned by the underlying HTTP stack, and you're at the mercy of how the caching works on a particular platform (with the Kotlin SDK, it's OkHttp). Being able to do this is something that's on our radar, but it's a way off yet. The recommended and supported process for taking maps offline is to proactively download them using the OfflineMapTask API. This is a much more deliberate process; web map and data service configuration is required to enable this behavior, and the application needs to expressly make use of APIs to download the map. You can learn more here. Hope this helps!
... View more
05-02-2024
09:04 AM
|
1
|
0
|
707
|
|
IDEA
|
04-22-2024
07:06 PM
|
0
|
0
|
923
|
|
IDEA
|
We've released the first public beta of the ArcGIS Maps SDK for Flutter. You can read about it here, and join the beta here. Thanks for all your interest to this point. Please join the beta, give it a whirl, and give us your feedback in the beta forums to help us deliver the best mapping and location SDK for Flutter there is.
... View more
04-22-2024
07:51 AM
|
0
|
0
|
619
|
|
POST
|
Yesterday we released the first beta of the ArcGIS Maps SDK for Flutter, targeting iOS and Android. If you haven't already done so, please jump on over to the early adopter site and sign up! See this blog post for more details.
... View more
04-18-2024
02:32 PM
|
0
|
0
|
4427
|
|
POST
|
This article should help. It will be on your portal item settings for the vector tile layer: https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-tile-layers.htm#ESRI_SECTION1_0561B66EE826482297DDE002A94048B0
... View more
04-02-2024
11:48 AM
|
1
|
1
|
2148
|
|
IDEA
|
Thanks for the question, @kris. There are a few more broad-ranging things to consider here: If a layer's opacity is set to zero, then set back to something non-zero, what is the expected behavior? Imagine an app wants to temporarily hide a few layers to help the user focus on a particular operation or workflow. Should the data (or metadata) be unloaded and then reloaded every time? This could be a poor user experience (especially if the network is slow, or the user is paying for bandwidth). Instead you would opt in to that experience by removing the layer and deallocating it. That is, by design, different to merely making the layer invisible and then visible, and gives developers a good set of options. Opacity is a visual property. The layer still participates in the map's layer collection. This has impacts on a number of things (table of contents, loaded metadata, related layers/tables, and so forth). The only way opacity 0 might impact a layer is that it will not be considered during identity (which is a visual/interaction based operation). In addition, layers have a Visible property. They also potentially have visible scale ranges. Both of those control whether a layer is visible in the map and can impact its state in a table of contents/legend, but if a layer is out of visible range it should remain in that ToC, just displayed differently. There's potential that we could do a better job of considering the Visible property in helping us prioritize removing data from in-memory cache under memory pressure, but even then we wouldn't unload the metadata, and it would be in response to cache pressure heuristics. Hopefully that helps explain why just setting opacity to 0 doesn't really signify that a layer can be deallocated. Instead, the recommended approach would be to remove the layer from the Map's layers collection and deallocating it. You'd need to keep track of where in the current layer stack to re-insert if when the user wants to see it again, but we believe that is the best balance when considering the broader picture of layers in a map.
... View more
03-07-2024
09:01 AM
|
0
|
0
|
1356
|
|
POST
|
Excellent. That's great to hear. Thanks for confirming. Seems strange to me that the Pro tool should create one layer per row. Perhaps the issue is with how the CSV file is being parsed. Either way, glad you've got a working solution!
... View more
01-08-2024
09:34 AM
|
1
|
0
|
2389
|
|
POST
|
Hello. That's correct: non-Esri proprietary layer sources such as local rasters require a Standard license. This is true whether delivered as standalone files (e.g. .geotiff), or packaged up through a format such as Mobile Map Packages or Mobile Scene Packages. That information is included here, but I will see if we can be more explicit about that. For the layers that did not display, you should be able to look at the loadError on that layer to understand why. Related: where a layer can load OK but subsequently fails to draw for some other reason (e.g. the network drops for a connected layer) then you can also check the viewState. In this case, the license check error would be on layer load though, so view state won't be useful. A reasonable rule of thumb is start by checking if a layer loaded ok first, and if so, check the view state to see why it might have stopped working.
... View more
11-21-2023
12:49 PM
|
0
|
0
|
1121
|
|
POST
|
Hello, The sample service has a very limited geographic extent (I'm not sure what it is precisely, but I think it's just a small area around San Diego). If your different points are outside that limited extent, you won't get results. In answer to your questions: You can find all the documentation on the service here: https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/closest-facility-routing/ That includes the REST endpoints, as well as examples of using the service with various SDKs. Yes. Hope that helps. Nick.
... View more
11-20-2023
04:38 PM
|
0
|
0
|
1043
|
|
POST
|
How are you creating the points that you're using for the graphics being added to the graphics overlay? Could you share a code snippet? You should ensure that the points are created with a spatial reference (unless you're using this constructor, which initializes a point with wgs84). The Map will have a spatial reference derived from the layers that are present when the map is loaded/first displayed. Typically that's the spatial reference of the basemap. Based off that spatial reference, the SDK will project geometries as needed, but those geometries will also need spatial references.
... View more
11-17-2023
12:38 PM
|
1
|
1
|
1251
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-05-2025 10:52 AM | |
| 1 | 11-04-2025 08:55 AM | |
| 1 | 11-04-2025 08:38 AM | |
| 1 | 11-01-2025 03:25 PM | |
| 1 | 10-29-2025 10:28 AM |