Comments (4)
@LukashenkoEvgeniy this repo is only for v3.15+ and I don't have any plans to migrate it to 4.x. A number of folks have said there were going to give it a try but I never heard back.
Reference: https://github.com/Esri/offline-editor-js#offline-editor-js
I'll go ahead and close this, if you have updates definitely post the info here.
from offline-editor-js.
@andygup, thank you for response. Maybe you know some alternatives JavaScript staff for 4.x versions, which can import .tpk file for ability work offline?
from offline-editor-js.
I don't, sorry. It's very difficult to create offline JavaScript mapping libraries that are scalable, stable and don't crash or lock up the browser all the time. This is where our native Runtime SDKs really shine.
In theory you could could convert the TPKLayer library to use 4.x. I don't know of anyone that's done that: https://github.com/Esri/offline-editor-js/tree/master/lib/tpk.
There are also some major caveats to keep in mind related to how much TPK data you can consume in a browser: I still recommend a 100MB (Megabyte) maximum. There are articles and blog posts that claim you can do more, but mapping-related use cases rarely work in production beyond that capacity (100MB) when there is heavy IndexedDB and memory read/write activity like a mapping application demands. More info here in the FAQ: https://github.com/Esri/offline-editor-js/wiki/FAQ#how-much-data-can-you-store-with-the-library
I hope that helps.
from offline-editor-js.
@andygup, thank you for response!
from offline-editor-js.
Related Issues (20)
- Maintenance mode details HOT 11
- Offline applyEdits breaks with "&" in data HOT 12
- Tiles in database but not showing up on map while offline
- Minor fix to tile sample(s) - tile storage size
- Firefox randomly changing tile visibility to hidden HOT 1
- Download tiles performance HOT 3
- TPKLayer error: Cannot read property 'compress' of undefined
- license should be a valid SPDX license expression
- Features created offline lack OBJECTID attribute after returning online and syncing. HOT 1
- JSON.parse error in edit library - unable to parse xhr response HOT 1
- Use secure origins with Application Cache and Chrome HOT 3
- Can't open project from html file. HOT 8
- Loading the application from offline device HOT 3
- Advanced examples aren't working anymore
- Uncaught TypeError: onerror is not a function at FileReader.<anonymous> (offline-tpk-src.js:2427) HOT 3
- store downloaded tiles in user defined storage HOT 4
- Failed to load resource HOT 5
- Loading map completely offline HOT 17
- Custom TilesOnly v4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from offline-editor-js.