Select to view content in your preferred language

How to add FEMA WMS layer into config using 3.2 App Builder?

1338
5
04-15-2013 12:17 PM
GeraldLee__GISP
Occasional Contributor
I am trying to add the FEMA WMS layer into the App builder (3.2) without any luck. Ive tried adding it using the GetCapabilities, GetMap and GetFeatureInfo urls. Has anyone else been successful with adding this layer using app builder?
Thanks
Gerald
Tags (2)
0 Kudos
5 Replies
LaurynasGedminas
New Contributor
Best way to do this is to use Arcgis.com add your WMS layer, save the map, share the map, get maps ID number,
go to: http://resources.arcgis.com/en/help/flex-viewer/helpers/FlexViewer_WebMapHelper.html, apply your maps ID number and where you can see how its added to the flex viewer.
Use the same tags in your flex site
0 Kudos
GeraldLee__GISP
Occasional Contributor
Thanks alot Laurynas. I didnt know that helper application existed. Well, i did that and got the config, put it into my flex app and still can seem to make the layer visible. I even tried using it all by itself as the only operational layer and it still doesnt appear. i'll keep at it.
Thank you again very much,
Gerald
0 Kudos
JosephAccardi
Occasional Contributor
Hi Gerald, did you ever figure this out? I'm trying to add FEMA's ABFE WMS map to my FV 3.3 application with no luck. All I get is a blank screen when I try and turn it on as a base map.

http://fema-services2.esri.com/arcgis/services/ABFE_pub/Preliminary_Work_Map/MapServer/WMSServer?req...

Thanks,
Joe
0 Kudos
GeraldLee__GISP
Occasional Contributor
Hello Joseph,
No unfortunately i never did get it to work. Only way i ever got it to work and display was using a javascript application created by using arcgis online. i do know that FEMA has generated a rest endpoint now with the FEMA data but i have had troubles with that also. i can add the layer fine inside ArcMap. its just when i try and use it inside a flex application that causes problems.
0 Kudos
BjornSvensson
Esri Regular Contributor
http://fema-services2.esri.com/arcgis/services/ABFE_pub/Preliminary_Work_Map/MapServer/WMSServer?req...


Since this WMS service is powered by ArcGIS for Server, it's usually better to add it as an arcgis layer instead of WMS (or WMTS):
http://fema-services2.esri.com/arcgis/rest/services/ABFE_pub/Preliminary_Work_Map/MapServer

The following tag seem to work fine:
<layer type="dynamic" label="Preliminary Work Map" visible="true"
url="http://fema-services2.esri.com/arcgis/rest/services/ABFE_pub/Preliminary_Work_Map/MapServer"/>


The same is true for all other FEMA WMS services hosted on http://fema-services2.esri.com
0 Kudos