Support

Account

Home Forums Backend Issues (wp-admin) ACF Google Map Field Link to Full Map

Helping

ACF Google Map Field Link to Full Map

  • Hi

    I use the google map field in and evens module, its very handy, but the client wanted to be able to link to the google maps site, if for instance clients wanted to use the directions or just look at a bigger map. I found this bit of code about a year ago and it worked

    <a href="https://www.google.com/maps/place/<?php echo $location['address']; ?>" target="_blank">Click here for full map and Directions</a>

    It has not stopped working, it use to link to a full map with marker. I assume that google made change. Is there anyway to get this working again?

    I kind of got it working, but really I want it to bring up the marker and place name like before.

    <a href="https://www.google.com/maps/place/<?php echo $location['address']; ?>/@<?php echo $location['lat'] . ',' . $location['lng']; ?>,16z" target="_blank">Click here for full map and Directions</a>

    Any help would be gratefully received

    Cheers

    Keith

  • Hi Mr Keithy. Did you find a solution to this issue, to properly customize ACF Maps to also display the Google Maps standard directions/view larger map view? I personally feel like the default map display is pretty useless without directions capability built in. Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ACF Google Map Field Link to Full Map’ is closed to new replies.