Skip to content

Commit 8319caf

Browse files
committed
mention OL file location
1 parent 702cd80 commit 8319caf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

en/cgi/openlayers.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,15 @@ Customizing settings
100100
* environment variables::
101101

102102
MS_OPENLAYERS_JS_URL - The URL to the OpenLayers javascript library. Per default the library loaded from the MapServer web server.
103+
104+
Location of the embedded OpenLayers.js file
105+
-------------------------------------------
106+
107+
If you aren't providing your own OpenLayers library through `MS_OPENLAYERS_JS_UR`,
108+
MapServer will point to a hardcoded filepath of `www.mapserver.org/lib` to find the OpenLayers
109+
library, referred to in [maptemplate.c](https://github.com/MapServer/MapServer/blob/main/src/maptemplate.c#L54).
110+
111+
The contents on that `lib` folder is stored in the MapServer documentation repository,
112+
in the [/extra](https://github.com/MapServer/MapServer-documentation/tree/main/extra) folder.
113+
You are warmly encouraged to contribute to upgrading the OpenLayers library, at any time (maybe start
114+
with creating a new [Pull Request](https://github.com/MapServer/MapServer-documentation/pulls) there.

0 commit comments

Comments
 (0)