/**** Start of imports. If edited, may not auto-convert in the playground. ****/
var peatland_db = ee.Image("projects/sat-io/open-datasets/GLOBAL-PEATLAND-DATABASE");
/***** End of imports. If edited, may not auto-convert in the playground. *****/
// Load administrative boundaries for Indonesia
var admin1 = ee.FeatureCollection("projects/sat-io/open-datasets/geoboundaries/HPSCGS-ADM1");
var geometry = admin1.filter(ee.Filter.eq('shapeGroup', 'IDN'));

//Map.centerObject(geometry, 4);
Map.setOptions("Hybrid");

var peat = peatland_db  //.clip(geometry)

    //.clip(geometry)
    .unmask();

// Display the results
Map.addLayer(peat.clip(geometry),
  {min: 0, max: 1, palette: ['#f7fcf5', '#c7e9c0', '#74c476', '#238b45', '#00441b']}, 
  'Peatland Distribution', true
  );