Add layers.zIndex option and beforeReset event to Map API
Update generated docs
Merge branch 'map-api'