angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

what are the default units of radius of circle? and how can it be changed?

Open anatlerner opened this issue 10 years ago • 3 comments

hi when setting a circle $scope.circle= { id: 1, center: { latitude: 44, longitude: -108 }, radius: 500000, stroke: { color: '#08B21F', weight: 2, opacity: 1 }, fill: { color: '#08B21F', opacity: 0.5 }, geodesic: true, // optional: defaults to false draggable: true, // optional: defaults to false clickable: true, // optional: defaults to true editable: true, // optional: defaults to false visible: true, // optional: defaults to true control: {} }

what are the units of radius?

anatlerner avatar Mar 08 '16 17:03 anatlerner

Meters I believe

nmccready avatar Mar 09 '16 03:03 nmccready

is there a way to change the unit?

anatlerner avatar Mar 09 '16 08:03 anatlerner

Look at googles sdk.

nmccready avatar Mar 09 '16 14:03 nmccready