dt-fcsmap-vue-lib
v1.0.1
Published
A Vue.js map component package based on ArcGIS API
Maintainers
Readme
dt-fcsmap-vue
A Vue.js map component package based on ArcGIS API.
Installation
npm install dt-fcsmap-vueUsage
- Register the component globally in your main.js/ts:
import { createApp } from 'vue'
import DtFcsMap from 'dt-fcsmap-vue'
import 'dt-fcsmap-vue/dist/style.css'
const app = createApp(App)
app.use(DtFcsMap)- Or import the component locally in your component:
<template>
<MapComponent />
</template>
<script>
import { MapComponent } from 'dt-fcsmap-vue'
export default {
components: {
MapComponent
}
}
</script>Dependencies
This package requires the following peer dependencies:
- Vue 3.x
- @arcgis/core 4.x
- Element Plus 2.x
Make sure these are installed in your project.
Features
- ArcGIS map integration
- Drawing tools for points, lines, and polygons
- Text and image annotations
- Export to image/PDF
- And more...
License
ISC
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm installCompile and Hot-Reload for Development
npm run devCompile and Minify for Production
npm run build打包内存超了解决: npm install -g increase-memory-limit increase-memory-limit
