adding leaflet plugin tools to my map

  • gix
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #14216 by gix
Hi Dimitri
i found a plugin to add ruler on map
is this : github.com/gokertanrisever/leaflet-ruler

in my site i added js and css to media folder
/media/jui/js/leaflet-ruler.js
/media/jui/css/leaflet-ruler.css

i call js and css file in Map->advanced options
CSS
/media/jui/css/leaflet-ruler.css in CSS file section

JS
(jquery call is cause my template doesn't call jquery or do it later)
/media/jui/js/jquery.min.js
/media/jui/js/jquery-noconflict.js
/media/jui/js/leaflet-ruler.js

now, how can i show ruler to measure distance on my map?

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #14219 by Dima
Replied by Dima on topic adding leaflet plugin tools to my map
Hi

You can't add your code into mine ;)

I'll check this plugin and add if it is flexible and fine ;)

First look - it is good plugin

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • gix
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #14221 by gix
Replied by gix on topic adding leaflet plugin tools to my map
Thank you Dimitri!!!

p.s.
When you have time watch the other things in my older requests

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds
Powered by Kunena Forum