How can I add my javascript file
-
Hello
I have created a map with Leaflet here
https://smart-idea.io/measures/map_node1.phpI would like to add the map into a page.
I have to add into my skeleton this
<script src="js/map1.js"></script> </script>
The think, I also would like to do is to add something likw this
[leaflet-io mapid=node1 from="2017-10-29 10:00:00" to="2017-10-29 15:00:00"]
In resumé, this will call the following javascript fonction of map1.js
app.getTraces(mapid,from,to);
Could tell me how I can make this? How can I easyl create a extension, whill oad map1.js and when I add
[leaflet-io mapid=node1 from="2017-10-29 10:00:00" to="2017-10-29 15:00:00"]
into a page content, it will call app.getTrace with the 3 parameter?
Is it easy to do without a lot of knowledge?
ThanksThe page I need help with: [log in to see the link]
- The topic ‘How can I add my javascript file’ is closed to new replies.