- Home >
- Documentation >
- Overlays >
- polyline
polyline
This function adds a google.maps.Polyline.
Usage
Parameters
- options {google.maps.PolylineOptions}
Note
- options.path values are converted into google.maps.LatLng.
Example
$("#test").gmap3({ map:{ options:{ center:[0, -180], zoom:2 } }, polyline:{ options:{ strokeColor: "#FF0000", strokeOpacity: 1.0, strokeWeight: 2, path:[ [37.772323, -122.214897], [21.291982, -157.821856], [-18.142599, 178.431], [-27.46758, 153.027892] ] } } });