tweak trains and trainlines displayed zoom
Some checks failed
build / build (pull_request) Has been cancelled
docker / build (pull_request) Has been cancelled
go-test / build (pull_request) Has been cancelled
jshint / build (pull_request) Has been cancelled

This commit is contained in:
Andrey Stepanov 2024-11-02 09:48:39 +05:00
parent a7b5226fd1
commit 05bbed786c
Signed by: Koldun
GPG Key ID: 53DE683337F5D25F
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;