geocoder can search outside map boundaries, prioritizes results inside map boundaries
This commit is contained in:
@@ -124,7 +124,7 @@ L.Control.geocoder({
|
|||||||
countrycodes: 'de',
|
countrycodes: 'de',
|
||||||
viewbox: (MUNICIPALITY.center[1] - 0.3) + ',' + (MUNICIPALITY.center[0] - 0.2) + ',' +
|
viewbox: (MUNICIPALITY.center[1] - 0.3) + ',' + (MUNICIPALITY.center[0] - 0.2) + ',' +
|
||||||
(MUNICIPALITY.center[1] + 0.3) + ',' + (MUNICIPALITY.center[0] + 0.2),
|
(MUNICIPALITY.center[1] + 0.3) + ',' + (MUNICIPALITY.center[0] + 0.2),
|
||||||
bounded: 1
|
bounded: 0,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|||||||
Reference in New Issue
Block a user