Satellite

setSatellite(option)

Description

Change to map mode viewed from satellite. 'Visible' can pull the map into satellite mode, 'none' turn it off and switches to the default map type.

Parameter

option (String)
default='none'

  • visible : Turn on a satellite
  • none : Turn off a satellite

Example

  map.setSatellite('none')

removeSatellite()

Description

Remove the satellite button on the top right of the map.

Example

map.removeSatellite()