User Tools

Site Tools


thinkgeo_stylejson:v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo_stylejson:v2 [2020/01/19 09:15]
johnnyz [Styles]
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 855: Line 855:
   ]   ]
 </​code>​ </​code>​
-=== id === +  * ** id  ​**<​div>​//​Required//​ `string`
- +
-//​Required//​ `string`+
  
 A map rendered data source'​s unique identifier. A map rendered data source'​s unique identifier.
 +</​div>​
  
-=== url === +  * ** url  ​**<​div>​//​Required//​ `string`
- +
-//​Required//​ `string`+
  
 The address of the data requested from the server. The address of the data requested from the server.
 +</​div>​
  
-=== type === +  * ** type  ​**<​div>​//​Required//​ `string`
- +
-//​Required//​ `string`+
  
 The commonly used geospatial file formats of feature source,for example : JSONFeature,​ MVT, TextFeature and XMLFeature. But it only support "​MVT"​ now. The commonly used geospatial file formats of feature source,for example : JSONFeature,​ MVT, TextFeature and XMLFeature. But it only support "​MVT"​ now.
  
 +</​div>​
 ==== map-layers ==== ==== map-layers ====
  
Line 887: 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 899: 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 905: 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>​
thinkgeo_stylejson/v2.1579425352.txt.gz · Last modified: 2020/01/19 09:15 by johnnyz