Basic Map
You must define container ID, latitudeand longitudeof the map's center.
You also can define zoom, widthand height. By default, zoom is 15. Width an height in a CSS class will replace these values.
Map types are defined in the mapTypeproperty. Allowed values are: roadmap(default), satellite, hybridand terrain.
Map Events
Click or drag this map to see attached events. You can check the list of map events here.
Markers
Latitudeand Longitudeare required. You can also attach additional information with details
, which will be passed to Event object (e
) in the events previously defined.