diff --git a/README.md b/README.md index fb9cf04..c9783c3 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,10 @@ Map.setZoom(1); Map.addLayer(srtm,viz,'Elevation(m)'); ``` -
+ + + +
### 🔴 **5.Examples** diff --git a/ee-cptcity/module/ee-cptcity.js b/ee-cptcity/module/ee-cptcity.js index 8ffb182..1beca49 100644 --- a/ee-cptcity/module/ee-cptcity.js +++ b/ee-cptcity/module/ee-cptcity.js @@ -54,7 +54,7 @@ link: https://github.com/davemlz/ee-pokepalettes * */ -exports.colorbar = function (title, minValue, maxValue, palette) { +exports.draw_pal = function (title, minValue, maxValue, palette) { function makeColorBarParams(palette) { return { bbox: [0, 0, 1, 0.1],