Skip to content

Commit

Permalink
Use recommend tile.openstreetmap.org URL (#8093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Sep 6, 2023
1 parent cbf539c commit 4f23451
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/website/map-tile/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ export default function App({showBorder = false, onTilesLoad = null}) {
const tileLayer = new TileLayer({
// https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Tile_servers
data: [
'https://a.tile.openstreetmap.org/{z}/{x}/{y}.png',
'https://b.tile.openstreetmap.org/{z}/{x}/{y}.png',
'https://c.tile.openstreetmap.org/{z}/{x}/{y}.png'
'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
],

// Since these OSM tiles support HTTP/2, we can make many concurrent requests
Expand Down

0 comments on commit 4f23451

Please sign in to comment.