|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--Garmin.MapController
Garmin.MapController
Defined in GoogleMapController.js
| Constructor Summary | |
Garmin.MapController(<String> mapString)
Accepts {Garmin.Track} and {Garmin.Waypoint} objects and draws them on a Google Map. |
|
| Method Summary | |
void
|
__Garmin.MapController.addMarker(<GLatLng> point)
|
void
|
__Garmin.MapController.addMarkerWithIcon(<GLatLng> point, <GIcon> icon)
Adds a marker to the point with the icon specified |
void
|
__Garmin.MapController.addStartFinishMarkers(track)
Add start and finish markers to a track |
void
|
__Garmin.MapController.centerAndScale(lat, lon, scale)
Set the center point and zoom level of the map. |
void
|
__Garmin.MapController.drawTrack(track, color)
|
void
|
__Garmin.MapController.drawWayPoint(waypoint)
|
Object
|
__Garmin.MapController.findAZoomLevel(points)
|
void
|
__Garmin.MapController.setOnBounds(bounds)
|
String
|
__Garmin.MapController.toString()
|
void
|
addMarker(<GLatLng> point)
|
void
|
addMarkerWithIcon(<GLatLng> point, <GIcon> icon)
Adds a marker to the point with the icon specified |
void
|
addStartFinishMarkers(track)
Add start and finish markers to a track |
void
|
centerAndScale(lat, lon, scale)
Set the center point and zoom level of the map. |
void
|
drawTrack(track, color)
|
void
|
drawWayPoint(waypoint)
|
Object
|
findAZoomLevel(points)
|
void
|
initialize(mapString)
|
void
|
setOnBounds(bounds)
|
String
|
toString()
|
| Constructor Detail |
Garmin.MapController(<String> mapString)
mapString - id of element to place map in
| Method Detail |
void __Garmin.MapController.addMarker(<GLatLng> point)
point - to add a marker to
void __Garmin.MapController.addMarkerWithIcon(<GLatLng> point, <GIcon> icon)
point - to add a marker to
icon - to add at the point
void __Garmin.MapController.addStartFinishMarkers(track)
The - track to add markers to
void __Garmin.MapController.centerAndScale(lat, lon, scale)
Latitude - of the center point
Longitude - of the center point
Zoom - level
void __Garmin.MapController.drawTrack(track, color)
The - track to draw
Color - in RGB Hex format, Garmin.MapController.prototype.default = "#ff0000";*
void __Garmin.MapController.drawWayPoint(waypoint)
The - waypoint to add to the map
Object __Garmin.MapController.findAZoomLevel(points)
The - array of points to find a zoom level for
void __Garmin.MapController.setOnBounds(bounds)
String __Garmin.MapController.toString()
void addMarker(<GLatLng> point)
point - to add a marker to
void addMarkerWithIcon(<GLatLng> point, <GIcon> icon)
point - to add a marker to
icon - to add at the point
void addStartFinishMarkers(track)
The - track to add markers to
void centerAndScale(lat, lon, scale)
Latitude - of the center point
Longitude - of the center point
Zoom - level
void drawTrack(track, color)
The - track to draw
Color - in RGB Hex format, Garmin.MapController.prototype.default = "#ff0000";*
void drawWayPoint(waypoint)
The - waypoint to add to the map
Object findAZoomLevel(points)
The - array of points to find a zoom level for
void initialize(mapString)
void setOnBounds(bounds)
String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||