Ignore:
Timestamp:
Aug 14, 2023, 9:10:48 PM (17 months ago)
Author:
alloc
Message:

25_30_46

  • Fixed map marker icons not found
File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/webserver_legacy/js/map.js

    r366 r461  
    5454        // player icon
    5555        var playerIcon = L.icon({
    56             iconUrl: '/static/leaflet/images/marker-survivor.png',
    57             iconRetinaUrl: '/static/leaflet/images/marker-survivor-2x.png',
     56            iconUrl: '/legacymap/leaflet/images/marker-survivor.png',
     57            iconRetinaUrl: '/legacymap/leaflet/images/marker-survivor-2x.png',
    5858            iconSize: [25, 48],
    5959            iconAnchor: [12, 24],
     
    6363        // hostile icon
    6464        var hostileIcon = L.icon({
    65             iconUrl: '/static/leaflet/images/marker-zombie.png',
    66             iconRetinaUrl: '/static/leaflet/images/marker-zombie-2x.png',
     65            iconUrl: '/legacymap/leaflet/images/marker-zombie.png',
     66            iconRetinaUrl: '/legacymap/leaflet/images/marker-zombie-2x.png',
    6767            iconSize: [25, 33],
    6868            iconAnchor: [12, 16],
     
    7272        // animal icon
    7373        var animalIcon = L.icon({
    74             iconUrl: '/static/leaflet/images/marker-animal.png',
    75             iconRetinaUrl: '/static/leaflet/images/marker-animal-2x.png',
     74            iconUrl: '/legacymap/leaflet/images/marker-animal.png',
     75            iconRetinaUrl: '/legacymap/leaflet/images/marker-animal-2x.png',
    7676            iconSize: [25, 26],
    7777            iconAnchor: [12, 13],
Note: See TracChangeset for help on using the changeset viewer.