fix clicklayer and basemap to enable api options