Skip to content

Commit

Permalink
mention OL file location
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Jan 29, 2025
1 parent 702cd80 commit 8319caf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions en/cgi/openlayers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,15 @@ Customizing settings
* environment variables::

MS_OPENLAYERS_JS_URL - The URL to the OpenLayers javascript library. Per default the library loaded from the MapServer web server.

Location of the embedded OpenLayers.js file
-------------------------------------------

If you aren't providing your own OpenLayers library through `MS_OPENLAYERS_JS_UR`,
MapServer will point to a hardcoded filepath of `www.mapserver.org/lib` to find the OpenLayers
library, referred to in [maptemplate.c](https://github.com/MapServer/MapServer/blob/main/src/maptemplate.c#L54).

The contents on that `lib` folder is stored in the MapServer documentation repository,
in the [/extra](https://github.com/MapServer/MapServer-documentation/tree/main/extra) folder.
You are warmly encouraged to contribute to upgrading the OpenLayers library, at any time (maybe start
with creating a new [Pull Request](https://github.com/MapServer/MapServer-documentation/pulls) there.

0 comments on commit 8319caf

Please sign in to comment.