[MS4W-Users] Standalone MapServer
Jerry Faust
jerryfaust1 at gmail.com
Wed Jun 19 17:30:08 EDT 2019
Thank you, Sven and Lars.
I was able to get it working following Lars' recommendations.
I had actually tried something similar in the CONFIG statement, but instead
of an http:// URL, I used a file:// URL, which didn't work.
Kind Regards.
Jerry.
On Wed, Jun 19, 2019 at 12:51 AM Lars Schylberg via MS4W-Users <
ms4w-users at lists.ms4w.com> wrote:
> Define the variable: MS_OPENLAYERS_JS_URL
>
> as described in
> 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
> <ms4w-users at lists.ms4w.com?to=%22Sven%20Schroeter%20via%20MS4W-Users%22%20%3Cms4w-users at lists.ms4w.com%3E>>
> skrev:
>
> Hi,
>
> just look in the sources and found it as template hard coded in
> *\ms4w\Apache\cgi-bin\libmap.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), 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 https://lists.ms4w.com/mailman/listinfo/ms4w-users
>
>
>
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.ms4w.com
> https://lists.ms4w.com/mailman/listinfo/ms4w-users
>
--
Jerry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/pipermail/ms4w-users/attachments/20190619/7ae91bea/attachment.html>
More information about the MS4W-Users
mailing list