New answers tagged

1

give your map "layers" IDs. toggle the visibility on/off via the "visible" option. eg. penwellPowerStations.visible=false; // hide it


1

Two things to check: Add a crossdomain.xml file to the web server.ArcGIS API for Flex - Crossdomain usage documentation Use the unsecured version of the the map service since HTTPS is not turned on by default for most versions of ArcGIS for Server. (Substitute localhost with the server name if needed.)



Top 50 recent answers are included