NetTalk Central

Author Topic: Desktop and web maps  (Read 8063 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Desktop and web maps
« 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.
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Desktop and web maps
« Reply #1 on: May 07, 2021, 03:59:40 AM »
excellent - yes please share the code.

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Desktop and web maps
« Reply #2 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
-----------
Regards
Alberto