Support

Account

Home Forums General Issues Click to view large map (google maps) Reply To: Click to view large map (google maps)

  • Here’s a snippet that I’ve used before to bring up a larger map view with directions.

    <a href="https://www.google.com/maps?saddr=My+Location&daddr=<?php $location = get_field('map'); echo $location['lat'] . ',' . $location['lng']; ?>">Get Directions</a>

    If you just want the straight map, I think the url format is is: https://www.google.com/maps/@latitude,longitude,16z
    (16z is the zoom level, so set whatever number you want)