[mapguide-users] Invoke URL
madhurchanana
madhurchanana92 at gmail.com
Mon Dec 5 20:24:23 PST 2016
hi Gordon, thanks for replying
I included the openlayers source:
but i am still not able to get the output onto the map. The coordinate
system for the file is EPSG: 3857 only and the boundaries are correct.
function render_layer()
{
var map = parent.Fusion.getWidgetById('Map');
var olmap = map.oMapOL;
alert(olmap);
var new_layer = new ol.layer.Image({
source: new ol.source.ImageWMS({
url: 'http://localhost:8080/geoserver/wms?',
params: {'LAYERS': 'Mapguide_data:Indo_land'},
serverType: 'geoserver'
})
})
olmap.addLayer(new_layer);
}
Is there anything i am doing wrong still ?
Thanks,
Madhur
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Invoke-URL-tp5297362p5298739.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list