Skip to content

Latest commit

 

History

History
68 lines (40 loc) · 2.31 KB

ControlPosition.md

File metadata and controls

68 lines (40 loc) · 2.31 KB

See html formatted version

ControlPosition constants

google.maps.ControlPosition constants

Identifiers used to specify the placement of controls on the map. Controls are positioned relative to other controls in the same layout position. Controls that are added first are positioned closer to the edge of the map.
  +----------------+
  + TL    TC    TR +
  + LT          RT +
  +                +
  + LC          RC +
  +                +
  + LB          RB +
  + BL    BC    BR +
  +----------------+
Elements in the top or bottom row flow towards the middle of the row. Elements in the left or right column flow towards the middle of the column.

Constants

undefined

Elements are positioned in the center of the bottom row.

undefined

Elements are positioned in the bottom left and flow towards the middle. Elements are positioned to the right of the Google logo.

undefined

Elements are positioned in the bottom right and flow towards the middle. Elements are positioned to the left of the copyrights.

undefined

Elements are positioned on the left, above bottom-left elements, and flow upwards.

undefined

Elements are positioned in the center of the left side.

undefined

Elements are positioned on the left, below top-left elements, and flow downwards.

undefined

Elements are positioned on the right, above bottom-right elements, and flow upwards.

undefined

Elements are positioned in the center of the right side.

undefined

Elements are positioned on the right, below top-right elements, and flow downwards.

undefined

Elements are positioned in the center of the top row.

undefined

Elements are positioned in the top left and flow towards the middle.

undefined

Elements are positioned in the top right and flow towards the middle.