Compare commits

..

1 Commits

Author SHA1 Message Date
renovate[bot]
5d1c37fc9b
chore(deps): update dependency go to v1.23.2
Some checks failed
go-test / build (push) Has been cancelled
jshint / build (push) Has been cancelled
2024-10-01 18:24:51 +00:00
4 changed files with 3 additions and 9 deletions

2
go.mod
View File

@ -49,4 +49,4 @@ require (
go 1.22
toolchain go1.22.4
toolchain go1.23.2

View File

@ -7,11 +7,9 @@ function onchange(e){
m.route.set("/map/:layerId/:zoom/:lon/:lat", params);
}
export default {
view: function(){
// Display layer selector only if there is choice
if (LayerManager.layers.length <= 1)
return null;
const layers = LayerManager.layers.map(layer => m(
"option",

View File

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

View File

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