From fba95ea3f0d9be35c096cec14b5789bf898a10a3 Mon Sep 17 00:00:00 2001 From: Jackie Ng Date: Sat, 18 May 2019 00:21:53 +1000 Subject: [PATCH] Update OL MapGuide example to point to my demo MapGuide Server. Fixes #9573 --- examples/mapguide-untiled.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/mapguide-untiled.js b/examples/mapguide-untiled.js index 0ba9bea05d..a9e3846cf4 100644 --- a/examples/mapguide-untiled.js +++ b/examples/mapguide-untiled.js @@ -3,9 +3,9 @@ import View from '../src/ol/View.js'; import ImageLayer from '../src/ol/layer/Image.js'; import ImageMapGuide from '../src/ol/source/ImageMapGuide.js'; -const mdf = 'Library://Public/Samples/Sheboygan/Maps/Sheboygan.MapDefinition'; +const mdf = 'Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition'; const agentUrl = - 'http://www.buoyshark.com/mapguide/mapagent/mapagent.fcgi?'; + 'http://138.197.230.93:8008/mapguide/mapagent/mapagent.fcgi?'; const bounds = [ -87.865114442365922, 43.665065564837931, @@ -24,8 +24,9 @@ const map = new Map({ params: { MAPDEFINITION: mdf, FORMAT: 'PNG', - USERNAME: 'OpenLayers', - PASSWORD: 'OpenLayers' + VERSION: '3.0.0', + USERNAME: 'OLGuest', + PASSWORD: 'olguest' }, ratio: 2 })