Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ def __getattr__(cls, name):
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

# Add paths that you wish to copy to the output directory
# see: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_extra_path
# note that the actual 'extra' folder itself is excluded, so only its contents
# are copied to the output directory
html_extra_path = ['./extra']

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
html_last_updated_fmt = '%Y-%m-%d'
Expand Down
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_URL`,
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.
591 changes: 591 additions & 0 deletions extra/lib/OpenLayers-ms60.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions extra/lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenLayers library files for template=openlayers

MapServer's built-in [OpenLayers viewer](https://mapserver.org/cgi/openlayers.html)
points 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 entire contents of the `lib` folder in this documentation repository
will now be copied as-is, when the documentation is built & deployed.

Previously, the `lib` folder containing the OpenLayers library only existed on
a server (that could be pruned through various possible steps during the
automatic deployment of the MapServer documentation).

# Related

- [RFC 63](https://mapserver.org/development/rfc/ms-rfc-63.html) (add
Built-in OpenLayers map viewer)
- initial [issue #3549](https://github.com/MapServer/MapServer/issues/3549)

# History

- updated to OpenLayers 2.10 in 2014
- initially included in the MapServer 6.0 release in 2011
Binary file added extra/lib/img/blank.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/cloud-popup-relative.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/drag-rectangle-off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/drag-rectangle-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/east-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/layer-switcher-maximize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/layer-switcher-minimize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/marker-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/marker-gold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/marker-green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/marker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/measuring-stick-off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/measuring-stick-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/north-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/panning-hand-off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/panning-hand-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/slider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/south-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/west-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/zoom-minus-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/zoom-plus-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/zoom-world-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/img/zoombar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
10 changes: 10 additions & 0 deletions extra/lib/theme/default/google.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.olLayerGoogleCopyright {
right: 3px;
bottom: 2px;
left: auto;
}
.olLayerGooglePoweredBy {
left: 2px;
bottom: 2px;
}

7 changes: 7 additions & 0 deletions extra/lib/theme/default/ie6-style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.olControlZoomPanel div {
background-image: url(img/zoom-panel-NOALPHA.png);
}
.olControlPanPanel div {
background-image: url(img/pan-panel-NOALPHA.png);
}

Binary file added extra/lib/theme/default/img/add_point_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/theme/default/img/add_point_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extra/lib/theme/default/img/blank.gif
Binary file added extra/lib/theme/default/img/close.gif
Binary file added extra/lib/theme/default/img/drag-rectangle-on.png
Binary file added extra/lib/theme/default/img/draw_line_off.png
Binary file added extra/lib/theme/default/img/draw_line_on.png
Binary file added extra/lib/theme/default/img/draw_point_off.png
Binary file added extra/lib/theme/default/img/draw_point_on.png
Binary file added extra/lib/theme/default/img/draw_polygon_off.png
Binary file added extra/lib/theme/default/img/draw_polygon_on.png
Binary file added extra/lib/theme/default/img/editing_tool_bar.png
Binary file added extra/lib/theme/default/img/move_feature_off.png
Binary file added extra/lib/theme/default/img/move_feature_on.png
Binary file added extra/lib/theme/default/img/pan-panel-NOALPHA.png
Binary file added extra/lib/theme/default/img/pan-panel.png
Binary file added extra/lib/theme/default/img/pan_off.png
Binary file added extra/lib/theme/default/img/pan_on.png
Binary file added extra/lib/theme/default/img/panning-hand-off.png
Binary file added extra/lib/theme/default/img/panning-hand-on.png
Binary file added extra/lib/theme/default/img/remove_point_off.png
Binary file added extra/lib/theme/default/img/remove_point_on.png
Binary file added extra/lib/theme/default/img/ruler.png
Binary file added extra/lib/theme/default/img/save_features_off.png
Binary file added extra/lib/theme/default/img/save_features_on.png
Binary file added extra/lib/theme/default/img/view_next_off.png
Binary file added extra/lib/theme/default/img/view_next_on.png
Binary file added extra/lib/theme/default/img/view_previous_off.png
Binary file added extra/lib/theme/default/img/view_previous_on.png
Binary file added extra/lib/theme/default/img/zoom-panel.png
Loading