I encourage you to read the source, it's pretty straight forward.
The main principle is: the handler invokes builders returning model instances.
So:
The handler lets you create all overlays.
Collection methods are:
addMarkers(array_of_data, options)
addCircles(array_of_data, options)
addPolylines(array_of_data, options)
addPolygons(array_of_data, options)
addKmls(array_of_data, options)
If you only have to add a single overlay:
addMarker(data, options)
addCircle(data, options)
addPolyline(data, options)
addPolygon(data, options)
addKml(data, options)
data are info expected to build our object. options are the one used by google, straight.
Check the builders to get all details, they are provided before the constructor.
There was an error while loading. Please reload this page.