All Projects → canvasoft → ng-leaflet

canvasoft / ng-leaflet

Licence: MIT license
Angular 2 component for Leaflet 1.x (WIP - Help Wanted)

Programming Languages

typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to ng-leaflet

Ngx Date Fns
⏳ date-fns pipes for Angular 2.0 and above ⏳
Stars: ✭ 135 (+743.75%)
Mutual labels:  angular2, ng2
awesome-angular
💖 A list of awesome Angular (2️⃣➕) resources
Stars: ✭ 61 (+281.25%)
Mutual labels:  angular2, ng2
Ng2 Search Filter
Angular 2 / Angular 4 / Angular 5 custom pipe npm module to make a search filter on any input, 🔥 100K+ downloads
Stars: ✭ 137 (+756.25%)
Mutual labels:  angular2, ng2
Ng2 Breadcrumbs
A breadcrumb service for the Angular 7 router
Stars: ✭ 61 (+281.25%)
Mutual labels:  angular2, ng2
ng-data-picker
🏄🏼 A data picker based on Angular 4+ (like native datetime picker of iOS)
Stars: ✭ 24 (+50%)
Mutual labels:  angular2, ng2
Ng2 Konva
Angular & Canvas - JavaScript library for drawing complex canvas graphics using Angular.
Stars: ✭ 78 (+387.5%)
Mutual labels:  angular2, ng2
Ng2 Nouislider
Angular2 noUiSlider directive
Stars: ✭ 181 (+1031.25%)
Mutual labels:  angular2, ng2
Angular2 Carousel
An lightweight , touchable and responsive library to create a carousel for angular 2 / 4 / 5
Stars: ✭ 26 (+62.5%)
Mutual labels:  angular2, ng2
angular-progress-http
[DEPRECATED] Use @angular/common/http instead
Stars: ✭ 43 (+168.75%)
Mutual labels:  angular2, ng2
angular2-signature-pad
Signature pad component for Angular 2.x and above.
Stars: ✭ 17 (+6.25%)
Mutual labels:  angular2, ng2
Ngautocomplete
Light-weight autocomplete component for Angular.
Stars: ✭ 52 (+225%)
Mutual labels:  angular2, ng2
ng2-fontawesome
An easy-to-use directive for font awesome icons.
Stars: ✭ 20 (+25%)
Mutual labels:  angular2, ng2
Ng2 Sweetalert2
A sweetalert2 service for angular2.
Stars: ✭ 49 (+206.25%)
Mutual labels:  angular2, ng2
Ng2 Smart Table
Angular Smart Data Table component
Stars: ✭ 1,590 (+9837.5%)
Mutual labels:  angular2, ng2
Ng2 Ace
A basic ace editor directive for angular 2.
Stars: ✭ 33 (+106.25%)
Mutual labels:  angular2, ng2
Angular Google Maps
Angular 2+ Google Maps Components
Stars: ✭ 1,982 (+12287.5%)
Mutual labels:  angular2, ng2
Ngx Admin
Customizable admin dashboard template based on Angular 10+
Stars: ✭ 23,286 (+145437.5%)
Mutual labels:  angular2, ng2
Ngx Echarts
An angular (ver >= 2.x) directive for ECharts (ver >= 3.x)
Stars: ✭ 820 (+5025%)
Mutual labels:  angular2, ng2
Truly Ui
Truly-UI - Web Angular UI Components for Desktop Applications (Electron, NW, APP JS)
Stars: ✭ 195 (+1118.75%)
Mutual labels:  angular2, ng2
ic-datepicker
Angular (2+) datepicker component
Stars: ✭ 27 (+68.75%)
Mutual labels:  angular2, ng2

Angular 2 Leaflet Directive - WORK IN PROGRESS (WIP)

Goal

Angular 2 directive for the Leaflet Javascript Library. This software aims to easily embed maps managed by Leaflet on your project.

Master Branch State

Please note the master branch is currently in a "in-progress state" and is not suitable for production use at this point.

Features

  • Map Options
  • Layers
  • Dynamic Center
  • Markercluster

TODO

  • Markers
  • GeoJSON
  • Bounds
  • Max Bounds
  • Manage Map Events
  • Legend
  • Paths
  • Controls

Installation

To install ng-leaflet, run:

$ npm install canvasoft/ng-leaflet#master --save

How to use it

Once you have published your library to npm, you can import ng-leaflet in any Angular application by running:

$ npm install canvasoft/ng-leaflet#master --save

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { UiLeafletModule } from 'ng-leaflet';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    UiLeafletModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, you can use its components, directives and pipes in your Angular application:

<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<ui-leaflet></ui-leaflet>

Documentation:

UI Leaflet for Angular 2

Demo

License

MIT © Michael Salgado

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].