Closed (works as designed)
Project:
Geolocation Field
Version:
8.x-1.x-dev
Component:
Geolocation field
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
14 Sep 2015 at 17:13 UTC
Updated:
1 Oct 2015 at 16:12 UTC
Jump to comment: Most recent
Comments
Comment #2
engin commentedComment #3
engin commentedComment #4
engin commentedComment #5
engin commentedComment #6
derjochenmeyer commentedHow did you add the block?
Did you copy the file geolocation-formatter-geolocation-latlng.html.twig to your theme folder to add the code above?
Comment #7
engin commentedNo, I now figured out thanks for your help. I was try it with the code in a block.
Comment #8
engin commentedI created the file geolocation-formatter-geolocation-latlng.html.twig and put it in a root of the active theme folder
<iframe width="600" height="300" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q={{ lat }}%2C{{ lng }}&key=AIzaSyBD"></iframe>but the map doesn't show up.
Comment #9
derjochenmeyer commentedMaybe you have to rebuild the cache?
Comment #10
engin commentedI rebuilded the cache but it does'nt show
Comment #11
engin commentedIt is ok with the bartik theme thanks. The new Drupal 8 themes are quite unstable at the moment. With default Bartik theme it is ok.
Comment #12
derjochenmeyer commented