diff --git a/server/static/js/overlays/ProtectorOverlay.js b/server/static/js/overlays/ProtectorOverlay.js index 2847c9d..48a5374 100644 --- a/server/static/js/overlays/ProtectorOverlay.js +++ b/server/static/js/overlays/ProtectorOverlay.js @@ -6,6 +6,10 @@ var ProtectorOverlay = AbstractGeoJsonOverlay.extend({ AbstractGeoJsonOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "protector"); }, + getMaxDisplayedZoom: function(){ + return 11; + }, + createFeature: function(protector){ return { "type":"Feature", diff --git a/server/static/js/search/SearchResult.js b/server/static/js/search/SearchResult.js index 272390e..4c4447e 100644 --- a/server/static/js/search/SearchResult.js +++ b/server/static/js/search/SearchResult.js @@ -44,7 +44,7 @@ var SearchResult = { var color = obj.attributes.color || "blue"; var icon = obj.attributes.icon || "home"; - type = m("div", { class: "awesome-marker awesome-marker-icon-" + color }, [ + type = m("div", { style: "position: relative", class: "awesome-marker awesome-marker-icon-" + color }, [ m("i", { class: "fa fa-" + icon }) ]); }