Skip to content

Commit

Permalink
set openstreet map
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Oct 12, 2023
1 parent b886ca6 commit ce1e258
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions spec/system/awesome_map_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,9 @@
# static: { url: "https://image.maps.ls.hereapi.com/mia/1.6/mapview" }
dynamic: {
tile_layer: {
url: "https://tile.openstreetmap.org/{z}/{x}/{y}.png?key={apiKey}&{foo}",
api_key: true,
foo: "bar=baz",
attribution: %(
<a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap</a> contributors
).strip
# Translatable attribution:
# attribution: -> { I18n.t("tile_layer_attribution") }
url: "http://tile.openstreetmap.org/{z}/{x}/{y}.png"
}
},
# static: { url: "https://staticmap.openstreetmap.de/staticmap.php" },
geocoding: { host: "nominatim.openstreetmap.org", use_https: true }
}
}
end

Expand Down

0 comments on commit ce1e258

Please sign in to comment.