I need to perform a similar task using WMS instead of vector data. I have
seen in other posts that the functionality has not been implemented due to
time constraints, is there a "work around" available to create a WMS layer
using the OpenLayers API?
I have tried to the steps outlined below with
Layer
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spencer
Sent: Thursday, March 27, 2008 3:07 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Fusion API,how to add new vector layer
(OpenLayers)
I would like to expose the OpenLayers
I would like to expose the OpenLayers API directly in Fusion but that
isn't done yet. You can get to the OpenLayers Map object by doing
something like:
//'Map' is the HTML container for the map, set in MapWidget tag of
ApplicationDefinition
var fusionMapWidget = Fusion.getWidgetById('Map'
Yes definitely u can add new layers
u can change layers where u are passing a single layer in beginning when u
initiate a map
From: Бородаев Павел Владимирович
Sent: Thursday, March 27, 2008 2:04 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Fusion API,how to add new vector
If you use OpenLayers from scratch, you will need a version with
MapGuide support.
I'm not sure if the 2.5 release has that, but the SVN trunk has.
To add a vector layer you can do:
var map = new OpenLayers.Map(...);
var mgLayer = new OpenLayers.Layer.MapGuide(...);
var vectorLayer = new OpenLay
Hi All.
Is it possible to add new vector layer or other layers to web map using
OpenLayers API?
What modifications of source code I should do and where? This will be very
useful for me: if it is impossible I will use OpenLayers from scratch.
TIA.
_