Support

Account

Home Forums Front-end Issues Adding Custom Markers to Map Field in Frontend Form Reply To: Adding Custom Markers to Map Field in Frontend Form

  • Thanks! This solved my marker problem in 5 minutes!

    Do you have any idea how to get the radius-circles to work?

    If I add the following code inside acf.add_filter('google_map_marker_args', function(args, $field) {}, the console tells me ‘google is not defined’.

    Here’s the code:

        var circle = new google.maps.Circle({
          map          : map,
          radius       : 1000,
          fillColor    : 'red',
          strokeColor  : 'red',
          strokeWeight : 1
        });
        circle.bindTo('center', marker, 'position');