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

.min.js #107

Closed
Opadera opened this issue Apr 9, 2018 · 1 comment
Closed

.min.js #107

Opadera opened this issue Apr 9, 2018 · 1 comment

Comments

@Opadera
Copy link
Contributor

Opadera commented Apr 9, 2018

the old version had a leaflet-measure.min.js which is not there currently. It convienently had all the functionality in one file (inlcuding languages). Can you add that or tell me how to do it myself?

@brandoncopeland
Copy link
Contributor

Sure. The builds are available from npm. You can install with npm i leaflet-measure. You can also clone the repository and run yarn build. This will build a dist directory with leaflet-measure.js and leaflet-measure.css. Each language is now built into a separate JavaScript file, so you will need to use leaflet-measure.hu.js instead of leaflet-measure.js for Hungarian.

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