Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular Typescript with leaflet-illustrate #26

Open
oduwareosahon opened this issue Jul 17, 2018 · 1 comment
Open

Angular Typescript with leaflet-illustrate #26

oduwareosahon opened this issue Jul 17, 2018 · 1 comment

Comments

@oduwareosahon
Copy link

oduwareosahon commented Jul 17, 2018

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
Copy link

mdewell commented Mar 12, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants