[MS4W-Users] Standalone MapServer
lars.schylberg at blixtmail.se
lars.schylberg at blixtmail.se
Wed Jun 19 03:50:19 EDT 2019
Define the variable: MS_OPENLAYERS_JS_URL
as described in https://mapserver.org/cgi/openlayers.html#customizing-settings (https://mapserver.org/cgi/openlayers.html#customizing-settings)
For example I use this in my mapfile: CONFIG "MS_OPENLAYERS_JS_URL" "http://localhost/LocalOpenLayers/OpenLayers-ms60.js"
This is on MAP level in the mapfile.
Download all relevant files to your document root for apache: ie. OpenLayers-ms60.js and some of the thumbnails and styles defined in OpenLayers-ms60.js
Good luck
/Lars S.
19 juni 2019 kl. 08:30, "Sven Schroeter via MS4W-Users" <ms4w-users at lists.ms4w.com (mailto:ms4w-users at lists.ms4w.com?to=%22Sven%20Schroeter%20via%20MS4W-Users%22%20<ms4w-users at lists.ms4w.com>)> skrev:
Hi,
just look in the sources and found it as template hard coded in
ms4wApachecgi-binlibmap.dll in line 17236
Greetings
Sven
Am 19.06.2019 um 01:03 schrieb Jerry Faust via MS4W-Users:
Hello.
I have set up MapServer using ms4w.
We want to run MapServer on a closed network, having no internet access, but the configuration set up by ms4w includes the OpenLayers-ms60.js dependency (loaded from mapserver.org (http://mapserver.org)), and I have not been able to figure out how to remove that dependency (e.g. replace the openlayers template? but with what?)
Thank you for any guidance.
Kind Regards.
Jerry.
_______________________________________________ MS4W-Users mailing list MS4W-Users at lists.ms4w.com (mailto:MS4W-Users at lists.ms4w.com) https://lists.ms4w.com/mailman/listinfo/ms4w-users (https://lists.ms4w.com/mailman/listinfo/ms4w-users)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/pipermail/ms4w-users/attachments/20190619/68e2cc04/attachment.html>
More information about the MS4W-Users
mailing list