diff --git a/bundles/org.openhab.ui.paperui/patch/web/img/logo_pointer.png b/bundles/org.openhab.ui.paperui/patch/web/img/logo_pointer.png index cc82f32b17..67e9929ca0 100644 Binary files a/bundles/org.openhab.ui.paperui/patch/web/img/logo_pointer.png and b/bundles/org.openhab.ui.paperui/patch/web/img/logo_pointer.png differ diff --git a/bundles/org.openhab.ui.paperui/patch/web/js/extensions.js b/bundles/org.openhab.ui.paperui/patch/web/js/extensions.js new file mode 100644 index 0000000000..51359c584c --- /dev/null +++ b/bundles/org.openhab.ui.paperui/patch/web/js/extensions.js @@ -0,0 +1,16 @@ +/* This file can be be overridden by fragments to include custom JS code */ +angular.module('PaperUI.extensions', []) // + +.service('mapSourceService', function() { + var OSMSource = new ol.source.OSM({ + tileLoadFunction : function(tile, src) { + tile.getImage().src = src + "?openhab"; + } + }); + + return { + getMapSource : function() { + return OSMSource; + } + }; +})