1. Home >
  2. Documentation >
  3. Overlays >
  4. polyline
 

polyline

This function adds a google.maps.Polyline.

Usage

Parameters

Note

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]
      ]
    }
  } 
});
Close