The Rest Of NetTalk > The Rest - Share Knowledge

Desktop and web maps

(1/1)

Alberto:
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.

Bruce:
excellent - yes please share the code.

Alberto:
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

Navigation

[0] Message Index

Go to full version