- Configure the mongoDB database environment (you can install mongodb compass locally, the local database will be installed by default, localhost:27017 will connect to the database, create vue_webgis/users, and the registered user can log in after running the program), or you can choose the online mongodb database, modify You can configure the database connection in config.
- cd client
- npm install (install dependencies in client code)
- cd ../
- npm install (install dependencies in the server code)
- npm run dev (front-end and back-end serialization, start front-end and back-end at the same time)
Map home page, support the switching of multi-source online network maps such as Google, Tiantu, AutoNavi, Tencent, Geoq, ArcGIS, etc.
Google Maps public imagery removed (January 2021) Adjust the confusion of the original code view and components; MapBox map component encapsulation, data layer loading component, map basemap switching component; (2021.1.31)
3D building map, loading GeoServer 3D building vector tiles based on MapBoxGL
MapBoxGL integrates deck.gl for high-performance visualization
2.1 Practical purpose: use modular programming based on the VUE framework to realize the development of WebGIS
- Front-end and back-end project construction
- Login and register (token verification function)
- Rich map development api DEMO integration, map visualization implementation
Map Framework: MapBoxGL/openlayers 5.x / ArcGIS API 4.x
Build interface documentation: Node + express + jwt;
Build front-end pages: VueCli 3.0 + ElementUI
Data request and interception: Axios + MongoDB
Other upcoming or already used technologies: GeoServer, PostGIS, deck.gl, echarts,
1.1 Build a server (based on express)
1.2 Connect to the local MongoDB database
1.3 Build routing and data model
express's body-parser middleware
bcrypt encryption module
jsonwebtoken
Get token (to get data token/jsonwebtoken)-----verify token (passport/passport-jwt)