google-maps-documentation

StyledMapType class

google.maps.StyledMapType class

Creates a MapType with a custom style.

This class extends MVCObject.

This class implements MapType.

Constructor
StyledMapType
StyledMapType(styles[, options])
Parameters: 
Creates a styled MapType with the specified options. The StyledMapType takes an array of MapTypeStyles, where each MapTypeStyle is applied to the map consecutively. A later MapTypeStyle that applies the same MapTypeStylers to the same selectors as an earlier MapTypeStyle will override the earlier MapTypeStyle.
Methods
getTile
getTile(tileCoord, zoom, ownerDocument)
Parameters: 
  • tileCoordPoint
  • zoomnumber
  • ownerDocumentDocument
Return Value:  Node
releaseTile
releaseTile(tile)
Parameters: 
  • tileNode
Return Value:  None
Properties
alt
Type:  string
maxZoom
Type:  number
minZoom
Type:  number
name
Type:  string
projection
Type:  Projection
radius
Type:  number
tileSize
Type:  Size