var iconEnlImage = '@@INCLUDEIMAGE:images/marker-green.png@@';
var iconEnlRetImage = '@@INCLUDEIMAGE:images/marker-green_2x.png@@';
var iconResImage = '@@INCLUDEIMAGE:images/marker-blue.png@@';
var iconResRetImage = '@@INCLUDEIMAGE:images/marker-blue_2x.png@@';
window.iconEnl = L.Icon.extend({options: {
iconUrl: iconEnlImage,
iconRetinaUrl: iconEnlRetImage,
shadowUrl: iconShadowImage,
shadowRetinaUrl: iconShadowImage,
iconSize: new L.Point(25, 41),
iconAnchor: new L.Point(12, 41),
popupAnchor: new L.Point(1, -34),
shadowSize: new L.Point(41, 41)
}});
window.iconRes = L.Icon.extend({options: {
iconUrl: iconResImage,
iconRetinaUrl: iconResRetImage,
shadowUrl: iconShadowImage,
shadowRetinaUrl: iconShadowImage,
iconSize: new L.Point(25, 41),
iconAnchor: new L.Point(12, 41),
popupAnchor: new L.Point(1, -34),
shadowSize: new L.Point(41, 41)
}});
@@INCLUDERAW:external/oms.min.js@@
from boot.js into the player tracker plugin. Although this presents a problem on how to accomplish this between the two not being updated at the same time. With the new build system are you @jonatkins only updating everything at once? So moving these out of main and into the plugin wont break anything in between.