diff --git a/docs/api/scene.en.md b/docs/api/scene.en.md index b4f55bd491..5bfd741c2a 100644 --- a/docs/api/scene.en.md +++ b/docs/api/scene.en.md @@ -76,6 +76,19 @@ const scene = new L7.Scene({ 需传入 dom 容器或者容器 id  {domObject || string} [必选] +### logoPosition + +L7 Logo 的显示位置 默认左下角 + +- bottomright +- topright +- bottomleft, +- topleft` + +### logoVisible + +是否显示 L7 的 Logo {boolean} true + ### zoom 地图初始显示级别 {number} (0-22) diff --git a/docs/api/scene.zh.md b/docs/api/scene.zh.md index 30675b7f2e..39dc8fea5b 100644 --- a/docs/api/scene.zh.md +++ b/docs/api/scene.zh.md @@ -78,19 +78,16 @@ const scene = new L7.Scene({ ### logoPosition -L7 Logo的显示位置 默认左下角 +L7 Logo 的显示位置 默认左下角 - bottomright - topright - bottomleft, - topleft` +### logoVisible -### logoVisible - -是否显示L7的Logo {boolean} true - - +是否显示 L7 的 Logo {boolean} true ### zoom diff --git a/packages/layers/package.json b/packages/layers/package.json index fbba05bfe7..9bf7f141ba 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -28,7 +28,6 @@ "@babel/runtime": "^7.7.7", "@mapbox/martini": "^0.1.0", "@turf/meta": "^6.0.2", - "@types/d3-color": "^1.2.2", "d3-array": "^2.3.1", "d3-color": "^1.4.0", "d3-scale": "^3.1.0", @@ -47,7 +46,8 @@ "@types/d3-scale": "^2.1.1", "@types/earcut": "^2.1.0", "@types/gl-matrix": "^2.4.5", - "@types/lodash": "^4.14.138" + "@types/lodash": "^4.14.138", + "@types/d3-color": "^1.2.2" }, "gitHead": "9fabb78790428d2025b89fb6146fc555cb1d987d", "publishConfig": { diff --git a/packages/utils/package.json b/packages/utils/package.json index e89bb224eb..0d7dd7b196 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -23,7 +23,11 @@ "license": "ISC", "dependencies": { "@babel/runtime": "^7.7.7", - "@turf/helpers": "^6.1.4" + "@turf/helpers": "^6.1.4", + "d3-color": "^1.4.0" + }, + "devDependencies": { + "@types/d3-color": "^1.2.2" }, "gitHead": "00d23ef70d9ec76eec26833fc50ac18fe584cf26", "publishConfig": {