Skip to content
Snippets Groups Projects
Verified Commit c2b4b11e authored by orestis.malaspin's avatar orestis.malaspin
Browse files

merde

parents 088eface 08602068
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ Author: Florian Burgener ...@@ -4,7 +4,7 @@ Author: Florian Burgener
## Prerequisites ## Prerequisites
* The Rust toolchain, see <https://www.rust-lang.org/> * Rust Toolchain (https://www.rust-lang.org/tools/install)
* OpenSSL (`apt install libssl-dev` on Ubuntu) * OpenSSL (`apt install libssl-dev` on Ubuntu)
## Installation ## Installation
......
...@@ -88,9 +88,9 @@ const displayIsochroneMap = async () => { ...@@ -88,9 +88,9 @@ const displayIsochroneMap = async () => {
return; return;
} }
// Centers on the origin point and sets the appropriate zoom level. // // Centers on the origin point and sets the appropriate zoom level.
map.fitBounds([isochroneMap.bounding_box[0], isochroneMap.bounding_box[1]], { animate: false }); // map.fitBounds([isochroneMap.bounding_box[0], isochroneMap.bounding_box[1]], { animate: false });
map.setView([originPointCoord[0], originPointCoord[1]], undefined, { animate: false }); // map.setView([originPointCoord[0], originPointCoord[1]], undefined, { animate: false });
displayIsochrones(isochroneMap); displayIsochrones(isochroneMap);
legendContainer.style.display = 'block'; legendContainer.style.display = 'block';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment