Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Using this package: https://our.umbraco.com/packages/backoffice-extensions/ourumbracogmaps-google-maps-for-umbraco-8/
How do we render the map on the front end?
In the back office, i've selected the location and can see it on the map. That all works well. I can get the values e.g. Lat & Long but not sure how to render the map.
@if (item.Office != null)
var gmap = item.Office;
Any advice appreciated.
<div id="map" style="width: 100%; min-height: 500px;"></div>
something like this
Thanks, I got it sorted with something similar.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted