esn-leaflet-map
v0.0.2
Published
Distance between two point selected by mouse using angular and leaflet .
Downloads
3
Readme
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'
]
}