Giter Site home page Giter Site logo

sallesma / leaflet.offline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from allartk/leaflet.offline

0.0 0.0 0.0 2.65 MB

Leaflet offline layer

Home Page: https://allartk.github.io/leaflet.offline/

License: GNU Lesser General Public License v3.0

Shell 0.21% JavaScript 11.58% TypeScript 88.22%

leaflet.offline's Introduction

leaflet.offline version 3.x

npm version Build Status

Check the master branch for the published 2.x version!

This library can be used to create maps, which are still available when you are offline and are fast when your connection is not. It works in the browser or can be used in an mobile app based on html and in progressive webapps.

Dependencies

Install

With npm

The package and it's dependencies can also be downloaded into your existing project with npm:

# version 3
npm install leaflet.offline@next
# version 2
npm install leaflet.offline

In your script add:

import 'leaflet.offline'

Manual

Unpack the file for the release (find them under the releasestab ) and add dist/bundle.js in a script tag to your page (after leaflet and idb).

Development

For running the example locally, you'll need to clone the project and run:

npm i && npm run build
cd docs
npm install && npm run serve

You can test your code with npm test. Please configure eslint in your editor if you wish to contribute.

pull requests welcome

Please one feature at a time, if you can split your PR, please do so.

Also, do not mix a feature with package updates.

Api

Generate docs with

npm run-script docs

leaflet.offline's People

Contributors

allartk avatar dependabot[bot] avatar helgasoft avatar brotkiste avatar fil avatar robertomlsoares avatar bmcbride avatar slurmulon avatar

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.