Skip to content

Commit

Permalink
add OpenLayers lib folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Jan 29, 2025
1 parent 8ba7bf4 commit 702cd80
Show file tree
Hide file tree
Showing 64 changed files with 1,034 additions and 0 deletions.
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
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

0 comments on commit 702cd80

Please sign in to comment.