NetTalk Central

The Rest Of NetTalk => The Rest - Share Knowledge => Topic started by: Alberto on May 06, 2021, 04:07:22 AM

Title: Desktop and web maps
Post by: Alberto on May 06, 2021, 04:07:22 AM
If you need the icons to be numbered on the map, I can do it and I can share the code, js and css to do it.
Title: Re: Desktop and web maps
Post by: Bruce on May 07, 2021, 03:59:40 AM
excellent - yes please share the code.
Title: Re: Desktop and web maps
Post by: Alberto on May 07, 2021, 04:41:50 AM
Ok, attached goes:

jquery.nt-maps.js  (the folded code, to call the leaflet_numbered_markers.js is between //ARMi and //end ARMi)
leaflet_numbered_markers.js
and
leaflet_numbered_markers.css

The code extracts the number from the icon Tip, yo can change it as you need.

To make it work:
Replace the jquery.nt-maps.js in ..\scipts
Copy leaflet_numbered_markers.js to ..\scripts
Copy leaflet_numbered_markers.css to ..\styles
Add leaflet_numbered_markers.js to the Webserver
Add leaflet_numbered_markers.css to the Webserver

Hope it helps