|
POST
|
FYI, while the current 2.0 beta of the viewer does not have any navigation controls, we are planning for the next version of the viewer (2.1) to have a navigation widget with navigation controls.
... View more
08-18-2010
03:24 PM
|
0
|
0
|
588
|
|
POST
|
I realize the viewer relies on config files, so maybe tab(s) for the config file in addition to, or instead of the source code tab. I agree. Giving people easy access to the configuration files (even without using httpfox, firebug, fiddler, charles) is definitely something we want to do. I think two tabs like the API would probably work fine. The source tab would show the main configuration file and probably the widget configuration files as well.
... View more
08-16-2010
07:01 AM
|
0
|
0
|
533
|
|
POST
|
The layout of the widgetcontainer can be specified as vertical (similar to SFV) or horizontal (ditto but at the bottom) or float (the default where widgets can be moved around) or fixed (where end-users can not move the widgets. See the Viewer Resource Center -> Samples -> Widget container layouts: http://help.arcgis.com/en/webapps/flexviewer/samples/index.html#layouts.htm
... View more
08-16-2010
06:37 AM
|
0
|
0
|
533
|
|
POST
|
There should be technical limits on how many widgets or groups of widgets you can have. But from a screen real estate and usability point of view you probably want to not add too many...
... View more
08-13-2010
09:10 AM
|
0
|
0
|
360
|
|
POST
|
When you're setting the mapserver to type="feature", the data gets downloaded to the web browser and rendered by the Flash Player. This will draw the features, but not any labels. As a side note - if you're using a 9.3* server, the features will be drawn with default symbols. If you're using a 10* server, the features will be drawn with the symbology you set up in the service (mxd or msd). If you set the type to "dynamic" (or "tiled" if it is a cached service) and change the URL to the full service, i.e. ending in "/MapServer", then the actual image will get created by ArcGIS Server (with labels). However, the info popups only work for type="feature". Hope this helps explain what is happening (or is supposed to happen).
... View more
08-12-2010
09:45 PM
|
0
|
0
|
577
|
|
POST
|
Sorry, I didn't realize you were trying to do it for the viewer. With the viewer still in beta and its documentation far from complete, we realize it is not easy to figure out how to accomplish some of the things people are trying to do. Here's some general comments on that (even though it might not be helpful for your specific question). Adding Viewer functionality based on API samples While the ArcGIS Viewer for Flex is built with the ArcGIS API for Flex, you can not just copy the API samples into the viewer to make it work. When trying to integrate API samples with the viewer code, it is best to know a little about Flex development in general as well as having an understanding of the viewer and it's different parts. #1 To learn to use the API itself: http://help.arcgis.com/en/webapi/flex/help/index.html#getting_started.htm is a great starting point. #2 To get started with the ready-to-use viewer: http://help.arcgis.com/en/webapps/flexviewer/help/index.html#gettingstarted.htm #3 To get started developing widgets for flex viewer source: http://help.arcgis.com/en/webapps/flexviewer/help/index.html#developers/hellowidget.htm #4 To get started developing the beta viewer source code: see above, plus read source code to better understand the viewer. Ask questions here on the forum. Or wait for the released (non-beta) version and better documentation. Sorry, we don't have a better answer at this time 😞 In general, if someone is trying to learn Flex and write their first Flex application, the viewer source code is probably not the best starting point... While this doesn't answer your initial question, I hope that it provides somewhat of useful background information.
... View more
08-12-2010
08:02 AM
|
0
|
0
|
767
|
|
POST
|
Yes, FeatureLayer and FeatureService can be confusing, but despite the common first seven letters they are two different things. On the server you can (in 10), publish a map service as a FeatureService (which requires SDE). In the API we have a FeatureLayer which can use any (one) layer from either a MapService or FeatureService. In the viewer, the type="feature" refers to a FeatureLayer and thus can be any (one) layer from either a MapService or a FeatureService. Note also the difference between a type="dynamic" and a type="feature". * The dynamic type refers to a full service (behind the scene it is using the ArcGISDynamicMapServiceLayer from the API) and thus its URL should end in "/MapServer". * The feature type refers to a single layer in a MapService (or FeatureService) (behind the scene it is using the FeatureLayer from the API) and thus its URL should end with a number as in "/MapServer/0". As for using SimpleInfoWinWidget it only works with single layer, i.e. type="feature". Hopefully this will help with the understanding of the different types 🙂 As for your initial question, I don't see a "XCoord" field on that layer, try with one of the available fields like "Description", "Category", "Link" etc.
... View more
08-12-2010
07:52 AM
|
0
|
0
|
1888
|
|
POST
|
Or if you want to keep using the Query (with a case-insensitive search), then (depending on your database) use something like: lower([LAND_NAME]) LIKE lower('%[value]%')
... View more
08-12-2010
07:35 AM
|
0
|
0
|
927
|
|
POST
|
No, the ArcGIS Viewer for Flex does not allow you configure it so that it switches basemaps based on extent.
... View more
08-11-2010
11:47 PM
|
0
|
0
|
479
|
|
POST
|
Steve, that looks right... Q. What type of field is the "XCoord"? (Look for something like Type: esriField... in the service directory). Q. Could you use httpfox/charles/fiddler/firebug to look at the actual request for that to make sure that it indeed returns the XCoord field information. There should first be a request for the metadata, something like: http://qsq-brcon15-pc/ArcGIS/rest/services/Atlas_goldrush/MapServer/0?f=json Then there should be another for the actual data, something like: http://qsq-brcon15-pc/ArcGIS/rest/services/Atlas_goldrush/MapServer/0/query?f=json&geometry=... What is the exact second request? (does it contain XCoord in the outFields list?) What does the response contain? (any XCoord data?)
... View more
08-11-2010
11:41 PM
|
0
|
0
|
1889
|
|
POST
|
You need to use a single layer, not the full service. Something like: <layer label="Fishing Communities" type="feature" visible="true" alpha="1" info="widgets/InfoTemplates/SimpleInfoWinWidget.swf" infoconfig="widgets/InfoTemplates/SIW_Fish.xml" url="http://mymapservice/arcgis/rest/services/FishMerc/MapServer/0"/> Note that both SimpleInfoWinWidget and InfoPopupWidget take advantage of a clientside layer. They are not sending a request to the server when you click (which is a different "Identify").
... View more
08-11-2010
01:43 PM
|
0
|
0
|
1889
|
|
POST
|
Hi Alison, Are you using the 1.x API, the 2.0 API, the Sample Flex Viewer 1.x or the ArcGIS Viewer for Flex 2.0 beta?
... View more
08-11-2010
01:03 PM
|
0
|
0
|
479
|
|
POST
|
There's a sample for that 🙂 http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=NavigationHorizontal Basically you set the skin class on it. There is also a help topic under Concepts -> Inside API that might be helpful: http://help.arcgis.com/en/webapi/flex/help/index.html#inside_api/styling_and_skinning_navigation.htm
... View more
08-11-2010
09:30 AM
|
0
|
0
|
767
|
|
POST
|
The TimeSlider widget applies to all time-aware basemaps or operational layers. The main configuration file for the TimeSlider sample is at http://help.arcgis.com/en/webapps/flexviewer/samples/config-timeslider.xml This example contains one time-aware service listed as an operational layer. For the actual TimeSlider widget config (start/end/interval etc), see http://help.arcgis.com/en/webapps/flexviewer/live/widgets/Time/TimeWidget_QuakesSince1970.xml Hope this helps
... View more
08-09-2010
11:16 PM
|
0
|
0
|
1487
|
|
POST
|
How are the samples from the 2.0 API integrated into the SFV 2.0 in Flash Builder 4? The API samples, like any other Flex applications, can often be re-purposed as a widget in the Flex Viewer framework. If you're familiar with Flex development, take a look at the basic instructions at http://help.arcgis.com/en/webapps/flexviewer/help/index.html#developers/hellowidget.htm for creating your own widget.
... View more
08-04-2010
01:16 PM
|
0
|
0
|
686
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 2 | 02-27-2023 02:03 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-06-2025
10:30 AM
|