|
POST
|
Yes, you need to find a SRS that's supported by all the layers in your map. This WMS service seems to only support these projections: <SRS>EPSG:31466</SRS> <SRS>EPSG:3034</SRS> <SRS>EPSG:3035</SRS> <SRS>EPSG:3043</SRS> <SRS>EPSG:3044</SRS> <SRS>EPSG:3045</SRS> <SRS>EPSG:4258</SRS> <SRS>EPSG:4326</SRS> <SRS>EPSG:25831</SRS> <SRS>EPSG:25832</SRS> <SRS>EPSG:25833</SRS> <SRS>EPSG:28992</SRS> <SRS>EPSG:31467</SRS> The base map layer, http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer, is cached at 102100 (3857) which isn't supported by the WMS service. If you use a different layer that supports 4326, then you can use them both like this: <esri:Map>
<esri:extent>
<esri:Extent xmin="5.8" ymin="50.3" xmax="9.2" ymax="52.5">
<esri:SpatialReference wkid="4326"/>
</esri:Extent>
</esri:extent>
<esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/>
<esri:WMSLayer skipGetCapabilities="true"
url="http://www.wms.nrw.de/umwelt/linfos"
version="1.1.1">
<esri:visibleLayers>
<s:ArrayList>
<fx:String>Naturraeumliche_Haupteinheiten</fx:String>
</s:ArrayList>
</esri:visibleLayers>
</esri:WMSLayer>
</esri:Map>
... View more
03-14-2012
12:15 PM
|
0
|
0
|
1025
|
|
POST
|
All attributes should be lowercase. See doc at: http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Layer_tag/01m30000000p000000/
... View more
03-13-2012
09:31 AM
|
0
|
0
|
1047
|
|
POST
|
See doc on "openhandcursorvisible" at: http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Main_configuration_file/01m300000018000000/
... View more
03-13-2012
09:26 AM
|
0
|
0
|
336
|
|
POST
|
You can also set the wkid attribute on the layer tag if the wms layer supports an equivalent wkid to the map's spatial reference. See: http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Layer_tag/01m30000000p000000/
... View more
03-07-2012
08:57 AM
|
0
|
0
|
754
|
|
POST
|
It's best not to try and merge the Esri Flex API swc into your own custom library. It loses all the styles that comes from defaults.css.
... View more
03-06-2012
08:40 AM
|
0
|
0
|
465
|
|
POST
|
See: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mxml/component.html
... View more
02-29-2012
07:57 AM
|
0
|
0
|
814
|
|
POST
|
In this example the clusters are draw with a PictureMarkerSymbol and the features outside of the clusters are drawn with a SimpleMarkerSymbol:
<esri:Map>
<esri:FeatureLayer url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/FeatureServer/0">
<esri:clusterer>
<esri:WeightedClusterer>
<esri:symbol>
<esri:PictureMarkerSymbol/>
</esri:symbol>
</esri:WeightedClusterer>
</esri:clusterer>
<esri:symbol>
<esri:SimpleMarkerSymbol color="red"
size="15"
style="triangle"/>
</esri:symbol>
</esri:FeatureLayer>
</esri:Map>
... View more
02-24-2012
06:58 AM
|
0
|
0
|
255
|
|
POST
|
If you set mouseEnabled and mouseChildren to false on the Graphic it won't receive any mouse events.
... View more
02-23-2012
03:26 PM
|
0
|
0
|
443
|
|
POST
|
The graphicsProvider is just the features already loaded into the FeatureLayer. To do what you want, I'd try calling this: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#queryIds() with Query.where = "1=1". Then invert the selection by calling selectFeatures() with Query.objectIds.
... View more
02-15-2012
02:16 PM
|
0
|
0
|
1298
|
|
POST
|
See: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#graphicProvider
... View more
02-15-2012
08:58 AM
|
0
|
0
|
1298
|
|
POST
|
Try this: <map wkid="31370" units="esriMeters" initialextent="141737.497 162020.529 157878.449 177860.059" top="40"> <basemaps> <layer label="PRAS" type="wms" skipgetcapabilities="true" visible="true" version="1.3.0" visiblelayers="urbis:URB_A_ADPT,urbis:URB_A_BU,urbis:URB_A_MD,urbis:URB_A_MU,urbis:URB_A_RE,urbis:URB_A_SD,urbis:URB_M_RTLINE,urbis:URB_M_SHAPE,urbis:URB_M_ZIPOINT,urbis:URB_T_LINE" url="http://geoserver.gis.irisnetlab.be/geoserver/urbis/ows"/> </basemaps> <operationallayers> </operationallayers> </map> The initialextent and visiblelayers come from: http://geoserver.gis.irisnetlab.be/geoserver/urbis/ows?SERVICE=WMS&SERVICE=WMS&REQUEST=GetCapabilities
... View more
02-14-2012
08:09 AM
|
0
|
0
|
1978
|
|
POST
|
When you create the new project in Flash Builder, make sure the "Application type" is "Web" and not "Desktop".
... View more
02-08-2012
07:41 AM
|
0
|
0
|
469
|
|
POST
|
Customizing the JSONDecoder class is not supported. You could use HTTPService to make the REST request directly and then decode the result using a different decoder. http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/identify.html Another option is trying ArcGIS API 3.0 Beta 1 since it uses the Flash Player's native JSON class when running in FP 11+ and this is very fast: http://resourcesbeta.esri.com/en/webapis/flex-api/community/ http://resourcesbeta.esri.com/en/webapis/flex-api/apiref/com/esri/ags/utils/JSONUtil.html
... View more
02-07-2012
11:08 AM
|
0
|
0
|
516
|
|
POST
|
You can workaround this by using a proxy: http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Using_a_proxy_page/01m30000000w000000/
... View more
02-02-2012
10:32 AM
|
0
|
0
|
477
|
|
POST
|
The GraphicsLayer watches for changes to its graphicsProvider. See: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#graphicProvider Try: public function moveGraphicToBack(graphic:Graphic):void
{
var graphicsProvider:ArrayCollection = graphicsLayer.graphicProvider as ArrayCollection;
var index:int = graphicsProvider.getItemIndex(graphic);
if (index > -1)
{
graphicsProvider.removeItemAt(index);
}
graphicsProvider.addItemAt(graphic, 0);
}
... View more
01-30-2012
09:00 AM
|
0
|
0
|
326
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-06-2017 01:13 PM | |
| 2 | 03-06-2017 02:12 PM | |
| 1 | 06-22-2010 12:01 PM | |
| 1 | 08-06-2012 09:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-15-2025
04:18 PM
|