Forum Replies Created

Viewing 16 replies (of 16 total)
  • Plugin Author CodeFish

    (@codewahoo)

    Hi.
    There is a nice example at ACF website for showing the map in the front-end.
    If you use the zoom saved for the field, when passing options for Google map creation. For example, substitute the args object in the example I linked above, with the code below:

    // vars
    var args = {
      zoom : $location['zoom'],
      center : new google.maps.LatLng(0, 0),
      mapTypeId : google.maps.MapTypeId.ROADMAP
    };

    Of course I presume here that you run the code you specified in your comment above the code provided in the example. It is up to you to make alterations in the code of the example.

Viewing 16 replies (of 16 total)