Map objects are now attached to the handler.
handler.map
retrieves the js proxy object the gem builds to handle the map and that you can customizehandler.getMap()
retrieves the google map objecthandler.map.getServiceObject()
is the norm to get google object from proxy objects
The callback is now the function you pass in buildMap
.
You have all markers in your markers
var. They follow the norm so you can access the google marker object doing: markers[0].getServiceObject()
If you want to pass options to your markers, add them as a second argument:
handler.addMarkers(items, options);
Documentation is in the code, within builders, see here