Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all 2097 articles
Browse latest View live

Identify widget 3.1 not returning layers

$
0
0
I am new to flexviewer and am having trouble with the identify widget 3.1. I have tried editing the layers and have gotten the widget to return results for two layers but not any others. Below is a snippet of the coding. Pinniped_Rookeries info is returned but with the other layers the tool doesn’t seem to recognize anything-there are no results returned, no message of “No Results Found,” nothing. The identifylayeroption is set to visible. Any help is greatly appreciated.
Charleen
<layer>
<name>Pinniped_Rookeries (ID: 2)</name>
<fields>
<field name="Sp_Com_Nam" alias="Common Name" popuponly="true"/>
<field name="Location" popuponly="true"/>
</fields>
<links/>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
<layer>
<name>Pinnipeds NMFS 2007 (ID: 3)</name>
<fields>
<field name="Com_Name" popuponly="true"/>
<field name="Location" popuponly="true"/>
</fields>
<links/>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
<layer>
<name>Land Ownership (ID: 5)</name>
<fields>
<field name="GOVT_LEVEL" alias="Gov. Level" popuponly="true"/>
<field name="AGENCY" alias="Agency" popuponly="true"/>
<field name="NAME" alias="Name" popuponly="true"/>
</fields>
<links/>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>

Changing default font of Legends using code

$
0
0
How do we change the default font of the ESRI legend using code? Any suggestions on the same?. Thanks!

Enter an Address on the Splash Screen

$
0
0
I want the ability to enter an address to zoom to on the Splash screen. Then the splash goes away and zooms to that spot.

Any ever tried this? The splash is a html pop up so not sure how to pop that over there.

Thanks

Is there a limit to the number of Map Layers?

$
0
0
Is there a limit to the number of Map Layers that can be added in the config file?

We are going to hit 1,000 probably.

Thanks

Upgrading Flex Viewer 3.0 to 3.1

$
0
0
Hi, I couldn't find a definitive answer to my question so I'm going to ask it here: I'm thinking about upgrading my ArcGIS Viewer for Flex application builder from 3.0 to 3.1. I'm currently using some of Robert's customized widgets. Will these widgets also need to be upgraded to their 3.1 versions or will his 3.0 widgets 'play nice' with FV 3.1?

Thanks

PopupRenderSkin - Determine if feature has attachments

$
0
0
Is there a way to determine if a feature has attachments?

In the popuprendererskin, If I test for layerDetails.hasAttachments, it will always report true if the "layer" has attachments enabled.

I would like to test to see if the current feature has attachments, if so, I would not add anything to the mediaBrowser. However, if there is no attachment, then I want my media to be appended to the popup.

anyway, would be pretty simple if there is a way to tell if the feature I just clicked on has attachments (uploaded, not just enabled) or not.

Any suggestions?

R_

Why does the TOC not scroll horizontally for long Layer names?

$
0
0
Seems like this would be important and in there but it is not. How would I add this to the code? Tried wrapping it in the MapSwitcher but no luck. Thanks

PanelType mods

$
0
0
Does anyone know where to make changes to the panel style used by the attribute table - for starters I just need to change the colour of the orange bar along its length. Haven't been able to locate the skin for it even when looking through the api download folders which has all the skins as far as I'm aware..

Thank you

Tiled ImageService

$
0
0
I am trying to add a aerial onto our site that is on a image server. When I put tiled as the type, it disappears. How can I get a tiled Image service on my flexviewer application?

thematic-widget-flex

$
0
0
This is the forum for asking questions related to the ArcGIS Viewer for Flex ThematicWidget hosted on GitHub (Coming Soon) and referenced on ArcGIS.com.

Secure Services URL 10.1

$
0
0
So I'm coming from a 10.0 secure environment and I'm trying to make sense of the 10.1 rest endpoints that I should be pointing to in my Flex Viewer.

Is the correct url for a secure service follow the convention below?

https://servername:6443/arcgis/rest/...vice/MapServer

Or am I missing something?

heatmap-widget-flex

3.1 Draw Widget with Save and Open File Button

$
0
0
Is it possible to add in the Draw Widget from 3.1 the save and open buttons from the eDraw Widget from 3.0?

Attachment 21048

I haven't seen any possibilities but maybe someone had the same problem and built it already.

If so, could you please tell me how to do this?
Attached Images
 

Migrating from ArcGIS Server 9.3.1 to ArcGIS Server 10.

$
0
0
We have a flewviwer site that we use. The services/maps are 9.3.1 and the ArcGIS Server is 9.3.1 up until now has worked smoothly without any issues but crashed two weeks ago and will not for some reason recogize the SOM service. Thinking of migrating to ArcServer 10 or 10.1 - what are the pros/cons and what do I need to do in preparation if I go this route.

Header/widget display issue when upgrading to 3.1

$
0
0
I'm trying to get a basic 3.1 viewer to work correctly, but the header, widgets and map switcher dissapear or are obscured when I first view in a browser with a cleared cache. Once I refresh the browser, everything displays correctly. I believe it's occurring when I add operational layers with popups, and possibly popups associated with dynamic layers. I'm using my own basemaps and operational layers in state plane, and I set the wraparound180 to false and addarcgisbasemaps to false (as noted in other posts).

Any help would be greatly appreciated.


Thanks,
Ben

eMapSwitcher Description Link

$
0
0
Robert:
In the TOC widget, selecting "Description" opens a popup window with the description of the service. Selecting "Description" in eMapSwitcher takes you to the Rest service page (which does not carry the description of the service). Could you repoint it to the description popup like the TOCWIdget? I know ESRI's link is to the Rest page as well, but it makes more sense the way you have it in TOCWidget.

Passing customized class object between widgets (through hashtable)

$
0
0
Hi, I am trying to pass a customized class object between widgets though got no luck, can anyone help me through this?

Class file
package EcoGIS
{
[RemoteClass(alias="EcoGIS.Indicator")]
public class Indicator extends Object
{
..}
}

The widget to send info:
var indicatorAC:ArrayCollection = new ArrayCollection ([theIndicator]);
addSharedData("indicator", indicatorAC);

The widget to get info:

private function sharedDataUpdated2 (event:AppEvent):void
{
//Alert.show("data published 2");
var dataTable:Hashtable = event.data as Hashtable;
if (dataTable.containsKey( "indicator") )
{
var recAC:ArrayCollection = dataTable.find("indicator") as ArrayCollection;
if (recAC[0]){
var theIndicator:Indicator = recAC[0] as Indicator;
}
}
}

Thanks


Xiaowen

Shape File Won't Upload

$
0
0
Robert,

This is the file I'm trying to upload via the add shape file widget. It works on your sample site, but won't load in my site/config.
Attached Files

customize popup

$
0
0
Hy
I,m using flex 3.

1-When a geoprocessing service run on my flex viewer and it return result, the flex show a box for user that your data is ready do you want to save it? Yes or No

I want to customize "Yes" and "No" to other things. how?


2-When geoprocessing send an email it show: Email sent true

I want to customize "True" to other things. how?

Attribute Table Widget - Change Size

$
0
0
I'm trying to change the size of this widget, but doesn't seem to be working from the config using this:

<widgetcontainer paneltype="bottom" initialstate="open" height="250">
<widget label="Attribute Table" config="widgets/AttributeTable/AttributeTableWidget.xml" url="widgets/AttributeTable/AttributeTableWidget.swf"/>

</widgetcontainer>

If I change the height to 100, it doesn't change the size of the widget?
Viewing all 2097 articles
Browse latest View live