location.html.erb
414 Bytes
<% if profile.lat %>
<%= block_title block.title %>
<div class='the-localization-map'>
<img src="https://maps.google.com/maps/api/staticmap?center=<%=profile.lat%>,<%=profile.lng%>&zoom=<%=block.zoom%>&size=190x250&maptype=<%=block.map_type%>&markers=<%=profile.lat%>,<%=profile.lng%>&sensor=false"/>
</div>
<% else %>
<i><%= _('This profile has no geographical position registered.') %></i>
<% end %>