Tag Info

New answers tagged


It is not as easy as it used to be, but there are some helper methods for the collection. That should allow you to do similar things as ThomasG77 described above. Assuming you have a map named map, with 4 layers i.e. [base_layer, coastlines, heatmap, markers] Then you can get the collection via map.getLayers(), and the array of layers via ...


I am having trouble using this solution, most likely due to my lack of understanding of such things. can you please post an example of the result, I believe it would really help me out?

Top 50 recent answers are included