Circle around marker
-
I have service stores around the country with custom servicing radius for which I have set a custom field per store in kilometers. I would like to have a circle around the marker to show if the store is servicing the customer or not. Does anyone know how to make this posible?
This is the javascript code I guess I need to use but I’m note sure how to implement it because I don’t know where to hook it into the map.
var circle = new google.maps.Circle({ map: map, radius: FROM CUSTOM META FIELD, fillColor: '#AA0000' }); circle.bindTo('center', marker, 'position');
Thanks in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Circle around marker’ is closed to new replies.