forked from MTSR/mapserver
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");
|
AbstractGeoJsonOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "protector");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getMaxDisplayedZoom: function(){
|
||||||
|
return 11;
|
||||||
|
},
|
||||||
|
|
||||||
createFeature: function(protector){
|
createFeature: function(protector){
|
||||||
return {
|
return {
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
|
@ -44,7 +44,7 @@ var SearchResult = {
|
|||||||
var color = obj.attributes.color || "blue";
|
var color = obj.attributes.color || "blue";
|
||||||
var icon = obj.attributes.icon || "home";
|
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 })
|
m("i", { class: "fa fa-" + icon })
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user