Giter Site home page Giter Site logo

betoxl / ngx.leaflet.offline Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 40 KB

A Leaflet library that downloads map tiles and uses them offline.

Home Page: https://betoxl.github.io/ngx.leaflet.offline/

License: GNU General Public License v2.0

JavaScript 100.00%
angular ionic leaflet offline

ngx.leaflet.offline's People

Contributors

betoxl avatar robertomlsoares avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

ngx.leaflet.offline's Issues

Load tiles by batch

Hello
Is it possible to load tiles by batch of 1000 tiles because we have an ressource's error instead ?
Thank's

ReferenceError: L is not defined

Hey, I am trying to use this plugin in my Ionic-angular Application and I am doing all the things mentioned in the doc and example. But, I am getting the following error and the map is not showing.

ERROR Error: Uncaught (in promise): ReferenceError: L is not defined
ReferenceError: L is not defined
at MapDownloadComponent.createMap (map-download.component.ts:54:17)
at MapDownloadComponent. (map-download.component.ts:25:10)
at Generator.next ()
at tslib.es6.js:76:1
at new ZoneAwarePromise (zone.js:1340:1)
at __awaiter (tslib.es6.js:72:1)
at MapDownloadComponent.initMap (map-download.component.ts:23:16)
at MapDownloadComponent.ngOnInit (map-download.component.ts:20:10)
at callHook (core.mjs:2526:1)
at callHooks (core.mjs:2495:1)
at resolvePromise (zone.js:1255:1)
at new ZoneAwarePromise (zone.js:1343:1)
at __awaiter (tslib.es6.js:72:1)
at MapDownloadComponent.initMap (map-download.component.ts:23:16)
at MapDownloadComponent.ngOnInit (map-download.component.ts:20:10)
at callHook (core.mjs:2526:1)
at callHooks (core.mjs:2495:1)
at executeInitAndCheckHooks (core.mjs:2446:1)
at refreshView (core.mjs:9484:1)
at refreshEmbeddedViews (core.mjs:10594:1)

Any idea about what am I doing wrong?

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.