xcj7xymg
%appdata%
栅格地图配置
{
"version": 8,
"name": "behavior-spacetime-offline-template",
"sources": {
"behavior-basemap": {
"type": "raster",
"url": "pmtiles://resource/map/china.pmtiles",
"tileSize": 256
}
},
"layers": [
{
"id": "behavior-background",
"type": "background",
"paint": {
"background-color": "#f7fafc"
}
},
{
"id": "behavior-raster-layer",
"type": "raster",
"source": "behavior-basemap"
}
]
}
metadata.json
{
"name": "light",
"description": "A Test Metadata",
"version": "3",
"format": "png",
"minzoom": 5,
"maxzoom": 5
}
./pmtiles.exe convert light.mbtiles china.pmtiles
./pmtiles.exe show china.pmtiles
pip install smellman-mbutil
mb-util tiles light.mbtiles
激活
调用说明:
regInfo.exe machinecode Get this machine's unique code
regInfo.exe read licensefile Read and display all license info
regInfo.exe -f licensefile -field Show specific field(s)
regInfo.exe -f licensefile -verify Verify license validity
Fields -name, -machinecode, -phone, -unit, -authdatetime, -over, -update
注册文件校验错误Verify error codes
0 valid 注册文件有效
10001 license file invalid 文件无效
10002 license expired (overdatetime) 过期
10004 machine code mismatch 机器码不匹配
注册生成的json文件格式如下
{name..., machinecode..., phone...,
unit..., authdatetime..., overdatetime...,
updatedatetime...}