Skip to content

Commit 7ef547d

Browse files
committed
Add filenames as titles
1 parent 78f5b59 commit 7ef547d

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

workshop/content/docs/inputs/raster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ A [COMPOSITE](https://mapserver.org/mapfile/composite.html) block is used on the
8989
- MapServer request: <http://localhost:5000/?map=/etc/mapserver/raster.map&mode=map&layer=dtm>
9090
- OpenLayers example: <http://localhost:5001/raster.html>
9191

92-
??? JavaScript
92+
??? JavaScript "raster.js"
9393

9494
``` js
9595
--8<-- "raster.js"
9696
```
9797

98-
??? Mapfile
98+
??? Mapfile "raster.map"
9999

100100
``` scala
101101
--8<-- "raster.map"

workshop/content/docs/inputs/vector.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ CONNECTION "/vsicurl/https://raw.githubusercontent.com/ofrohn/d3-celestial/maste
4040
- MapServer request: <http://localhost:5000/?map=/etc/mapserver/stars.map&mode=map&layer=constellations>
4141
- OpenLayers example: <http://localhost:5001/stars.html>
4242

43-
??? JavaScript
43+
??? JavaScript "stars.js"
4444

4545
``` js
4646
--8<-- "stars.js"
4747
```
4848

49-
??? Mapfile
49+
??? Mapfile "stars.map"
5050

5151
``` scala
5252
--8<-- "stars.map"

workshop/content/docs/mapfile/labels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ GEOMTRANSFORM (centerline(densify([shape], 0.1)))
4444
- Direct MapServer request: <http://localhost:5000/?map=/etc/mapserver/lakes.map&mode=map&layer=lakes&layer=lake-labels>
4545
- Local OpenLayers example: <http://localhost:5001/lakes.html>
4646

47-
??? JavaScript
47+
??? JavaScript "lakes.js"
4848

4949
``` js
5050
--8<-- "lakes.js"
5151
```
5252

53-
??? Mapfile
53+
??? Mapfile "lakes.map"
5454

5555
``` scala
5656
--8<-- "lakes.map"

workshop/content/docs/mapfile/lines.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## Overview
44

5-
In this exercise we're going to display the road network from OpenStreetMap for Tartu, Estonia.
5+
In this exercise we're going to display the road network from OpenStreetMap for Tartu, Estonia - the host
6+
city for [FOSS4G Europe 2024](https://2024.europe.foss4g.org/) where this workshop was first given.
67

78
<div class="map">
89
<iframe src="https://geographika.github.io/getting-started-with-mapserver-demo/lines.html"></iframe>
@@ -22,7 +23,7 @@ a dataset that will be displayed in your map. In this example we have a single "
2223
LAYER
2324
NAME "roads"
2425
TYPE LINE
25-
STATUS OFF
26+
STATUS OFF
2627
...
2728
```
2829

@@ -71,13 +72,13 @@ END
7172
Note the layer name in `layer=roads` is case-sensitive and had to match the LAYER NAME in the Mapfile
7273
exactly.
7374

74-
??? JavaScript
75+
??? JavaScript "lines.js"
7576

7677
``` js
7778
--8<-- "lines.js"
7879
```
7980

80-
??? Mapfile
81+
??? Mapfile "lines.map"
8182

8283
``` scala
8384
--8<-- "lines.map"

workshop/content/docs/outputs/ogcfeatures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ new VectorLayer({
105105
- Direct MapServer request: <http://localhost:5000/ogcfeatures/ogcapi/collections/pois/items?f=html>
106106
- Local OpenLayers example: <http://localhost:5001/ogcfeatures.html>
107107

108-
??? JavaScript
108+
??? JavaScript "ogcfeatures.js"
109109

110110
``` js
111111
--8<-- "ogcfeatures.js"
112112
```
113113

114-
??? Mapfile
114+
??? Mapfile "ogcfeatures.map"
115115

116116
``` scala
117117
--8<-- "ogcfeatures.map"

workshop/content/docs/outputs/vector-tiles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ new VectorTileLayer({
5050

5151
- Local OpenLayers example: <http://localhost:5001/vector-tiles.html>
5252

53-
??? JavaScript
53+
??? JavaScript "vector-tiles.js"
5454

5555
``` js
5656
--8<-- "vector-tiles.js"
5757
```
5858

59-
??? Mapfile
59+
??? Mapfile "vector-tiles.map"
6060

6161
``` scala
6262
--8<-- "vector-tiles.map"

0 commit comments

Comments
 (0)