|
@@ -0,0 +1,71 @@
|
|
|
+var blueIcon = new L.Icon({
|
|
|
+ iconUrl: "{{ asset('bundles/leaflet/icons/leaflet-color-markers'}}/img/marker-icon-2x-blue.png",
|
|
|
+ shadowUrl: "{{ asset('bundles/leaflet/icons/leaflet-color-markers'}}/img/marker-shadow.png",
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|
|
|
+
|
|
|
+var redIcon = new L.Icon({
|
|
|
+ iconUrl: '../img/marker-icon-2x-red.png',
|
|
|
+ shadowUrl: '../img/marker-shadow.png',
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|
|
|
+
|
|
|
+var greenIcon = new L.Icon({
|
|
|
+ iconUrl: 'img/marker-icon-2x-green.png',
|
|
|
+ shadowUrl: 'img/marker-shadow.png',
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|
|
|
+
|
|
|
+var orangeIcon = new L.Icon({
|
|
|
+ iconUrl: 'img/marker-icon-2x-orange.png',
|
|
|
+ shadowUrl: 'img/marker-shadow.png',
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|
|
|
+
|
|
|
+var yellowIcon = new L.Icon({
|
|
|
+ iconUrl: 'img/marker-icon-2x-yellow.png',
|
|
|
+ shadowUrl: 'img/marker-shadow.png',
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|
|
|
+
|
|
|
+var violetIcon = new L.Icon({
|
|
|
+ iconUrl: 'img/marker-icon-2x-violet.png',
|
|
|
+ shadowUrl: 'img/marker-shadow.png',
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|
|
|
+
|
|
|
+var greyIcon = new L.Icon({
|
|
|
+ iconUrl: 'img/marker-icon-2x-grey.png',
|
|
|
+ shadowUrl: 'img/marker-shadow.png',
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|
|
|
+
|
|
|
+var blackIcon = new L.Icon({
|
|
|
+ iconUrl: 'img/marker-icon-2x-black.png',
|
|
|
+ shadowUrl: 'img/marker-shadow.png',
|
|
|
+ iconSize: [25, 41],
|
|
|
+ iconAnchor: [12, 41],
|
|
|
+ popupAnchor: [1, -34],
|
|
|
+ shadowSize: [41, 41]
|
|
|
+});
|