From 709a642b81cc404080a337fbb1bbf7f2e312d37d Mon Sep 17 00:00:00 2001 From: ambarja Date: Tue, 15 Mar 2022 01:42:54 -0500 Subject: [PATCH] update --- README.md | 5 ++++- ee-cptcity/module/ee-cptcity.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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],