1.1.8 • Published 2 years ago
@langge-data/mapbox-gl-style-config v1.1.8
@langge-data/mapbox-gl-style-config
a class library of measurement tools based on mapbox-gl
Installation
Requires nodejs.
$ npm install @langge-data/mapbox-gl-style-config --save-dev
Documentation
dev:http://maptile-style.langge.tech/www-maptile-conf/styles/sdmap/dev-style.json test:http://maptile-style.langge.tech/www-maptile-conf/styles/sdmap/test-style.json pre:http://maptile-style.langge.tech/www-maptile-conf/styles/sdmap/pre-style.json prod:https://maptile-style.langgemap.com/maptile-conf/styles/sdmap/style.json
API
getStyleConfig(mode,version)
一个基于 mapbox gl 获取style 样式配置文件的类库
Parameters
Examples
getStyleConfig('dev','1.3.0')
getPlatformStyleConfig(mode,platform,version)
一个基于 mapbox gl 获取style 样式配置文件的类库
Parameters
mode
String 当前工程运行环境(dev、test、pre、prod)platform
String 获取的平台类型(poi,eval,info)version
String 获取配置文件的版本号,默认值:1.5.0
platform 枚举说明:
value | desc |
---|---|
info | 情报核实平台 |
eval | 数据评测平台 |
poi | POI作业平台 |
Examples
getPlatformStyleConfig('dev','info','1.3.0')
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago