랭킹으로 돌아가기

vue-leaflet/Vue2Leaflet

JavaScriptvue2-leaflet.netlify.app

Vue 2 components for Leaflet maps

mapleafletvuevuejs
스타 성장
스타
2k
포크
368
주간 성장
이슈
33
5001k1.5k
2016년 10월2020년 1월2023년 4월2026년 7월
아티팩트npmnpm install vue2leaflet
README

Vue2Leaflet

All Contributors

ci Downloads Version License

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


Nicolò Maria Mezzopera

💻 🚧 📖

Mickaël

💻 🚧

bezany

💻

Michael Underwood

💻

Michael Wolf

💻

Emanuele Bertoldi

💻

javiertury

💻

ECO

💻

Udo Schochtert

🐛

Yaman Ozakin

🐛

Andre-John Mas

📖 💻

George Pickering

📖

Jake Potrebic

💻

itanka9

📖 💻

bravik

📖

Pierre Grimaud

📖

Andrei Rosca

💻

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

관련 저장소
redisson/redisson

Redisson: Valkey & Redis Java Client and Real-Time Data Platform. Sync/Async/RxJava/Reactive API. Over 50 Valkey and Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Spring, Tomcat, Scheduler, JCache API, Hibernate, RPC, local cache..

JavaMavenApache License 2.0javaredis
redisson.pro
24.4k5.5k
emirpasic/gods

GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more

GoGo ModulesOthergogolang
17.4k1.8k
ZCShou/GoGoGo

一个基于 Android 调试 API + 百度地图实现的虚拟定位工具,并且同时实现了一个可以自由移动的摇杆

JavaMavenGNU General Public License v3.0androidjoystick
itexp.blog.csdn.net
10.9k1.2k
domlysz/BlenderGIS

Blender addons to make the bridge between Blender and geographic data

PythonPyPIGNU General Public License v3.0blenderaddon
9.2k1.5k
rastapasta/mapscii

🗺 MapSCII is a Braille & ASCII world map renderer for your console - enter => telnet mapscii.me <= on Mac (brew install telnet) and Linux, connect with PuTTY on Windows

JavaScriptnpmMIT Licenseascii-artmap
9.2k293
visgl/react-map-gl

React friendly API wrapper around MapboxGL JS

TypeScriptnpmOtherreactmap
visgl.github.io/react-map-gl/
8.5k1.4k
google-map-react/google-map-react

Google map library for react that allows rendering components as markers :tada:

JavaScriptnpmMIT Licensereactmap
google-map-react.github.io/google-map-react/map/main/
6.5k853
dillidon/alerts-and-pickers

Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...

SwiftMIT Licenseuialertcontrollerpicker
5.8k702
PaulLeCam/react-leaflet

React components for Leaflet maps

TypeScriptnpmOtherleafletmap
react-leaflet.js.org
5.6k902
sshuair/awesome-gis

😎Awesome GIS is a collection of geospatial related sources, including cartographic tools, geoanalysis tools, developer tools, data, conference & communities, news, massive open online course, some amazing map sites, and more.

MIT Licensegisawesome
5.4k831
sacridini/Awesome-Geospatial

Long list of geospatial tools and resources

Creative Commons Zero v1.0 Universalawesome-listawesome
5.2k759
orcaman/concurrent-map

a thread-safe concurrent map for go

GoGo ModulesMIT Licensegolanggo
4.5k555