[mapguide-users] Syntax to set Active layer in Mapguide via Fusion
zac.spitzer at gmail.com
Sun Feb 20 19:33:09 EST 2011
what are you trying to do, turn a layer on?
On Mon, Feb 21, 2011 at 2:39 AM, BTenBroeck <billtenbroeck at gmail.com> wrote:
> Hello all. This is a cross-post from the Fusion-users, as I had no luck
> getting a response there. Hopefully the heavier traffic over here may bear
> fruit. :)
> As the subject says, I'm trying to figure out the appropriate syntax to
> What I've tried is:
> var oMap = Fusion.getWidgetById('Map').aMaps;
> var activeLayer = oMap.setActiveLayer("Parcels");
> which seems like it's appropriate by looking at the Map.js widget.
> However, it tossess an error, and if I view in Firebug, there is no method
> in oMap for
> setActiveLayer or getActiveLayer as I would expect.
> If anyone has a clue, or can point me in the right direction, I would
> appreciate it.
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Syntax-to-set-Active-layer-in-Mapguide-via-Fusion-tp6045953p6045953.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168
More information about the mapguide-users