https://github.com/observedobserver/bmap-style-picker
a tool for baidu map to change its style more easily and user friendly
https://github.com/observedobserver/bmap-style-picker
Last synced: 7 months ago
JSON representation
a tool for baidu map to change its style more easily and user friendly
- Host: GitHub
- URL: https://github.com/observedobserver/bmap-style-picker
- Owner: ObservedObserver
- Created: 2018-01-22T13:42:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T15:50:29.000Z (almost 8 years ago)
- Last Synced: 2025-07-08T06:02:58.187Z (7 months ago)
- Language: JavaScript
- Size: 792 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Map-Color-Picker
> Map-Color-Picker 是一款基于帮助对百度地图进行自定义样式调整的可视化工具。它可以创建多个方案,并将前端完成的方案导出到json文件
使用
+ python3.6 flask
+ webpack + vue
## 安装
```bash
npm i
pip3 install flask
```
添加百度地图access_key(在index.html中)
```html
```
运行前端应用
```bash
npm run dev
# 或
npm run build
# 默认使用8080端口
```
运行后端应用
```bash
# 进入server文件夹
cd server
# 启动flask server (默认占用5000端口)
python3 server.py
```
`options.json` 中保存了用户操作之后的配色方案
## 界面
