This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo_stylejson:v2 [2020/01/19 09:19] johnnyz [Sources] |
thinkgeo_stylejson:v2 [2020/01/19 09:21] (current) johnnyz [ThinkGeo StyleJSON Schema] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo StyleJSON Schema ====== | + | ====== ThinkGeo StyleJSON Schema v2.0 ====== |
Line 884: | Line 884: | ||
</code> | </code> | ||
- | === map-layer-id=== | + | * **map-layer-id **<div> |
//Required// `string` | //Required// `string` | ||
A layer's unique identifier. | A layer's unique identifier. | ||
+ | </div> | ||
- | === source === | + | * **source **<div> |
//Optional// `string` | //Optional// `string` | ||
Line 896: | Line 897: | ||
A source's unique identifier which has existed of sources. Or it is passed in by JavaScript code with class ol.thinkgeo.VectorTileSource. | A source's unique identifier which has existed of sources. Or it is passed in by JavaScript code with class ol.thinkgeo.VectorTileSource. | ||
- | === style-drawing-order === | + | </div> |
+ | * **style-drawing-order **<div> | ||
//Required// `array` | //Required// `array` | ||
Line 902: | Line 904: | ||
Some of map rendered styles' unique identifier. Styles will be drawn in the order of array. | Some of map rendered styles' unique identifier. Styles will be drawn in the order of array. | ||
+ | </div> |