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

Identify Widget 3.0.1f - results & white exclamation problem

$
0
0
I have some problems using the identify widget. 1) Everytime I try to identify a feature, I will get this message "No Results Found" before the results show up. I try to modify the code on ArcGISDynamicMapServiceLayer but still get the same message.
2) Somestimes I will get a White screen with exclamation mark after the identify results show up.
Have any ideas how to solve this problems? Thanks for the time to look into it.

Configuring the Initial Settings - ArcGIS Online for Organizations

$
0
0
Hello,

This might seem a silly question to most but I cannot figure out for the life of me how to get started only having an ArcGIS Online for Organizations account. I do not have a server so I'm not sure of the settings I need when flexviewer initially starts. I have web maps I can integrate and I also know how to integrate specific services that I have published in my organization account but I do not know which folders to set or url to point to in the initial settings. Can someone explain this to a non-developer?

Thank you,
Jarom

BookmarkWidget to be leaked?

$
0
0
Has anyone seen this error message?

warning: The class widgets.Bookmark.Bookmark has been used in a call to net.registerClassAlias() in _BookmarkWidget_FlexInit. This will cause widgets.Bookmark:BookmarkWidget to be leaked. To resolve the leak, define widgets.Bookmark.Bookmark in the top-level application.

I'm wondering if it's related to the "gray circle of death" which I experience intermittently when using the Bookmark widget.

WMTS - how to use?

$
0
0
Hi all,

I know I will look silly to many of you... I´m stuck with this problem and I just hope someone will help...

My problem is that I´m not able to use WMTS. I know it´s different than WMS - I read about necessity of using proxy page, but I don´t know how to make it work (no idea how proxy page works, how to use it, how to specity the config.xml,...)... So please, can anybody help? (yes, I read the documentation, but it seems it just made a bigger mess in my head)

WMTS I want to use:
Service and Cappabilities

Big thanks for helping!

identify widget version 3.0 raster layer.

$
0
0
I have published a map on server consisting of 10 layers of which only one layer is published as raster the rest is published as feature layer. I used the identify widget. when i used the all layers option then the this widgets shows me data for all the layers in the map with the names of the layers and data in their respective fields. however it does not show me the layer name of the raster layer. However if I use the name of raster layer in the identify config.xml to take the information of the raster layer only then it returns me No result found. however if mentioned any other feature layer separately it returns the info for that feature layer. its only for the raster layer that it shows no result found when i use the name of the raster layer and do nt use the all layers. Any suggestion please.

eSearch Spatial Search Buffer

$
0
0
The spatial search works fine in the eSearch - but, the actual buffer graphic is not displayed on the map - it used to be and now it;s not... In Firebug everything looks fine, geometries are returned...and, like I said, the tool works you just cannot see the buffer layer.
Any ideas?

Add WMS Service in flex Viewer

$
0
0
Hi guys i have a problem.
I have a WMS Service that has been published with a product of Intergrapfh.
This is the wms service:

http://xx.xxx.xxx.xx/reflector/servi...etCapabilities

and i add this service in flex viewer with this method. In config.xml i add the string
HTML Code:

<layer label="NRCan" type="wms" skipgetcapabilities="true" version="1.1.0" wkid="102100"
                  url="http://xx.xxx.xxx.xx/reflector/service?map=mywms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities"
                  visible="true" visiblelayers="Satellite"/>

but when i run the application the wms it's not visibile.
Any help is great
Thanks

Flex 3.0 with Flash Builder 4.5

$
0
0
I have Flash Builder 4.5 and we want to upgrade our Flex 2.2 to 3.0. Do I need Flash Builder 4.6? Can I run Adobe Flex 4.6 SDK, with Flash Builder 4.5?

Re: Enhanced Search Widget - auto open datagrid

$
0
0
Too excited and accidentally click the wrong check mark! You should get the CREDIT :)

Error on OverviewWidget.mxml

$
0
0
Sometimes I got an error message on OverviewWidget. See the attached file. I defined layer on OverviewWidget.xml and didn't use any basemap. Does anyone know why the message will show up?

Thanks.
Attached Thumbnails
Click image for larger version

Name:	error.gif‎
Views:	N/A
Size:	29.3 KB
ID:	19343  

Data Extract Widget doesn't work sometimes

$
0
0
Greeting everyone,

I am currently using the Data Extract Widget and have exposed its corresponding geoprocessing tool. I works as intended when I select a reasonably small area with the selection tools the widget makes available. Executing the tool executes the process and outputs the zip file. Unfortunately, whenever I select a larger region when I download the file to my local computer...it doesn't store it. I have preset the configuration of the geoprocessing tool to output a shape file rather than a file geodatabase. I don't know what is the issue.

Server

I presume it's because the dataset is too big or something of the sort. I have taken a look at the jobs folder in the arcgis directory and it seems that the resulting zip files is 0Kb.

