Fixed bug with basemap is required