Fix MapGuide example
This commit is contained in:
@@ -3,9 +3,9 @@ goog.require('ol.View');
|
|||||||
goog.require('ol.layer.Image');
|
goog.require('ol.layer.Image');
|
||||||
goog.require('ol.source.ImageMapGuide');
|
goog.require('ol.source.ImageMapGuide');
|
||||||
|
|
||||||
var mdf = 'Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition';
|
var mdf = 'Library://Public/Samples/Sheboygan/Maps/Sheboygan.MapDefinition';
|
||||||
var agentUrl =
|
var agentUrl =
|
||||||
'http://data.mapguide.com/mapguide/mapagent/mapagent.fcgi?USERNAME=Anonymous';
|
'http://www.buoyshark.com/mapguide/mapagent/mapagent.fcgi?';
|
||||||
var bounds = [
|
var bounds = [
|
||||||
-87.865114442365922,
|
-87.865114442365922,
|
||||||
43.665065564837931,
|
43.665065564837931,
|
||||||
@@ -23,7 +23,9 @@ var map = new ol.Map({
|
|||||||
metersPerUnit: 111319.4908, //value returned from mapguide
|
metersPerUnit: 111319.4908, //value returned from mapguide
|
||||||
params: {
|
params: {
|
||||||
MAPDEFINITION: mdf,
|
MAPDEFINITION: mdf,
|
||||||
FORMAT: 'PNG'
|
FORMAT: 'PNG',
|
||||||
|
USERNAME: 'OpenLayers',
|
||||||
|
PASSWORD: 'OpenLayers'
|
||||||
},
|
},
|
||||||
ratio: 2
|
ratio: 2
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user