I don't know why is it that it works for a small selection and not a larger one...Does this warrant the use of an ArcSDE? I just want to make sure I have tweaked all things possible before proceeding installing ArcSDE.

Thanks in advance!

- Jorge

How do I access the x and y position of a draggable widget?

$
0
0
Hi! I'm new to SFV development and am trying to add a save session feature. So far I have been able to save the map extent, layer visibility and visibility of open widgets. I'm trying to add widget positioning and size to this, but am having a hard time figuring out how to access the x and y position. Any help would be greatly appreciated. Thanks!

Is it possible to get the state of the Overview Map?

$
0
0
Is it possible to get the state of the Overview Map? I need to know whether the widget is open or closed but it is returning a state of null.

Also, is there a way to programmatically open the Overview Map Widget like other widgets?
I've tried this with no luck:
AppEvent.dispatch(AppEvent.WIDGET_RUN, overviewMapWidgetId);

Thanks!

Identify Widget 3.0.1f Issue

$
0
0
Robert,

Thanks for keeping updating the Identify Widget. I like the new feature which enables users to delete the identified records. While I am using the latest version (3.0.1f) of Identify widget, I found that an error message of "Invalid layer ID specified" was displayed and then disappeared quickly. But, I can still got the right results. I checked with the source code and found that the code segment of processing Dynamic Map Service Layer in "identifyFeatures" function should check if all the Layer IDs array is empty, i.e., all the feature classes in a map service are invisible. If that array is empty, the aboved mentioned error will occur. One of our Flex Viewer applications has several map services with all the feature classes being invisible by default. It is some kind of difficult to notice that quickly disappearing error message.

Identify Widget Question

$
0
0
We recently updated to 10.1 and our server admin decided to use an alias for the machine name... Basically, instead of using machinename:6080/arcgis/rest/services, he has changed it to machinename/xygis/rest/services.

But when I use that connection to add my services to the web app, the identify widget does not identify any of the layers. Even if I tell it to identify all layers. So I am quite sure it is not an issue with the name of the layer.

Any ideas whats wrong and how to fix it?

Thanks
Chris

Social media share buttons

$
0
0
I wish to put Facebook, Twitter and Pinterest 'share' buttons on a flex based web mapping application that I am building. Do I need a special widget for that, or can I use code from places like sharethis.com, or addthis.com?

I do not want to do anything other than allow the user to click the button for the social media platform they want, and share/pin/tweet the link to the website on their wall.

sharedDataUpdated Not Firing.

$
0
0
I'm having an issue with data being passed with one Widget to another. The function sharedDataUpdated never seems to fire. After reading numerous posts on widget communications I have currently set up:

In widget A
Code:

var paramArray:Array = new Array();
paramArray.push(centerPt.x);
paramArray.push(centerPt.y);
paramArray.push(rad);
paramArray.push(layerList);
                               
var paramArrayCollection:ArrayCollection = new ArrayCollection(paramArray);
addSharedData("searchParams", paramArrayCollection);
                               
                               
var id:Number = ViewerContainer.getInstance().widgetManager.getWidgetId("Search Data Results");
AppEvent.dispatch(AppEvent.WIDGET_RUN, id);

In Widget B
Code:


            private function init():void
            {
                if (configXML) // checking for valid content in the configuration file
                {
                                        AppEvent.addListener(AppEvent.DATA_PUBLISH, sharedDataUpdated);
                }
            }

          public function sharedDataUpdated(event:AppEvent):void
          {
                               
                                var data:Object = event.data;
                                if(data.key == "searchParams")
                                {
                                       
                                        Alert.show("DATA", "DATA PASSED", mx.controls.Alert.OK);
                                       
                                }else{
                                        Alert.show("NO KEY", data.key, mx.controls.Alert.OK);
                                       
                                }
                }

Any thoughts on what could be preventing sharedDataUpdated() from being fired would be appreciated. Thanks
Ron

eSearch - graphical search

$
0
0
Hello,
My question is how can I expand the bottom of the graphical search box. The part that says Buffer Graphic is cut in half.
Thank you,
Tina

How do I programmatically move and resize widget at the same time?

$
0
0
I'm trying to move and resize a widget based on saved state information but I can't seem to do both at the same time.

Here is my code:


Code:

       
this.width = 500;
this.height = 500;
this.wTemplate.width = 500;
this.wTemplate.height = 500;
this.setXYPosition(100, 100);

This code will set the height and width of the widget but it will not move the widget to the correct XYPosition. If I comment out the width and height lines, the widget will move to the correct position. What am I doing wrong?

Thanks!

Reset Mosaic Dataset colormap based min an max

$
0
0
I am trying to reset the colormap of my mosaic dataset based on the minimum and maximum pixel values for the current extent. I know that I can apply a colormap using one of the chain functions. Is there a way to do this? To create a new colormap (on the fly) and apply the created colormap to the mosaic dataset?
Viewing all 2097 articles
Browse latest View live