Support » Plugin: Leaflet Map » IconUrl property in geojson file does not work

  • Hello!
    I am trying to customize the markers, is it possible to pass the iconUrl property through a geojson file? the default icon appears on the map
    What is the way to pass the iconUrl property to the map ?, because I have several different icons
    For example

    "properties": {
                    "styleUrl": "#ibil-rapida",
                    "styleHash": "-2676f513",
                    "iconUrl": "http://localhost/carga/wp-content/uploads/2017/12/punto-carga-rapida-ve-ibil.png ",
                    "@id": "node/5275747389",
                    "addr:city": "Madrid",
                    "addr:housenumber": "9",
                    "addr:postcode": "28015",
                    "addr:street": "Calle de Alberto Aguilera",
                    "amenity": "charging_station",
                    "capacity": "3",
                    "operator": "IBIL",
                    "socket:chademo": "1",
                    "socket:type2": "1",
                    "socket:type2_combo": "1"
                }

    Greetings Teresa

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘IconUrl property in geojson file does not work’ is closed to new replies.