Implements nativeMap.addPolygons() and removePolygons().