Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
google
maps
Polygon
Class Polygon
MVC
Hierarchy
MVCObject
Polygon
Index
Constructor methods
constructor
Methods
addListener
bindTo
changed
get
getDraggable
getEditable
getMap
getPath
getPaths
getVisible
notify
set
setDraggable
setEditable
setMap
setOptions
setPath
setPaths
setValues
setVisible
unbind
unbindAll
Constructor methods
constructor
(
opts
?:
PolygonOptions
)
:
Polygon
Parameters
opts?:
PolygonOptions
optional
Returns
Polygon
Methods
public
addListener
(
eventName
:
string
, handler
:
(...args: any[]) => void
)
:
MapsEventListener
Parameters
eventName:
string
handler:
(...args: any[]) => void
Returns
MapsEventListener
public
bindTo
(
key
:
string
, target
:
MVCObject
, targetKey
?:
string
, noNotify
?:
boolean
)
Parameters
key:
string
target:
MVCObject
targetKey?:
string
optional
noNotify?:
boolean
optional
public
changed
(
key
:
string
)
Parameters
key:
string
public
get
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
public
getDraggable
(
)
:
boolean
Returns
boolean
public
getEditable
(
)
:
boolean
Returns
boolean
public
getMap
(
)
:
Map
Returns
Map
public
getPath
(
)
:
MVCArray
Returns
MVCArray
public
getPaths
(
)
:
MVCArray
Returns
MVCArray
public
getVisible
(
)
:
boolean
Returns
boolean
public
notify
(
key
:
string
)
Parameters
key:
string
public
set
(
key
:
string
, value
:
any
)
Parameters
key:
string
value:
any
public
setDraggable
(
draggable
:
boolean
)
Parameters
draggable:
boolean
public
setEditable
(
editable
:
boolean
)
Parameters
editable:
boolean
public
setMap
(
map
:
Map
)
Parameters
map:
Map
public
setOptions
(
options
:
PolygonOptions
)
Parameters
options:
PolygonOptions
public
setPath
(
path
:
MVCArray
)
Parameters
path:
MVCArray
public
setPath
(
path
:
LatLng
[]
)
Parameters
path:
LatLng
[]
public
setPaths
(
paths
:
MVCArray
)
Parameters
paths:
MVCArray
public
setPaths
(
paths
:
MVCArray
[]
)
Parameters
paths:
MVCArray
[]
public
setPaths
(
path
:
LatLng
[]
)
Parameters
path:
LatLng
[]
public
setPaths
(
path
:
Array<google.maps.LatLng[]>
)
Parameters
path:
Array<google.maps.LatLng[]>
public
setValues
(
values
:
any
)
Parameters
values:
any
public
setVisible
(
visible
:
boolean
)
Parameters
visible:
boolean
public
unbind
(
key
:
string
)
Parameters
key:
string
public
unbindAll
(
)
Globals
google
google.maps
google.maps.adsense
google.maps.drawing
google.maps.geometry
google.maps.panoramio
google.maps.places
google.maps.visualization
google.maps.weather
Animation
ControlPosition
DirectionsStatus
DistanceMatrixElementStatus
DistanceMatrixStatus
ElevationStatus
GeocoderLocationType
GeocoderStatus
KmlLayerStatus
MapTypeControlStyle
MapTypeId
MapTypeStyleElementType
MaxZoomStatus
NavigationControlStyle
ScaleControlStyle
StreetViewStatus
StrokePosition
SymbolPath
TravelMode
UnitSystem
ZoomControlStyle
CircleOptions
DirectionsLeg
DirectionsRendererOptions
DirectionsRequest
DirectionsResult
DirectionsRoute
DirectionsStep
DirectionsWaypoint
Distance
DistanceMatrixRequest
DistanceMatrixResponse
DistanceMatrixResponseElement
DistanceMatrixResponseRow
Duration
ElevationResult
FusionTablesCell
FusionTablesHeatmap
FusionTablesLayerOptions
FusionTablesMarkerOptions
FusionTablesMouseEvent
FusionTablesPolygonOptions
FusionTablesPolylineOptions
FusionTablesQuery
FusionTablesStyle
GeocoderAddressComponent
GeocoderGeometry
GeocoderRequest
GeocoderResult
GroundOverlayOptions
IconSequence
ImageMapTypeOptions
InfoWindowOptions
KmlAuthor
KmlFeatureData
KmlLayerMetadata
KmlLayerOptions
KmlMouseEvent
LocationElevationRequest
MapOptions
MapPanes
MapType
MapTypeControlOptions
MapTypeStyle
MapTypeStyleFeatureType
MapTypeStyler
MapsEventListener
MarkerOptions
MarkerShape
MaxZoomResult
MouseEvent
NavigationControlOptions
OverviewMapControlOptions
PanControlOptions
PathElevationRequest
PolyMouseEvent
PolygonOptions
PolylineOptions
Projection
RectangleOptions
RotateControlOptions
ScaleControlOptions
StreetViewAddressControlOptions
StreetViewControlOptions
StreetViewLink
StreetViewLocation
StreetViewPanoramaData
StreetViewPanoramaOptions
StreetViewPov
StreetViewTileData
StyledMapTypeOptions
Symbol
Time
TransitAgency
TransitDetails
TransitLine
TransitOptions
TransitStop
TransitVehicle
ZoomControlOptions
BicyclingLayer
Circle
DirectionsRenderer
DirectionsService
DistanceMatrixService
ElevationService
FusionTablesLayer
Geocoder
GroundOverlay
ImageMapType
InfoWindow
KmlLayer
LatLng
LatLngBounds
MVCArray
MVCObject
Map
MapCanvasProjection
MapTypeRegistry
Marker
MarkerImage
MaxZoomService
OverlayView
Point
Polygon
constructor
addListener
bindTo
changed
get
getDraggable
getEditable
getMap
getPath
getPaths
getVisible
notify
set
setDraggable
setEditable
setMap
setOptions
setPath
setPaths
setValues
setVisible
unbind
unbindAll
Polyline
Rectangle
Size
StreetViewPanorama
StreetViewService
StyledMapType
TrafficLayer
TransitLayer
event