URL encode the place name in the google maps embeded api iframe
This commit is contained in:
parent
6eecdbf4ee
commit
89b6de3651
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
width="720"
|
||||
height="400"
|
||||
frameborder="0" style="border:0"
|
||||
src="https://www.google.com/maps/embed/v1/place?key={{ settings.GOOGLE_MAPS_API_KEY }}&q={{place.name}}%2C%20{{place.address|urlencode}}&zoom=17"
|
||||
src="https://www.google.com/maps/embed/v1/place?key={{ settings.GOOGLE_MAPS_API_KEY }}&q={{place.name|urlencode}}%2C%20{{place.address|urlencode}}&zoom=17"
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
|
||||
|
|
Loading…
Reference in a new issue