--
---
You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-js+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/9d620acc-348a-46cb-8588-101d9a726705n%40googlegroups.com.
In a much more modest way, this should work:<body><div id="buttons"><button id="locate" type="button" name="Locate Me" onclick="locateMe()">You are here<img src="icons/marker-icon-red-mini.png"></button><button id="help" type="button" name="Help me" onclick="helpMe()">Help</button>// etc. more buttons</div><div id="map"></div> // the usual thing// and the scripts somewhere in the code:<script>function locateMe() {// etc.}function helpMe() {window.open("help/help.html")}</script></body>
In a much more modest way, this works:
<div id="buttons"><button id="locate" type="button" name="Locate Me" onclick="locateMe()">You are here
<imgsrc="icons/marker-icon-red-mini.png"></button><button id="help" type="button" name="Help me" onclick="helpMe()">Help</button>
</div>
<div id="map"></div> // the usual thing
...
--
---
You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-js+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/c89c65a8-8e18-4334-8105-64173c33eb0cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/5A0FD0E5-D16B-421A-9524-F3393CA8F94B%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/CALyVrDbsDbauVZA%3Dnhem-R0-Tv%3DKKYJr2kanQkibiMfPLjoOaw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/5B6E55CA-915A-4C93-BA85-F71052624BB9%40gmail.com.
On Apr 1, 2022, at 10:51 AM, 'Bradley Skopyk' via Leaflet <leafl...@googlegroups.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/CALyVrDaKFetqOKib3xKQo0b__7a183mPFVHa4vdYXbaZkmXrwA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/CALyVrDaKFetqOKib3xKQo0b__7a183mPFVHa4vdYXbaZkmXrwA%40mail.gmail.com.