m-gis-ui
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -23,3 +23,3 @@ 'use strict'; | ||
patchBrowser().then(options => { | ||
return index.bootstrapLazy([["map-district_2.cjs",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron.cjs",[[6,"map-isochron",{"name":[1]}]]],["map-legend.cjs",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel.cjs",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
return index.bootstrapLazy([["map-district_2.cjs",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"color":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron.cjs",[[6,"map-isochron",{"name":[1]}]]],["map-legend.cjs",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel.cjs",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
}); | ||
@@ -26,0 +26,0 @@ |
@@ -17,3 +17,3 @@ 'use strict'; | ||
return patchEsm().then(() => { | ||
return index.bootstrapLazy([["map-district_2.cjs",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron.cjs",[[6,"map-isochron",{"name":[1]}]]],["map-legend.cjs",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel.cjs",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
return index.bootstrapLazy([["map-district_2.cjs",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"color":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron.cjs",[[6,"map-isochron",{"name":[1]}]]],["map-legend.cjs",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel.cjs",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
}); | ||
@@ -20,0 +20,0 @@ }; |
@@ -137,2 +137,3 @@ 'use strict'; | ||
this.loadDistrict = index.createEvent(this, "loadDistrict", 7); | ||
this.showIsochronous = index.createEvent(this, "showIsochronous", 7); | ||
this.drawEnd = index.createEvent(this, "drawEnd", 7); | ||
@@ -185,2 +186,3 @@ /** | ||
this.mode = 'tooltip'; | ||
this.color = ''; | ||
this.actions = []; | ||
@@ -196,2 +198,6 @@ this.isClear = false; | ||
} | ||
handleShowIsochronous(event) { | ||
event.stopPropagation(); | ||
this.showIsochronous.emit(event); | ||
} | ||
handleDrawEnd() { | ||
@@ -246,2 +252,3 @@ const { mapInstance, context: { mouseTool, rangingTool } } = this; | ||
drawEndEmit(obj) { | ||
console.log('g_obj', obj.getBounds()); | ||
const { actionId } = this.context; | ||
@@ -290,2 +297,3 @@ this.drawEnd.emit({ actionId, obj, clearPaintAndCloseMouseTool: this.clearPaintAndCloseMouseTool.bind(this) }); | ||
}); | ||
console.log('context', this.context); | ||
this.handleDrawEnd(); | ||
@@ -307,3 +315,3 @@ }); | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -342,6 +350,6 @@ ]; | ||
if (customEvent) { | ||
return (index.h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, index.h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && index.h("span", null, name))); | ||
return (index.h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, index.h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && index.h("span", { style: { color: this.color } }, name))); | ||
} | ||
else { | ||
return (index.h("button", { type: "button", "data-tooltip": name }, index.h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && index.h("span", { "data-id": id, "data-type": type }, name))); | ||
return (index.h("button", { type: "button", "data-tooltip": name }, index.h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && index.h("span", { "data-id": id, "data-type": type, style: { color: this.color } }, name))); | ||
} | ||
@@ -348,0 +356,0 @@ }))); |
@@ -50,2 +50,3 @@ import { h } from '@stencil/core'; | ||
this.mode = 'tooltip'; | ||
this.color = ''; | ||
this.actions = []; | ||
@@ -61,2 +62,6 @@ this.isClear = false; | ||
} | ||
handleShowIsochronous(event) { | ||
event.stopPropagation(); | ||
this.showIsochronous.emit(event); | ||
} | ||
handleDrawEnd() { | ||
@@ -111,2 +116,3 @@ const { mapInstance, context: { mouseTool, rangingTool } } = this; | ||
drawEndEmit(obj) { | ||
console.log('g_obj', obj.getBounds()); | ||
const { actionId } = this.context; | ||
@@ -155,2 +161,3 @@ this.drawEnd.emit({ actionId, obj, clearPaintAndCloseMouseTool: this.clearPaintAndCloseMouseTool.bind(this) }); | ||
}); | ||
console.log('context', this.context); | ||
this.handleDrawEnd(); | ||
@@ -172,3 +179,3 @@ }); | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -207,6 +214,6 @@ ]; | ||
if (customEvent) { | ||
return (h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", null, name))); | ||
return (h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { style: { color: this.color } }, name))); | ||
} | ||
else { | ||
return (h("button", { type: "button", "data-tooltip": name }, h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { "data-id": id, "data-type": type }, name))); | ||
return (h("button", { type: "button", "data-tooltip": name }, h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { "data-id": id, "data-type": type, style: { color: this.color } }, name))); | ||
} | ||
@@ -352,2 +359,20 @@ }))); | ||
}, | ||
"color": { | ||
"type": "string", | ||
"mutable": false, | ||
"complexType": { | ||
"original": "string", | ||
"resolved": "string", | ||
"references": {} | ||
}, | ||
"required": false, | ||
"optional": true, | ||
"docs": { | ||
"tags": [], | ||
"text": "\u5DE5\u5177\u680F\u89C6\u56FE\u6A21\u5F0F\u5E73\u94FA\u663E\u793A\u65F6\u7684\u5B57\u4F53\u989C\u8272" | ||
}, | ||
"attribute": "color", | ||
"reflect": false, | ||
"defaultValue": "''" | ||
}, | ||
"actions": { | ||
@@ -457,2 +482,17 @@ "type": "unknown", | ||
}, { | ||
"method": "showIsochronous", | ||
"name": "showIsochronous", | ||
"bubbles": true, | ||
"cancelable": true, | ||
"composed": true, | ||
"docs": { | ||
"tags": [], | ||
"text": "\u70B9\u51FB\u7B49\u65F6\u5708\u65F6\u89E6\u53D1\u7684\u901A\u4FE1\u4E8B\u4EF6" | ||
}, | ||
"complexType": { | ||
"original": "any", | ||
"resolved": "any", | ||
"references": {} | ||
} | ||
}, { | ||
"method": "drawEnd", | ||
@@ -459,0 +499,0 @@ "name": "drawEnd", |
@@ -11,2 +11,3 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client'; | ||
this.loadDistrict = createEvent(this, "loadDistrict", 7); | ||
this.showIsochronous = createEvent(this, "showIsochronous", 7); | ||
this.drawEnd = createEvent(this, "drawEnd", 7); | ||
@@ -59,2 +60,3 @@ /** | ||
this.mode = 'tooltip'; | ||
this.color = ''; | ||
this.actions = []; | ||
@@ -70,2 +72,6 @@ this.isClear = false; | ||
} | ||
handleShowIsochronous(event) { | ||
event.stopPropagation(); | ||
this.showIsochronous.emit(event); | ||
} | ||
handleDrawEnd() { | ||
@@ -120,2 +126,3 @@ const { mapInstance, context: { mouseTool, rangingTool } } = this; | ||
drawEndEmit(obj) { | ||
console.log('g_obj', obj.getBounds()); | ||
const { actionId } = this.context; | ||
@@ -164,2 +171,3 @@ this.drawEnd.emit({ actionId, obj, clearPaintAndCloseMouseTool: this.clearPaintAndCloseMouseTool.bind(this) }); | ||
}); | ||
console.log('context', this.context); | ||
this.handleDrawEnd(); | ||
@@ -181,3 +189,3 @@ }); | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -216,6 +224,6 @@ ]; | ||
if (customEvent) { | ||
return (h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", null, name))); | ||
return (h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { style: { color: this.color } }, name))); | ||
} | ||
else { | ||
return (h("button", { type: "button", "data-tooltip": name }, h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { "data-id": id, "data-type": type }, name))); | ||
return (h("button", { type: "button", "data-tooltip": name }, h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { "data-id": id, "data-type": type, style: { color: this.color } }, name))); | ||
} | ||
@@ -234,2 +242,3 @@ }))); | ||
"mode": [1], | ||
"color": [1], | ||
"actions": [16], | ||
@@ -236,0 +245,0 @@ "isClear": [4, "is-clear"], |
@@ -20,5 +20,5 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-e304c267.js'; | ||
patchBrowser().then(options => { | ||
return bootstrapLazy([["map-district_2",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron",[[6,"map-isochron",{"name":[1]}]]],["map-legend",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
return bootstrapLazy([["map-district_2",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"color":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron",[[6,"map-isochron",{"name":[1]}]]],["map-legend",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
}); | ||
//# sourceMappingURL=gis-ui.js.map |
@@ -14,3 +14,3 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-e304c267.js'; | ||
return patchEsm().then(() => { | ||
return bootstrapLazy([["map-district_2",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron",[[6,"map-isochron",{"name":[1]}]]],["map-legend",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
return bootstrapLazy([["map-district_2",[[1,"map-district",{"visible":[4],"source":[16],"nameAlias":[1,"name-alias"],"codeAlias":[1,"code-alias"],"childrenAlias":[1,"children-alias"],"districtType":[32],"keyword":[32],"list":[32],"districtSelected":[32]}],[1,"map-toolbar",{"gis":[8],"mapInstance":[8,"map-instance"],"visible":[4],"offset":[8],"operations":[16],"placement":[1],"mode":[1],"color":[1],"actions":[16],"isClear":[4,"is-clear"],"markerIconOptions":[16],"overlayOptions":[16],"infoWindowContent":[16]}]]],["map-isochron",[[6,"map-isochron",{"name":[1]}]]],["map-legend",[[0,"map-legend",{"visible":[4],"dataMap":[16],"left":[2],"bottom":[2]}]]],["map-toolbar-edit-panel",[[1,"map-toolbar-edit-panel",{"visible":[4],"actionType":[1,"action-type"],"name":[32],"description":[32]}]]]], options); | ||
}); | ||
@@ -17,0 +17,0 @@ }; |
@@ -133,2 +133,3 @@ import { r as registerInstance, c as createEvent, h } from './index-e304c267.js'; | ||
this.loadDistrict = createEvent(this, "loadDistrict", 7); | ||
this.showIsochronous = createEvent(this, "showIsochronous", 7); | ||
this.drawEnd = createEvent(this, "drawEnd", 7); | ||
@@ -181,2 +182,3 @@ /** | ||
this.mode = 'tooltip'; | ||
this.color = ''; | ||
this.actions = []; | ||
@@ -192,2 +194,6 @@ this.isClear = false; | ||
} | ||
handleShowIsochronous(event) { | ||
event.stopPropagation(); | ||
this.showIsochronous.emit(event); | ||
} | ||
handleDrawEnd() { | ||
@@ -242,2 +248,3 @@ const { mapInstance, context: { mouseTool, rangingTool } } = this; | ||
drawEndEmit(obj) { | ||
console.log('g_obj', obj.getBounds()); | ||
const { actionId } = this.context; | ||
@@ -286,2 +293,3 @@ this.drawEnd.emit({ actionId, obj, clearPaintAndCloseMouseTool: this.clearPaintAndCloseMouseTool.bind(this) }); | ||
}); | ||
console.log('context', this.context); | ||
this.handleDrawEnd(); | ||
@@ -303,3 +311,3 @@ }); | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -338,6 +346,6 @@ ]; | ||
if (customEvent) { | ||
return (h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", null, name))); | ||
return (h("button", { type: "button", "data-tooltip": name, onClick: ev => this[customEvent](ev) }, h("img", { src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { style: { color: this.color } }, name))); | ||
} | ||
else { | ||
return (h("button", { type: "button", "data-tooltip": name }, h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { "data-id": id, "data-type": type }, name))); | ||
return (h("button", { type: "button", "data-tooltip": name }, h("img", { "data-id": id, "data-type": type, src: icon, width: 20, height: 20 }), this.mode === 'tile' && h("span", { "data-id": id, "data-type": type, style: { color: this.color } }, name))); | ||
} | ||
@@ -344,0 +352,0 @@ }))); |
@@ -1,2 +0,2 @@ | ||
import{p as e,b as i}from"./p-b292496b.js";export{s as setNonce}from"./p-b292496b.js";const a=()=>{const i=import.meta.url;const a={};if(i!==""){a.resourcesUrl=new URL(".",i).href}return e(a)};a().then((e=>i([["p-94754029",[[1,"map-district",{visible:[4],source:[16],nameAlias:[1,"name-alias"],codeAlias:[1,"code-alias"],childrenAlias:[1,"children-alias"],districtType:[32],keyword:[32],list:[32],districtSelected:[32]}],[1,"map-toolbar",{gis:[8],mapInstance:[8,"map-instance"],visible:[4],offset:[8],operations:[16],placement:[1],mode:[1],actions:[16],isClear:[4,"is-clear"],markerIconOptions:[16],overlayOptions:[16],infoWindowContent:[16]}]]],["p-679c7c0e",[[6,"map-isochron",{name:[1]}]]],["p-b61b9535",[[0,"map-legend",{visible:[4],dataMap:[16],left:[2],bottom:[2]}]]],["p-7f864b99",[[1,"map-toolbar-edit-panel",{visible:[4],actionType:[1,"action-type"],name:[32],description:[32]}]]]],e))); | ||
import{p as e,b as i}from"./p-b292496b.js";export{s as setNonce}from"./p-b292496b.js";const a=()=>{const i=import.meta.url;const a={};if(i!==""){a.resourcesUrl=new URL(".",i).href}return e(a)};a().then((e=>i([["p-bfb15b8c",[[1,"map-district",{visible:[4],source:[16],nameAlias:[1,"name-alias"],codeAlias:[1,"code-alias"],childrenAlias:[1,"children-alias"],districtType:[32],keyword:[32],list:[32],districtSelected:[32]}],[1,"map-toolbar",{gis:[8],mapInstance:[8,"map-instance"],visible:[4],offset:[8],operations:[16],placement:[1],mode:[1],color:[1],actions:[16],isClear:[4,"is-clear"],markerIconOptions:[16],overlayOptions:[16],infoWindowContent:[16]}]]],["p-679c7c0e",[[6,"map-isochron",{name:[1]}]]],["p-b61b9535",[[0,"map-legend",{visible:[4],dataMap:[16],left:[2],bottom:[2]}]]],["p-7f864b99",[[1,"map-toolbar-edit-panel",{visible:[4],actionType:[1,"action-type"],name:[32],description:[32]}]]]],e))); | ||
//# sourceMappingURL=gis-ui.esm.js.map |
@@ -49,2 +49,6 @@ /* eslint-disable */ | ||
/** | ||
* 工具栏视图模式平铺显示时的字体颜色 | ||
*/ | ||
"color"?: string; | ||
/** | ||
* 地图基础库源对象 | ||
@@ -217,2 +221,6 @@ */ | ||
/** | ||
* 工具栏视图模式平铺显示时的字体颜色 | ||
*/ | ||
"color"?: string; | ||
/** | ||
* 地图基础库源对象 | ||
@@ -254,2 +262,6 @@ */ | ||
/** | ||
* 点击等时圈时触发的通信事件 | ||
*/ | ||
"onShowIsochronous"?: (event: MapToolbarCustomEvent<any>) => void; | ||
/** | ||
* 工具栏操作项源数据 | ||
@@ -256,0 +268,0 @@ */ |
@@ -32,2 +32,6 @@ import { EventEmitter } from '../../stencil-public-runtime'; | ||
/** | ||
* 工具栏视图模式平铺显示时的字体颜色 | ||
*/ | ||
color?: string; | ||
/** | ||
* 工具栏自定义操作配置项 | ||
@@ -58,2 +62,7 @@ */ | ||
/** | ||
* 点击等时圈时触发的通信事件 | ||
*/ | ||
showIsochronous: EventEmitter; | ||
handleShowIsochronous(event: Event): void; | ||
/** | ||
* 鼠标工具绘制覆盖物结束时触发的通信事件 | ||
@@ -60,0 +69,0 @@ */ |
{ | ||
"name": "m-gis-ui", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A component library based on Gaode Map API", | ||
@@ -32,3 +32,2 @@ "main": "dist/index.cjs.js", | ||
"devDependencies": { | ||
"@stencil/react-output-target": "^0.4.0", | ||
"@stencil/sass": "^2.0.3", | ||
@@ -35,0 +34,0 @@ "@types/jest": "^27.5.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1451256
6
10074