Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 951 Bytes

MapTypeRegistry.md

File metadata and controls

35 lines (19 loc) · 951 Bytes

See html formatted version

MapTypeRegistry class

google.maps.MapTypeRegistry class

A registry for MapType instances, keyed by MapType id.

This class extends MVCObject.

Constructor

undefined

MapTypeRegistry()

Parameters:  None

The MapTypeRegistry holds the collection of custom map types available to the map for its use. The API consults this registry when providing the list of avaiable map types within controls, for example.

Methods

undefined

set(id, mapType)

Parameters: 

  • id:  string
  • mapType:  MapType|*

Return Value:  None

Sets the registry to associate the passed string identifier with the passed MapType.