0.0.2 • Published 1 year ago

esn-leaflet-map v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

EsnLeafletMap

#ANGULAR

Distance between two point selected by mouse using angular and leaflet .

----------------------------DEMO

https://stackblitz.com/edit/distance-on-map

https://distance-on-map.stackblitz.io

----------------------------INSTALLATION

    npm i esn-leaflet-map --force

    and in app.module

    import {EsnLeafletMapModule } from 'esn-leaflet-map'

----------------------------NOTE

Firstly,You must install leaflet

    npm i leaflet

    npm i @types/leaflet

----------------------------USAGE

----------------HTML FILE

    <esn-leaflet-map
    [mapSetting]="mapSetting"
    >    
    </esn-leaflet-map>

----------------TS FILE

    mapSetting={
        view:[36.4279, 50.6880],
        maxZoom:8,
        minZoom:1,
        msg:[
            'please select a new location on map',
            'please select destination on map'
            ]
    }
0.0.2

1 year ago

0.0.1

1 year ago