1
0
forked from MTSR/mapserver

tweak trains and trainlines displayed zoom (#412)

This commit is contained in:
Andrey Stepanov 2024-11-11 23:51:31 +05:00 committed by GitHub
parent e1c9bdb8bd
commit c45f002f82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export default L.LayerGroup.extend({
getMaxDisplayedZoom: function(){
return 10;
return 7;
},
createMarker: function(train){

View File

@ -58,6 +58,10 @@ export default AbstractGeoJsonOverlay.extend({
}
});
},
getMaxDisplayedZoom: function(){
return 4;
},
createGeoJson: function(objects){
var self = this;