performance improvements when adding layers to map