Class Exanpe.GMap
Represents a GoogleMap component. Can be accessed through JavaScript by its id.
Defined in: exanpe-t5-lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Exanpe.GMap(id, latitude, longitude, mapType, zoom, draggable, markers, polyPoints, polyStrokeColor, polyStrokeOpacity, polyStrokeWeight, polygon)
Constructor
|
Field Attributes | Field Name and Description |
---|---|
If the map is draggable or not
|
|
Id of the instance
|
|
Google Map info window object
|
|
Initial Latitude used to center the map
|
|
Initial Longitude used to center the map
|
|
Google Map object
|
|
The type of map to display (ROADMAP, HYBRID, .
|
|
Google Map markers to display
|
|
Google Map options
|
|
Google Map Poly object
|
|
Draw a Polygon instead of Polyline (default) if set to true
|
|
Google Map points used by Polyline
|
|
Color of Polyline/Polygon lines
|
|
Opacity of Polyline/Polygon line's color
|
|
Weight of Polyline/Polygo line's in pixels.
|
|
Initial Map zoom level
|
Class Detail
Exanpe.GMap(id, latitude, longitude, mapType, zoom, draggable, markers, polyPoints, polyStrokeColor, polyStrokeOpacity, polyStrokeWeight, polygon)
Constructor
- Parameters:
- {String} id
- the id of the component
- {String} latitude
- the latitude position used to center the map
- {String} longitude
- the longitude position used to center the map
- {String} mapType
- the type of map to display
- {int} zoom
- the initial Map zoom level
- {boolean} draggable
- indicating if the map is draggable or not
- {Object[]} markers
- the markers to display into the map
- {Object[]} polyPoints
- the points used to display polyline into the map
- {String} polyStrokeColor
- the color of Polyline/Polygon lines
- {String} polyStrokeOpacity
- the opacity Polyline/Polygon line's color
- {String} polyStrokeWeight
- the weight of Polyline/Polygo line's in pixels.
- {boolean} polygon
- draw a Polygon instead of Polyline (default) if set to true
Field Detail
draggable
If the map is draggable or not
id
Id of the instance
infoWindow
Google Map info window object
latitude
Initial Latitude used to center the map
longitude
Initial Longitude used to center the map
map
Google Map object
mapType
The type of map to display (ROADMAP, HYBRID, ...)
markers
Google Map markers to display
options
Google Map options
poly
Google Map Poly object
polygon
Draw a Polygon instead of Polyline (default) if set to true
polyPoints
Google Map points used by Polyline
polyStrokeColor
Color of Polyline/Polygon lines
polyStrokeOpacity
Opacity of Polyline/Polygon line's color
polyStrokeWeight
Weight of Polyline/Polygo line's in pixels.
zoom
Initial Map zoom level