Skip to content

Commit

Permalink
Merge pull request #110 from Shuttleu/leaflet-map-layer
Browse files Browse the repository at this point in the history
Fix map layers
  • Loading branch information
ucswift authored May 12, 2024
2 parents a4953b0 + ae8e07c commit 0207b56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Docker/resgrid.env
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ RESGRID__MappingConfig__GoogleMapsJSKey=
# https://developers.google.com/maps/documentation/geocoding/get-api-key
RESGRID__MappingConfig__GoogleMapsApiKey=

# MapTiler API Key
# https://www.maptiler.com/
RESGRID__MappingConfig__OSMKey=

# what 3 words api key
# https://developer.what3words.com/public-api
RESGRID__MappingConfig__What3WordsApiKey=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class MapComponent implements OnInit {

if (!this.map) {
var osm = L.tileLayer(
this.leafletosmurl,
this.leafletosmurl+window['rgOsmKey'],
{
maxZoom: 19,
attribution: this.mapattribution,
Expand Down

0 comments on commit 0207b56

Please sign in to comment.