jcadima
7/28/2015 - 3:44 PM

get google map image from location

get google map image from location


https://developers.google.com/maps/documentation/staticmaps/intro

<div class="box-gray">
  <a href="https://maps.google.com/?q={{ project.google_map_location }}" target="_blank">
    <img src="https://maps.googleapis.com/maps/api/staticmap?center={{ project.google_map_location }}&zoom=13&size=330x250&maptype=roadmap" >
      </a>
</div>

{{ project.google_map_location }}  is the query string