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

Pop-up Media Above Fields

$
0
0
I have an operational layer with a pop-up window. In the window, I have one media element (a jpg) and a bunch of attributes. Is there any way to make the media element be at the top of the window followed by the attributes? Right now, it seems like this is not possible, and the media element is always shown at the bottom of the window. Any help is much appreciated. Thanks.

Extent

$
0
0
Is there a way to enable cookies for a flexviewer website. So that when the window is closed, the next time its opened, it is at the same spot as before? Thanks

Flex Application not seen in Firefox or Chrome

$
0
0
I have recently built my application and it can be seen in IE, however it is not being seen in Firefox or Chrome. Using Firebug, I get two errors:

1. SyntaxError: illegal character
swfobject.embedSWF(

2. ReferenceError: swfobject not defined
swfobject.embedSWF(

I have tried moving swfobject.js from another application that is working, however that does not solve the issue. Is this a browser issue?

LayerList Expand Layer Items

$
0
0
Is it me or does setting the expandlayeritems to true not expand anything. My layerlist widget still loads with closed trees. Any help would be awesome.
Code:

<expandlayeritems>true</expandlayeritems>

Download ESRIMessages.properties in other languages than English

$
0
0
I know it's possible to download the English version of ESRIMessages.properties here: http://resources.arcgis.com/en/help/...0000007000000/ and translate it if you want some other languages than the 22 already supported laguages.
But I'm using a Swedish language that are supported and would like to change just a few strings, without having to translate all the stings. Like I've done with the ViewerStrings.properties. Is it possible to download ESRIMessages.properties in the other languages somewhere?? If not, it would be great if the ESRI FlexTeam would make that possible.

Can you Mask an Image Service in a Flex App

$
0
0
I have a basemap service that covers two towns. I have a few flex apps. One of the apps I want to be geographically restricted to only 1 of those towns. I have boundary layers to delineate the towns. Without creating a new basemap service, is it possible to mask out the part of the basemap that I don't want seen?

I know there are sublayer definitionqueries to mask out vector layers, so I'd to do something similar with an image layer, but based on a spatial query. I'm running 10.1.1, Flex 3.2.

Service Not Displaying in Browser

$
0
0
I have a service that is working in Firefox but not in Internet Explorer. Won't even pull up; just sits on a blank white screen. I have other services that are working just fine in both environments.

Any clue where to begin looking for an error? I copied a working folder and renamed it to the non-working service and it quit working also.

Supremely stumped...

A problem for a widget with preload="minimized"

$
0
0
Got a problem for a widget with preload="minimized". After the widget is opened and then closed, it does not return to "minimized" state. But this widget's icon on the toolbar is still underlined with a yellow bar, and this widget is actually disappeared on the UI.
I believe that the problem is caused by the approach as described below:
I set each widget id (e.g. the widget below id="3"), and then run the even below (revised the code from Robert) in the widget. Once some widgets are closed, the actual id may change and then it causes the problem.
Therefore, I am considering in the event below, if the opened widget can be identified not by widget id (that defined in config.xml should be removed), this problem may be solvable.
Welcome your solution for it. Thanks.

----------

private function wTemplate_openHandler(event:Event):void {
for each (var widgetId:Number in ViewerContainer.getInstance().widgetManager.getAllLoadedWidgetIds()) {
if(widgetId != 3) {
var data:Object = {
id: widgetId,
state: WidgetStates.WIDGET_MINIMIZED
};
AppEvent.dispatch(AppEvent.WIDGET_CHANGE_STATE, data);
}
}
}

Issues with ArcGIS Viewer for Flex 3.2 version

$
0
0
We are having issues in creating Web Applications using ArcGIS Viewer for Flex 3.2 version. Earlier we have used 3.0 and 3.1 version and everything used to work fine. Now, we have upgraded the Flex Viewer for ArcGIS to 3.2 and upgraded all our applications. After upgrading to latest version, the existing applications and newly created applications failed to show in the browser. Installed Fiddler and tried to check out for errors and there were no errors recorded in it.

We have also tested by installing the ArcGIS Viewer for Felx 3.2 on a new system and tested by creating new application but still the application fails to show. We are using the latest Adobe Air and Adobe Flash Player.

We have also tested this application on different systems with below O/S configurations:

Windows 2008 R2 – 64 bit with ArcGIS for Server 10.1
Windows 7 Professional - 64 bit with ArcGIS for Server 10.1
Windows 7 Ultimate - 64 bit with ArcGIS for Server 10.1

Kindly suggest the solution ASAP if any one knows the solution for this issue

Attached a detailed document showing the issue.

Thanks in advance

With Regards,

Kiran

New a sample for an array values in config file

$
0
0
I want to use an array to retrieve the values in the widget's config. Can someone provide the sample source how to do it? Thanks.

ThematicWidget

$
0
0
I have a problem with thematicwidget when I configure my xml file and I specifie my layer with fields and aliases, nameand index of layer. it works correctly for some fields, and for other it generates classes null.

here is a picture that illustrates the problem and the script of my;

Attachment 23795


My XML file:

<configuration>
<layers>
<layer>
<url>http://localhost:6080/arcgis/rest/services/SIGMALOGITEC/BaseTest/MapServer</url>
<classificationLayerName>Communes</classificationLayerName>
<classificationLayerID>2</classificationLayerID>
<!-- classification methods: Descs are labels -->
<classificationMethodTypeDescs>Natural Breaks,Quantile,Equal Interval</classificationMethodTypeDescs>
<!-- esriClassifyEqualInterval,esriClassifyGeometricalInterval,esriClassifyNaturalBreaks,esriClassifyQuantile -->
<classificationMethodTypes>esriClassifyNaturalBreaks,esriClassifyQuantile,esriClassifyEqualInterval</classificationMethodTypes>
<!-- classification fields: Descs are labels -->
<classificationFieldTypeDescs>Population_2004,Densite_2000,Surface</classificationFieldTypeDescs>
<!-- classification fields: Types are fields -->
<classificationFieldTypes>Population_2004,Densite_2000,Surface</classificationFieldTypes>
<classificationBreaksMin>4</classificationBreaksMin>
<classificationBreaksMax>12</classificationBreaksMax>
<classificationBreaksDefault>6</classificationBreaksDefault>
<dynamicLabelingPlacement>esriServerPolygonPlacementAlwaysHorizontal</dynamicLabelingPlacement>
<!-- don't show labels when zoomed out beyond this scale -->
<dynamicLabelingMinScale>18489298</dynamicLabelingMinScale>
<dynamicLabelingFontColor>0x191919</dynamicLabelingFontColor>
<dynamicLabelingFontFamily>Verdana</dynamicLabelingFontFamily>
<dynamicLabelingFontWeight>bold</dynamicLabelingFontWeight>
<useproxy>false</useproxy>
</layer>
</layers>
<ui>
<widget_dimensions>
<width>300</width>
<height>350</height>
</widget_dimensions>
<icons>
<!-- Path to programmatically find the assets for Application Builder -->
<base_url>widgets/Thematic/assets/images/</base_url>
<!-- Title/label for mainState icon across the top widget panel -->
<main_icon>i_thematic_icon.png</main_icon>
<main_label>Main Panel</main_label>
<!-- Title/label for settingsState icon across the top widget panel -->
<settings_icon>i_options.png</settings_icon>
<settings_label>Settings Panel</settings_label>
</icons>
<transparency>
<comp_label>Transparency</comp_label>
<defaulttransparency>0.9</defaulttransparency>
</transparency>
<color_ramp>
<classificationFromColorRampDisplay>Lower values</classificationFromColorRampDisplay>
<classificationFromColorRamp>0xCECECE</classificationFromColorRamp>
<classificationToColorRampDisplay>Higher values</classificationToColorRampDisplay>
<classificationToColorRamp>0x0D538A</classificationToColorRamp>
</color_ramp>
<classification>
<methodsLabel>Classification</methodsLabel>
<fieldsLabel>based on</fieldsLabel>
<breaksLabel>Number of classes</breaksLabel>
</classification>
<dynamicLabels>
<dynamicLabelsEnabledLabel>Labels</dynamicLabelsEnabledLabel>
<dynamicLabelsOnLabel>Hide / Remove</dynamicLabelsOnLabel>
<dynamicLabelsOffLabel>Show / Display</dynamicLabelsOffLabel>
</dynamicLabels>
</ui>
</configuration>

Need a help please :)
Attached Thumbnails
Click image for larger version

Name:	blem.png‎
Views:	N/A
Size:	254.9 KB
ID:	23795  

Flex 3.1/3.2 advanced printing - layer names are not present in exported map legend

$
0
0
Is anyone using the advanced printing capabilities of Flex 3.1/3.2 to export a web map to a JPG, PDF, or other file format, using a custom map template MXD?

I'm doing this and everything works well, except that the legend items in the exported map do not have the layer names, which essentially makes the entire legend worthless. All I get in the exported map legend is the symbol patches and the associated attribute value. But I also need the name of the data layer from which the symbol patches and attributes are derived.

I have seen nothing in the Flex Help that addresses this issue.

Any ideas?

programatically change visible Layers does not always work

$
0
0
Hey!

I am trying change the default visibility of layers and sublayers depending on different criteria. I also want these layers to sync up with the check boxes in the Table of Contents widget.

The code I have works "most of the time" when I run the application out of flash builder. However, when I export a release build. Andtest it within the production website. It has a lower success rate. Sometimes, the correct layers turn on/off.. Other times the layers are not changed.

I have similar code to this: http://forums.esri.com/Thread.asp?c=...2&mc=15#939976

But like I said it only works half the time. The library I am using is 2.3.1 If anyone has any suggestions let me know. I have tried setting a timeout to delay my function but that did not seem to help.

Thanks in advance,
Nick

Attribute Table widget in Flex 3.2

$
0
0
Recently, I Flex 3.2 for my web application. In my web application, I included attribute table widget. I included desired layers into the table. Everything is working fine. But the attribute table data is not total i.e., only partial records are appearing in the attribute table when I use the Internet Explorer. All the attribute tables are having the same problem. I also exported to a location on my C drive and checked it. Every attribute table is only with partial records. But when I tried on Google Chrome the attribute tables perfectly fine. Is it a bug? Or I am missing some thing here.
Thanks
Ramana Prasad Boyina

Swipe&Spotlight+ eMapSwitcher widgets

$
0
0
Hi Robert,

as promised here you are the two widgets with the "enhancements" I've done. Sorry for the delay but I had to work in other projects...

Substantially now the two widgets work together and it's possible to swipe all the combinations of layers and to fade in a different way. To make it possible, the main thing is that I reorder the layers' array of the map.

Anyway great idea and great job!! Let me know if you need something

Filippo
Attached Files

3.3 Release

$
0
0
Hello ESRI devs,

I know I'm being somewhat impatient, but a bug that is in 3.2 has effected my product release. This bug#NIM090650 according to ESRI support should be fixed in 3.3. I have been following your progress on Github very closely, I did not see anything that looked related to the bug I found come up. So I have 2 questions.
1. Did someone work on this bug #NIM090650 for the 3.3 release?
2. Since 3.3 is closed on GitHub, what is the product cycle/timeline for release of a compiled version of 3.3?

Thank you,
Jared

eLocate Widget

$
0
0
Robert,

Is there any way to get the geometry service changes in the eLocate Widget without recompiling the widget? Or is there a way that we can get a tag for the geometry service so we could change it in the xml code?

The problem I have is that this tool is or would be heavily used by an internal group without internet access. Since the website goes to tasks.arcgisonline.com\rest..... they get an error every single time they use the address inspector to return a result.

Also, it would be greatly appreciated is we could get a compiled 3.1 version.

Let me know what the options are.

Thanks,

Nick

ArcGIS Viewer 3.3 for Flex released April 29, 2013 !!

$
0
0
Today we've released version 3.3 of the ArcGIS Viewer for Flex.

Read the details in What's new in 3.3.

This release focused on updates of existing functionality and localization, in addition to bug fixes.

Some of these include:
  • Enhancements to Directions Widget
  • Improved support for Portal for ArcGIS
  • Allow changing URLs in Application Builder for existing KML, CSV, GeoRSS, WMS, WMTS, and Web Tiled layers
  • Additional configuration options in Application Builder
  • Updated localization for Hebrew and others

For a complete list of "what's new in addition to updated concepts/documentation, please refer to ArcGIS Viewer for Flex main community page and What's new in 3.3.

Enjoy!

composite symbol with textsymbol

$
0
0
Hi, everyone.
I'm trying to create a compositeSymbol with a simpleLineSymbol and a textSymbol to show some information about the polygon or polyline that the user create. I've already did a compositeSymbol with a pictureMarkerSymbol and TextSymbol together, but I didn't seems to work with a polyline.

Enhanced-Search-Widget-for-FlexViewer Part III

$
0
0
All,

Here is a new thread to post questions and discuss the Enhanched Search Widget. The old thread was getting too long.
Viewing all 2097 articles
Browse latest View live