4 Matching Annotations
  1. Jul 2016
  2. developers.google.com developers.google.com
    1. origin: new google.maps.Point(0, 0),

      like if you want a sprite you would specify a different origin

    1. {...}

      associative array goes here

    2. google.maps.Map

      a constructor

    3.   #map { height: 100%; }

      isn't html and body already declared as having height of 100%?

      Why isnt' that enough?

      ANS :

      "Note that divs usually take their width from their containing element, and empty divs usually have 0 height. For this reason, you must always set a height on the

      <div> explicitly."