forked from MTSR/mapserver
tweak trains and trainlines displayed zoom (#412)
This commit is contained in:
parent
e1c9bdb8bd
commit
c45f002f82
@ -71,7 +71,7 @@ export default L.LayerGroup.extend({
|
|||||||
|
|
||||||
|
|
||||||
getMaxDisplayedZoom: function(){
|
getMaxDisplayedZoom: function(){
|
||||||
return 10;
|
return 7;
|
||||||
},
|
},
|
||||||
|
|
||||||
createMarker: function(train){
|
createMarker: function(train){
|
||||||
|
@ -58,6 +58,10 @@ export default AbstractGeoJsonOverlay.extend({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getMaxDisplayedZoom: function(){
|
||||||
|
return 4;
|
||||||
|
},
|
||||||
|
|
||||||
createGeoJson: function(objects){
|
createGeoJson: function(objects){
|
||||||
var self = this;
|
var self = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user