|
POST
|
I have a crossdomain.xml file in the wwwroot of my IIS server, plus one in the root folder of the my application - just for the hell of it. However, are you saying that my client needs a CrossDomain.xml also - to allow my app to access his services? There is actually no need for a crossdomain on the machine where your application is (neither the root, nor the folder). The "cross" is from the application's point of view. The crossdomain issues comes in to effect when that application tries to access the content on other server, like someone elses ArcGIS Server. In that case the crossdomain.xml needs to be on their server, e.g. http://machinewithgreatcontent/crossdomain.xml The diagram on http://help.arcgis.com/en/webapi/flex/help/index.html#/Deploying_an_application/017p00000019000000/ might help clarify this. Another useful page on the Flex API resource center is http://help.arcgis.com/en/webapi/flex/help/index.html#/Using_crossdomain_xml/017p0000001w000000/
... View more
10-18-2011
07:45 AM
|
0
|
0
|
1196
|
|
POST
|
It's in the layerDetails. featureLayer.layerDetails.geometryType http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/supportClasses/LayerDetails.html#geometryType
... View more
10-11-2011
11:24 PM
|
0
|
0
|
560
|
|
POST
|
I think the most likely issues would be related to either LODs or serving the tiles. LODs: Are you sure they are exactly the same as whatever base map you are starting up your flex viewer application with? If you try adding it as the first base map, does it work as expected? Tile serving: If you go to the service directory, http://server.petro-fs.com:8887/ArcG...ache/MapServer and click "View In ArcGIS JavaScript" does it work? What if you try "View In ArcGIS.com Map"?
... View more
10-10-2011
08:28 AM
|
0
|
0
|
633
|
|
POST
|
i'm trying to filter the layer based on users level. For example, UserA is just able to display layer (San Francisco 3-1-1 Incidents) while UserB is able to display layer (Earthquakes and Data Extract Incidents). If you would like different users to see different lists of layers, the easiest way is to have to separate configuration files, then tell user A to go to ...flexviewer/index.html?config=configA.xml and user B to go to ...flexviewer/index.html?config=configB.xml
... View more
10-06-2011
08:03 AM
|
0
|
0
|
825
|
|
POST
|
No, you can't configure your machine or application around the need for the KML to be a publicly accessible URL.
... View more
10-06-2011
08:00 AM
|
0
|
0
|
546
|
|
POST
|
It's possible that the key is no longer valid. If you use httpfox or something similar, you should be able to see a more detailed error, for example: "authenticationResultCode":"NotAuthorized", "brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png", "copyright":"Copyright © 2011 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.", "errorDetails":["Access was denied. You may have entered your credentials incorrectly, or you might not have access to the requested resource or operation."], "resourceSets":[], "statusCode":401, "statusDescription":"Unauthorized", ... Make sure that you use your own Bing key and not one of the Esri keys that you might have found in a sample.
... View more
09-30-2011
02:44 PM
|
0
|
0
|
1299
|
|
POST
|
The Flex Viewer will not convert the WMS service for you, but it will attempt to ask the WMS server to return the data in the appropriate projection. If the WMS server does not support Web Mercator, then you will not be able to use Web Mercator base maps. In this case only three projections seem to be supported, so you need to make sure your basemap is in of them: <SRS>EPSG:32628</SRS> <SRS>EPSG:4326</SRS> <SRS>EPSG:32627</SRS> If you don't have your own basemaps, you can use the "old" geographic basemaps, see e.g. http://dl.dropbox.com/u/2142726/config_wms_es.xml for a full config example, or just the <layer> snippet below: <layer label="Red Geodesica de Canarias"
type="wms"
url="http://idecan2.grafcan.es/ServicioWMS/RedGeodesica"
visible="true"
visiblelayers="RG_4OR,RG_ROI"
/> For each service you need to manually look in the metadata to find the names of the layers, e.g. http://idecan2.grafcan.es/ServicioWMS/RedGeodesica?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1%2E1%2E1
... View more
09-30-2011
02:36 PM
|
0
|
0
|
1228
|
|
POST
|
The size of the monitor is not the real issue, but rather the screen display resolution (how many pixels). Still the basic problem is the same 🙂 The do-nothing-solution: If you don't set the top/left etc at all in the configuration file the values, then the viewer will attempt to find reasonable places for the widgets. You could also specify left=... for the leftmost widgets, right=... for the rightmost widgets but still that is only a partial solution/cover-up.
... View more
09-30-2011
09:00 AM
|
0
|
0
|
690
|
|
POST
|
problem accessing an exteranl rss feed... . I have a cross domain.xml in the root of the web server, however i am still having issues. The crossdomain.xml file needs to be on the server with the external RSS feed. Is that where you put it, or did you put it on the server that has your swf file?
... View more
09-27-2011
05:08 PM
|
0
|
0
|
1196
|
|
POST
|
When using the on demand mode, you also need to be aware of the onDemandCacheSize property. "When the query mode is MODE_ON_DEMAND and there are more than this number of features loaded, features that are not selected and are not in the current extent are removed in FIFO order (first in, first out). If this value is 0, features in the current extent are also removed. The default value is 1000 features." http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#onDemandCacheSize
... View more
09-26-2011
01:04 PM
|
0
|
0
|
1147
|
|
POST
|
I'm looking to get the number of graphics being shown by a FeatureLayer in a map. The "numGraphics" property shows the "the number of graphics in that layer". http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#numGraphics The graphics are still there (in the layer), even when you pan and zoom (or change the visibility on the layer), and the numGraphics correctly shows this (the number of graphics in that layer). It sounds like maybe you are looking to find out how many of those are actually within the current map extent? And maybe also which of those are actually visible? There is no property for that...
... View more
09-26-2011
11:54 AM
|
0
|
0
|
1147
|
|
POST
|
I just downloaded the Viewer source code instead of the API, and I still get the error message: Could not resolve <s:ViewNavigatorApplication> to a component implementation. The Viewer source code has nothing to do with the mobile example. The "WebMap.mxml" is not part of the viewer source code. Did you manually add it? Or more likely ... do you have multiple projects open in your Flash Builder 4? It sounds like you somewhere have an open project which has that mobile sample. See the comment from "hoomanmoh": "actually I was getting a compile error on a different project and not the Viewer. It compiles fine" A screen capture might help us understand your setup...
... View more
09-21-2011
03:28 PM
|
0
|
0
|
2509
|
|
POST
|
No, I am not trying to build a mobile application. In your earlier post you mentioned that you can see "the viewnavigatorapplication1_creationCompleteHandler function". This function is in mobile\WebMap\src\WebMap.mxml which is one of the "mobile" samples. So I'm a little confused on your setup. In the ZIP file you downloaded with the samples there is one folder called "mobile" and one folder is called "samples". The samples in "samples" should work fine in Flash Builder 4. The samples in "mobile" require you to create "mobile application" (which is only available in Flash Builder 4.5). Not sure if that clarifies things for you...
... View more
09-21-2011
11:35 AM
|
0
|
0
|
2509
|
|
POST
|
We're currently planning a 2.5 beta of the ArcGIS Viewer for Flex in late October and a final 2.5 release later this year. For this beta, we are planning: * An application builder to easier create "ArcGIS Viewer for Flex" applications. * Chart widget. * Ability for end-user to "Zoom to", set "Transparency" and reorder the layers in "More..." and LayerList widget. * etc Update 2011-11-18: As mentioned in other posts, there are no longer plans for a 2.5 beta...
... View more
09-20-2011
10:48 AM
|
0
|
0
|
1639
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 03-11-2026 11:16 AM | |
| 2 | 03-17-2025 08:24 AM | |
| 3 | 03-17-2025 07:27 AM | |
| 4 | 02-26-2025 11:37 AM | |
| 1 | 03-23-2023 04:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-14-2026
04:21 PM
|