fix some ui issues
This commit is contained in:
parent
af95772045
commit
a7c44c3c30
@ -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",
|
||||
|
@ -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 })
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user