xy-map 1.0.30 → 1.0.32
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/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -67,6 +67,11 @@ import {
|
|
|
67
67
|
mapHoverHtml
|
|
68
68
|
} from './util/mapHoverHtml'
|
|
69
69
|
|
|
70
|
+
import {
|
|
71
|
+
GeoAddress,
|
|
72
|
+
Geolocation
|
|
73
|
+
} from './util/gaodeApi'
|
|
74
|
+
|
|
70
75
|
// 图层操作
|
|
71
76
|
const mapLayers = {
|
|
72
77
|
showLayerText,
|
|
@@ -106,6 +111,8 @@ const mapTools = {
|
|
|
106
111
|
distance,
|
|
107
112
|
lineCenter,
|
|
108
113
|
polygonCenter,
|
|
114
|
+
GeoAddress,
|
|
115
|
+
Geolocation,
|
|
109
116
|
}
|
|
110
117
|
|
|
111
118
|
// 地图事件
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
</template>
|
|
28
28
|
|
|
29
29
|
<script>
|
|
30
|
-
import { mapSdk } from '
|
|
31
|
-
import { GeoAddress } from '@/util/gaodeApi.js'
|
|
30
|
+
import { mapSdk } from '../../index.js'
|
|
32
31
|
import drawTools from './index.vue'
|
|
32
|
+
import { GeoAddress } from '../../util/gaodeApi.js'
|
|
33
33
|
|
|
34
34
|
export default {
|
|
35
35
|
components: {
|