hn-map 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/graphic/imagePoint.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -2546,9 +2546,9 @@
|
|
|
2546
2546
|
layout: {
|
|
2547
2547
|
"icon-image": option.id + "_image",
|
|
2548
2548
|
// "icon-size": 1,
|
|
2549
|
-
"icon-ignore-placement":
|
|
2549
|
+
"icon-ignore-placement": true,
|
|
2550
2550
|
// "icon-offset": convertPosition(option.offset),
|
|
2551
|
-
"text-ignore-placement":
|
|
2551
|
+
"text-ignore-placement": true,
|
|
2552
2552
|
//
|
|
2553
2553
|
"text-field": "{name}",
|
|
2554
2554
|
// 文本
|
package/package.json
CHANGED
|
@@ -195,9 +195,9 @@ export default (hnMap: any) => {
|
|
|
195
195
|
layout: {
|
|
196
196
|
"icon-image": option.id + "_image",
|
|
197
197
|
// "icon-size": 1,
|
|
198
|
-
"icon-ignore-placement":
|
|
198
|
+
"icon-ignore-placement": true,
|
|
199
199
|
// "icon-offset": convertPosition(option.offset),
|
|
200
|
-
"text-ignore-placement":
|
|
200
|
+
"text-ignore-placement": true, //
|
|
201
201
|
"text-field": "{name}", // 文本
|
|
202
202
|
"text-size": Number(option.fontSize),
|
|
203
203
|
"text-anchor": option.verticalOrigin,
|