GeoServer WMS as a source for ESRI Flex API

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

GeoServer WMS as a source for ESRI Flex API

Dan-mid
The following is a sample program using ESRI Flex API for displaying maps from a published WMS.

The problem is I have no Idea what to specify for the url to see the samples, say, for the tiger-ny prepackaged layer group with GeoServer.

The GeoServer documentation is not helping me answer this question, nor is google. And I notice on the ESRI forums almost every question that involves GeoServer gets ignored. Hmmm.

Any help or suggestions with specifics would be most appreciated. Several of us are trying to get GeoServer into our shop but we can't even get the most basic functions working..

If the sample program below is not appropriate for a GeoServer WMS, then does anyone have a working sample that is appropriate ?

Many thanks in advance!

Sample Flex program:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:esri="http://www.esri.com/2008/ags"
                           pageTitle="Using a WMS map service with the ArcGIS API for Flex">
       
        <esri:Map units="{Units.DECIMAL_DEGREES}">
                <esri:WMSLayer url="WHAT GOES HERE FOR A GEOSERVER WMS SERVICE?????">                                <esri:visibleLayers>                                 
                                <s:ArrayList>                                         
                                        <fx:String>0</fx:String>                                         
                                        <fx:String>1</fx:String>
                                </s:ArrayList>
                        </esri:visibleLayers> 
                </esri:WMSLayer>
        </esri:Map>
</s:Application>
Reply | Threaded
Open this post in threaded view
|

Re: GeoServer WMS as a source for ESRI Flex API

Dan-mid

OH YEAH!!!


Got it working.

Somewhat complex though so will be looking for a simplification.

If there is any interest in this topic, I'll post full details of what I have so far..
Reply | Threaded
Open this post in threaded view
|

Re: GeoServer WMS as a source for ESRI Flex API

panny
I would like to know.
Reply | Threaded
Open this post in threaded view
|

Re: GeoServer WMS as a source for ESRI Flex API

ajscilingo
In reply to this post by Dan-mid
Yes, please, I'd like to know how to use a GEOServer WMS Service in my ESRI Flex Viewer.