GmapCircle
Circle component
}
[See](source code) ,[See](official reference)
Props
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
center | The center of the Circle.@value { lat: 41.878, lng: -87.629 }@see Circle simple | object | - | |
radius | The radius in meters on the Earth's surface.@value 10@see Circle simple | number | - | 10 |
clickable | Indicates whether this Polygon handles mouse events. Defaults to true.@value true, false@see Circle draggable | boolean | - | false |
draggable | If set to true, the user can drag this circle over the map. Defaults to false.@value true, false@see Circle simple | boolean | - | false |
editable | If set to true, the user can edit this circle by dragging the control points shown at the center and around the circumference of the circle. Defaults to false.@value true, false@see Circle simple | boolean | - | false |
fillColor | The fill color. All CSS3 colors are supported except for extended named colors.@value '#000'@see Circle editable | string | - | '' |
fillOpacity | The fill opacity between 0.0 and 1.0@value 1@see Circle editable | number | - | 1 |
strokeColor | The stroke color. All CSS3 colors are supported except for extended named colors.@value '#000'@see Circle editable | string | - | '' |
strokeOpacity | The stroke opacity between 0.0 and 1.0.@value 1@see Circle editable | number | - | 1 |
strokePosition | The stroke position. Defaults to CENTER.@value 1@see Circle editable@see StrokePosition constant | number | - | 0 |
strokeWeight | The stroke width in pixels.@value 1@see Circle editable | number | - | 1 |
visible | Whether this polyline is visible on the map. Defaults to true.@value 1@see Circle editable | boolean | - | true |
options | The Google Maps circle options@value {strokeColor: "#FF0000", strokeOpacity: 0.8, strokeWeight: 2, fillColor: "#FF0000", fillOpacity: 0.35, map, center: citymap[city].center, radius: Math.sqrt(citymap[city].population) * 100, } @see Circle simple | object | - | undefined |