Select to view content in your preferred language

Can you create an offline map from Javascript SDK code, and can Sketch Widget work offline?

176
0
08-16-2024 10:44 AM
Sparkles
Emerging Contributor

Hi, I'm trying to get my maps (built with the Javascript SDK) to work offline. The documentation said that to create offline maps, you'd have to login to arGIS online and create the map there.

https://developers.arcgis.com/documentation/offline-mapping-apps/tutorials/tools/create-an-offline-e...

Is that the only option, or is it possible to still create the map from my code using Javascript SDK and get them to work offline?

Currently, I've uploaded an image to the map with ImageElement and MediaLayer, and the image shows, but the issue is that the Sketch Widget doesn't work offline, and I get a bunch of errors from arcGIS where its unable to load things (errors in image), Is it supposed to be working offline? Thanks!!


0 Kudos
0 Replies