File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
app/views/gtt_tile_sources Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 5
5
< p >
6
6
<%= f . select :type ,
7
7
options_for_select ( [
8
+ [ 'ol.source.ImageWMS' , 'ol.source.ImageWMS' ] ,
8
9
[ 'ol.source.OSM' , 'ol.source.OSM' ] ,
9
10
[ 'ol.source.TileWMS' , 'ol.source.TileWMS' ] ,
10
11
[ 'ol.source.XYZ' , 'ol.source.XYZ' ]
23
24
24
25
< script >
25
26
const tile_source_examples = {
27
+ 'ol.source.ImageWMS' : {
28
+ "url" : "https://www.example.com/geoserver/wms" ,
29
+ "params" : {
30
+ "LAYERS" : "schema:mydata"
31
+ } ,
32
+ "ratio" : 1 ,
33
+ "serverType" : "geoserver"
34
+ } ,
26
35
'ol.source.OSM' : {
27
36
"url" : "https://tile.openstreetmap.jp/{z}/{x}/{y}.png" ,
28
37
"custom" : "19/34.74701/135.35740" ,
33
42
"url" : "https://www.example.com/geoserver/wms" ,
34
43
"params" : {
35
44
"TILED" : true ,
36
- "LAYERS" : "raster :mydata"
45
+ "LAYERS" : "schema :mydata"
37
46
} ,
38
47
"serverType" : "geoserver"
39
48
} ,
You can’t perform that action at this time.
0 commit comments