diff --git a/docs/components/Map.tsx b/docs/components/Map.tsx index 136bbdd09..df19c94c6 100644 --- a/docs/components/Map.tsx +++ b/docs/components/Map.tsx @@ -54,7 +54,7 @@ function Map(props: MapProps): ReactElement { return (
- +
); diff --git a/docs/introduction.mdx b/docs/introduction.mdx index 452e1adcf..095e95447 100644 --- a/docs/introduction.mdx +++ b/docs/introduction.mdx @@ -72,7 +72,7 @@ A basic working example would look like: const map = L.map('map').setView([51.505, -0.09], 13); -L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map); +L.tileLayer('//tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map); const search = new GeoSearch.GeoSearchControl({ provider: new GeoSearch.OpenStreetMapProvider(),