Reputation: 1300
There are 2 options for base map in Earth Engine: Map
(default) and Satellite
. I would like to have Satellite
as default base map when I press ctrl + enter
(or click run
button). I know that I can switch between the 2 options by clicking on the desired one, but I would like to make this automatic.
I tried:
Map.setOptions({
mapTypeId: "SATELLITE"
});
This almost does what I want expect that all labels and countries / administrative boundaries are turned off. How can I have both the satellite base map and these features?
I checked this, but I can't figure out how to achieve what I want.
Upvotes: 0
Views: 300
Reputation: 128
Does this help:
Map.setOptions('HYBRID')
https://developers.google.com/earth-engine/apidocs/map-setoptions
Upvotes: 1