2.7.1 • Published 3 years ago

vue2-leaflet v2.7.1

Weekly downloads
33,266
License
MIT
Repository
github
Last release
3 years ago

Vue2Leaflet

All Contributors

Vue2Leaflet is a JavaScript library for the Vue framework that wraps Leaflet making it easy to create reactive maps.

How to install

npm install vue2-leaflet leaflet --save

For more detailed information you can follow the Quick Start Guide

Breaking change from 1.x.x to 2.x.x

A new major release 2.0.0 is available and come with two breaking changes:

Leaflet is not automatically installed anymore

Leaflet is now a peerDependency and need to be installed manually, we updated our docs to reflect this but please pay attention when migrating

Importing the library in Webpack / Rollup

Now the code of vue2-leaflet is split component by component (while using a bundler like Webpack/Rollup/Parcel) to do so the following syntax is not working anymore:

import Vue2Leaflet from 'vue2-leaflet'; // INVALID

And has been replaced by

import * as Vue2Leaflet from 'vue2-leaflet'; // VALID

Is highly suggested to import only the needed modules by doing so:

import { LMap, LTileLayer, LMarker } from 'vue2-leaflet';

This will reduce the size of the bundle significantly

Documentation

Go here to check out live examples and docs.

Support & Community

Do you have questions? Ideas? do you want to collaborate but you feel lost? Join us on discord Invite Link

Leaflet Plugins

Vue2Leaflet has a wide array of plugins written by the community! Check Here

Contribute

# clone the repository
git clone https://github.com/vue-leaflet/Vue2Leaflet.git
cd Vue2Leaflet
# install dependencies and build vue2-leaflet
npm install
# Compile the source and start the documentation server
npm run dev

Go to http://localhost:8080/ to see the docs and the examples

Any changes to the source code is reflected in the docs after a handfuls of seconds.

Authors

  • Mickaël Bouchaud
  • Nicolò Maria Mezzopera

Inspired by many map wrapper (google and leaflet) for many framework (React, Angular and Vue 1.0)

Contributors

If you believe you should be on this list please add yourself by typing this on a PR or issue: @all-contributors please add @yourNickname for X where X is one of all-contributors emojoi keys

And all the rest who contributed

License

This project is licensed under the MIT License - see the LICENSE file for details

vue2-leaflet-heatmapleaflet-nuxt-asyncvue2-leaflet-bigimage-printquasar-app-extension-imagina-ext@jaydubb12/lightswitch-storefront-ui-vuehujunpengcomponentsnx-libs@infinitebrahmanuniverse/nolb-vue2@everything-registry/sub-chunk-3098sheets_form_builder_jsmycomponent233hqaicx4haa-mapinfovisgwt-custom-componenthdkj-muejekyll-theme-piratimy-demo-productleo-vuekoala-kumalleafleteditablepolylinenpmleaflet-vue-tilesmv-form-rendermv-mes-rendermv-mes-renderermv-templatemv-template-pagemv-template-kumv-cms-rendernuxt-leafletnuxt-leaflet-drawnuxt-mapp-kitphaidra-vue-componentspreviolet-inputsplanetcomponentsresult-search-mapspoferan-uisanjabtf-vue-geosearchtf-vue-leaflet-geosearchtf-vue-leaflet-heatmaptf-vue-leaflet-rulertest-template-pkgtesdik123yl-storefront-ui-vueykh-form-extendedant-huaxuarchitectui-vue-pro@aronative/nexchat@aronative/nextchatazibai-messenger-v4@borngroup/lightswitch-storefront-ui-vue@cortezaproject/corteza-vuebitvision-zoo@azibai/chatstackchartstac-componentstorybook-delavalui-vue-coreuncle-argonveoci-vue2-leaflet-polylinedecoratorvue-choroplethvue-choropleth-forkvue2-leaflet-axesgridvue2-leaflet-canvas-markervue2-leaflet-gpxvue2-leaflet-hotlinevue2-leaflet-imageoverlay-rotatedvue2-leaflet-inikolov-simple-toolsvue2-leaflet-markercluster-pievue2-leaflet-chinatilelayervue2-leaflet-editablevue2-leaflet-editable-polylinevue2-leaflet-es6rotatedmarkervue2-leaflet-filelayervue2-leaflet-fullscreenvue2-leaflet-geosearchvue2-leaflet-moving-rotated-markervue2-leaflet-movingmarkervue2-leaflet-pancontrolvue2-leaflet-path-transformvue2-leaflet-plugin-movingmarkervue2-leaflet-polyline-measurevue2-leaflet-polylinedecoratorvue2-leaflet-polylineoffsetvue2-leaflet-rotatedmarkervue2-leaflet-semicirclevue2-leaflet-slidemarkervue2-leaflet-tracksymbolvue-leaflet-custom-markervue-leaflet-drawvue-leaflet-editable-polylinevue-leaflet-flowing-linevue-leaflet-map-tpsvue-leaflet-minimapvue-npm-pod-statusvue2leaflet-canvasw-leaflet-vuecovid19-dashboard-italy@imagina/quasar-app-extension-qimagina
2.7.1

3 years ago

2.7.0

3 years ago

2.6.0

4 years ago

2.5.0

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.4.3

4 years ago

2.4.2

4 years ago

2.4.1

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-beta.1

5 years ago

2.0.0-beta.0

5 years ago

1.2.3-beta.9

5 years ago

1.2.3-beta.8

5 years ago

1.2.3-beta.7

5 years ago

1.2.3-beta.6

5 years ago

1.2.3-beta.5

5 years ago

1.2.3-beta.4

5 years ago

1.2.3-beta.3

5 years ago

1.2.3-beta.2

5 years ago

1.2.3-beta.1

5 years ago

1.2.3-beta.0

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

0.0.60

6 years ago

0.0.59

6 years ago

0.0.58

6 years ago

0.0.57

6 years ago

0.0.56

6 years ago

0.0.55

7 years ago

0.0.54

7 years ago

0.0.53

7 years ago

0.0.52

7 years ago

0.0.51

7 years ago

0.0.50

7 years ago

0.0.49

7 years ago

0.0.48

7 years ago

0.0.47

7 years ago

0.0.46

7 years ago

0.0.45

7 years ago

0.0.44

7 years ago

0.0.43

7 years ago

0.0.42

7 years ago

0.0.41

7 years ago

0.0.40

7 years ago

0.0.39

7 years ago

0.0.38

7 years ago

0.0.37

7 years ago

0.0.34

7 years ago

0.0.33

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago