Angular Typescript with leaflet-illustrate
oduwareosahon opened this issue · 1 comments
oduwareosahon commented
I installed the leaflets illustrate plugin in my Angular 5 project using "npm i leaflet-illustrate".
Also, I included the JavaScript and CSS in the index.html file.
I want to know how to import this in the *.ts file to use the plugin. I have tried:
import {Illustrate} from 'leaflet-illustrate';
This did not work.
Can someone point me in the right direction.
mdewell commented
Has anyone helped on this? I am having a similar operation of the need to use leaflet-illustrate in an Angular 7 project. How does one tie the plugin into leaflet-draw and use leaflet-illustrate's text abilities?