Update README.md

This commit is contained in:
Xing Han Lu 2024-12-10 18:34:07 -05:00 committed by GitHub
parent 5f3aca98a9
commit 55ef0382b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -202,7 +202,7 @@ docker run --volume=osm-data:/data/database/ --volume=osm-tiles:/data/tiles/ -p
Now, inside the file `webarena/openstreetmap-website/vendor/assets/leaflet/leaflet.osm.js`, change `http://ogma.lti.cs.cmu.edu:8080/tile/{z}/{x}/{y}.png` to `http://<public-url-to-your-tile-server>:8080/tile/{z}/{x}/{y}.png`
> [!NOTE]
> By default, the `url` in `TileLayer` and `Mapnik` is set to `"http://ogma.lti.cs.cmu.edu:8080/tile/{z}/{x}/{y}.png"`. The official tile server uses `https://tile.openstreetmap.org/{z}/{x}/{y}.png`. You can use that in the two cases as a way to test in case you run into issues during the setup.
> By default, the `url` in `TileLayer` and `Mapnik` is set to `"http://ogma.lti.cs.cmu.edu:8080/tile/{z}/{x}/{y}.png"`. You replace it with `https://tile.openstreetmap.org/{z}/{x}/{y}.png` (the official link) as a way to test in case you run into issues during the setup.
#### Geocoding Server