fix some ui issues

This commit is contained in:
Thomas Rudin 2019-05-03 17:39:53 +02:00
parent af95772045
commit a7c44c3c30
2 changed files with 5 additions and 1 deletions

View File

@ -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",

View File

@ -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 })
]);
}