Commit adb6db5d authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

Leaflet map using HTTP

parent 6d69c75e
Pipeline #4671 passed with stages
in 3 minutes and 25 seconds
......@@ -97,8 +97,8 @@ class LocationMap extends React.Component<ILocationMapProps, any> {
doubleClickZoom={ false }
>
<TileLayer
attribution={ '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' }
url={ 'http://{s}.tile.osm.org/{z}/{x}/{y}.png' }
attribution={ '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' }
url={ 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' }
/>
{ positions && positions.map((position, i) => (
<Marker key={ i } position={ position }/>
......
......@@ -117,8 +117,8 @@ class FormMap extends React.Component<IFormMapProps, any> {
zoom={ 6 }
>
<TileLayer
attribution={ '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' }
url={ 'http://{s}.tile.osm.org/{z}/{x}/{y}.png' }
attribution={ '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' }
url={ 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' }
/>
{ position && <Marker onContextmenu={ this.onMarkerRightClick } position={ position }/> }
</Map>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment