Coder Social home page Coder Social logo

Comments (4)

andygup avatar andygup commented on September 2, 2024

@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.

yevhenii-username avatar yevhenii-username commented on September 2, 2024

@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.

andygup avatar andygup commented on September 2, 2024

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.

yevhenii-username avatar yevhenii-username commented on September 2, 2024

@andygup, thank you for response!

from offline-editor-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.