Skip to content

Latest commit

 

History

History
67 lines (61 loc) · 1.27 KB

File metadata and controls

67 lines (61 loc) · 1.27 KB

CircleOptions interface

let options: CircleOptions = {
  'center': {'lat' : 37.422858, 'lng' : -122.085065},
  'radius': 300,
  'strokeColor' : '#AA00FF',
  'strokeWidth': 5,
  'fillColor' : '#880000'
};

this.map.addCircle(options).then((circle: Circle) => {

});

interface members

Params Type Details
center ILatLng Center position of circle
radius number Radius of circle in meter
strokeColor string (optional)Set the stroke color(rgb, rgba, #RRGGBB, "colorname", ...etc)
strokeWidth number (optional)Set the stroke width in pixel
fillColor string (optional)Set the inside color of circle(rgb, rgba, #RRGGBB, "colorname", ...etc)
clickable boolean (optional)Set to true to receive the CIRCLE_CLICK event(default: false)
visible boolean (optional)Set to false to hide(default: true)
zIndex number (optional)Z-index