Adds 'getVectorLayers' and 'getWmsLayers' public API methods to map module.