All Projects → haoliangyu → Ngx Leaflet Starter

haoliangyu / Ngx Leaflet Starter

Licence: mit
A soup of Angular and Leaflet

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ngx Leaflet Starter

Geopackage Js
GeoPackage JavaScript Library
Stars: ✭ 191 (-8.17%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.extras2
Extra functionality for leaflet R package.
Stars: ✭ 37 (-82.21%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.flowecharts
leaflet plugin for Baidu Echarts
Stars: ✭ 17 (-91.83%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.vectorgrid
Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
Stars: ✭ 436 (+109.62%)
Mutual labels:  vector-tiles, leaflet
Leaflet.layergroup.collision
Leaflet plugin for uncluttering L.Markers using basic collision detection.
Stars: ✭ 82 (-60.58%)
Mutual labels:  leaflet-plugins, leaflet
Iclient Javascript
Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community.
Stars: ✭ 593 (+185.1%)
Mutual labels:  leaflet-plugins, leaflet
Tangram
WebGL map rendering engine for creative cartography
Stars: ✭ 1,964 (+844.23%)
Mutual labels:  vector-tiles, leaflet
Leaflet-active-area
A Leaflet plugin to center the map not in the center of the map but inside a DIV. Useful for responsive design.
Stars: ✭ 99 (-52.4%)
Mutual labels:  leaflet, leaflet-plugins
Leaflet.featuregroup.subgroup
Creates a Feature Group that adds its child layers into a parent group when added to a map (e.g. through L.Control.Layers)
Stars: ✭ 79 (-62.02%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.path.drag
Drag functionality for Leaflet vector layers
Stars: ✭ 72 (-65.38%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.markercluster
Marker Clustering plugin for Leaflet
Stars: ✭ 3,305 (+1488.94%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.browser.print
A leaflet plugin which allows users to print the map directly from the browser
Stars: ✭ 94 (-54.81%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet Ant Path
🌿🐜 Creates a leaflet polyline with a 'ant-path' animated flux
Stars: ✭ 296 (+42.31%)
Mutual labels:  leaflet-plugins, leaflet
Heatmap.js
🔥 JavaScript Library for HTML5 canvas based heatmaps
Stars: ✭ 5,685 (+2633.17%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.pixioverlay
Bring Pixi.js power to Leaflet maps
Stars: ✭ 264 (+26.92%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet.markercluster.freezable
Adds ability to freeze clusters at specified zoom
Stars: ✭ 21 (-89.9%)
Mutual labels:  leaflet-plugins, leaflet
leaflet-geojson-selector
Show GeoJSON Layer like as Interactive Menu List
Stars: ✭ 88 (-57.69%)
Mutual labels:  vector-tiles, leaflet
leaflet.tilelayer.gloperations
Custom Leaflet TileLayer using WebGL to do operations on and colorize floating-point pixels
Stars: ✭ 15 (-92.79%)
Mutual labels:  leaflet, leaflet-plugins
Leaflet Geoman
🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
Stars: ✭ 1,088 (+423.08%)
Mutual labels:  leaflet-plugins, leaflet
Leaflet Gps
Simple leaflet control plugin for tracking gps position
Stars: ✭ 90 (-56.73%)
Mutual labels:  leaflet-plugins, leaflet

ngx-leaflet-starter

Build Status

A web mapping application starter based on Angular X and Leaflet. This project demo includes basic mapping features:

  • [x] Display base maps from different sources

  • [x] Initialize map based on user's IP address location

  • [x] Geocode address and zoom to result location

  • [x] Add/remove markers on the map

  • [x] Use unofficially typed Leaflet plugin

  • [x] Built with Angular CLI

Support Angular 7 and Leaflet 1.3 now!

See how it looks at demo page.

FAQ

Was it named angular2-leaflet-starter?

Yes, but no longer. Angular is evolving rapidly and has moved further from 2.0. This project is renamed to ngx-leaflet-starter, meaning that it will evolve with Angular and stay close to the latest version.

How about new features?

Since this project has been reached its initial goal to provide a small and clean code base for Angular and Leaflet integration, currently there is no plan for new feature development. But I am open to suggestions and PRs. If you think it's beneficial to add something new (not for very specific use cases), please feel free to submit an issue for dicussion.

Oops, this plugin is not typed!?

Most Leaflet plugins are not typed, but it doesn't mean they are not usable. To use them in a TypeScript project, one way is to provide a minimal type declaration file.

In the starter, a minimal type declaration file is created for the Leaflet.VectorGrid. This plugin is used to add the global airport sites (from openflights.org) as a vector tile layer.

How to start?

This project requires npm (or yarn).

  1. Run npm install to install dependencies.

  2. Run npm run start to set up the dev server.

  3. See the app at localhost:4200.

Thanks to these awesome people!

Looking for other demos?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].