I change the island and GeoRange from the example, but it shows the error, can anyone help me with that?
Follow link as the original example(The first and second pictures) : https://risu.io/SOmU
map = GeoGraphics[Entity["Country", "MaldiveIslands"]["Polygon"],
GeoRange -> {{0, 8}, {72, 74}}, GeoBackground -> None, ImageSize -> 2048];
image = Binarize[Image[ImageData[Image[map]][[All, All, 4]]]];
labeledArray = MorphologicalComponents[image];