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

Flex Viewer 3.0 Query Widget Zoom Scale

$
0
0
the zoom scale doesn't work. when selecting a feature in the query widget it zooms to the lowest zoom level.

Can I embed the icons for the navigation widget?

$
0
0
How can I embed the icons for the navigation widget? the config file looks like this,
and I'll like to embed the icons in the swf.

<?xml version="1.0" ?>
<configuration>
<panwheel visible="true" fullexticon="i_globe.png" />
<prevextbutton visible="true"/>
<nextextbutton visible="true"/>
<panbutton visible="true" icon="i_pan.png" />
<zoominbutton visible="true" icon="i_zoomin.png" />
<zoomoutbutton visible="true" icon="i_zoomout.png" />
</configuration>

open multiple widgets

$
0
0
hi everybody.

i'm wondering how can i open multiple widgets at the same time. I tried to do what says on this post below but didn't work for me. The code only opens some widgets and at some point the events dispatched seems to stop without reason.

http://forums.arcgis.com/threads/250...ltiple-Widgets

Geoprocessing - Record Set Hyperlink

$
0
0
Is it possible to have a hyperlink in one of the record set fields returned by a geoprocessing widget? The record set is returned in a datagrid. I was hoping to set the url in table and not the datagrid.

Thanks

chart widget division operation

$
0
0
Hi guys i have a question.
In the chart widget of flex viewer 3.0 it's possible to divide one field with another field of the same services?
There is any example to see or any example for implemented widget in this way?
Thanks for any help

error: popup pie chart and locate widget conflict

$
0
0
Hello,

this seems like a strange observation so I'm wondering if anyone else has encountered this.

I'm using arcgis viewer for flex and consuming a web map from ArcGIS online.

I have a popup configured using ArcGIS online that shows a pie chart. I've noticed that in my application if I search for an address or two using the locate widget, and move around a bit, the pie chart graphic seems to get stuck, it shows the wrong data.

here's the app

http://www.trentsourceprotection.on....pup/index.html

any ideas ? thanks in advance

Another question on edit widget

$
0
0
I have setup a feature service to allow editing of a single attribute on specific features and this is working well. Is it possible to select several features at once and change the attribute on all selected to the same value? As is, it appears you can only update one at a time, even if you select more than one feature using the CTRL key or drawing a bounding box around them from the edit widget. It will display a single popup for all selected, but will only allow you to update one at a time.

How do I change the color of FlexViewer WidgetTemplate title?

$
0
0
How do I change the default yellow color of the FlexViewer's PrintWidget title to a color of my choice?

I noticed that WidgetTemplate has a skin part called "header", which is an s:Group that contains an s:Label--the actual header. I need a way to change the color of this header label, so I have been looking into skinning the container which is called WidgetTemplate. However, I need a way to only skin the one "header" skin part and not be responsible for rendering the rest of the container (i.e., the rectangle that defines the frame, the closeButton, contained components, et al.).

So I tried this:

Code:

<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx">
  <!-- host component -->
  <fx:Metadata>
      [HostComponent("com.esri.viewer.WidgetTemplate")]
  </fx:Metadata>

  <!-- states -->
  <s:states>
      <s:State name="open" />
      <s:State name="minimized" />
      <s:State name="closed" />
      <s:State name="disabled" />
      <s:State name="normal" />
  </s:states>


  <s:Group id="header">
      <s:Label color="0x000000" />
  </s:Group>
</s:Skin>


but when I assign the skin to this widget:
Code:

<viewer:WidgetTemplate id="wTemplate"
                      width="345" height="285"
                      minWidth="345"
                      minHeight="285"
                      styleName="fontstyle"
                      accentColor="0x33FF66"
                      color="0x33FF66"
                      skinClass="widgets.Print.PrintWidgetSkin">
</viewer:WidgetTemplate>

nothing is rendered at all.

Any help on this would be greatly appreciated.

My main source on skinning is Adobe: http://help.adobe.com/en_US/flex/usi...7-701787684186.

Also, I am using ArcGIS API for Flex 3.0 and hence Adobe Flex 4.6.

Error #2032 outside of network but not in network.

$
0
0
I have created some web services, I have created an Application using the builder tool. When I look at the map on my local machine. I can see the data and all works well. When I use my computer from home. It gives me the HTTP request error... with Error 2032.

Anybody know what could be causing this behavior?

Thanks.

Chris

Advanced Draw (3.0) & Print Issues

$
0
0
Thanks to Robert in a different thread I have 'successfuly' incorporated the AdvancedDraw widget into my Flex 3.0 apps. When I add the widget to my app everything 'appears' to work correctly. I can add text and print fine.

However, when I go to print with my added points/lines/polygons graphics the app 'hangs', consumes all available memory and crashes.

Does anyone have any thoughts or suggestions? I love this widget because of the buffer features, but I can't use it if people can't print.

Please help!! Any assistance would be greatly appreciated!!

Jason

Identify Widget & Select By Rectangle

$
0
0
Is it possible to use the IdentifyTask with a Select By Rectangle tool where it only selects features within the polygon?

The map service can not be loaded in Flex in arcgis 10.0 in Internet

$
0
0
I developed a Webgis using Arcgis server 10.0 for Flex API. The map service (it includes image) can not be loaded in Flex in arcgis 10.0 in Internet, but it can be loaded succesfully in Intranet. The Flex codes is:

map.addLayer(pix2);


I do not why? Appreciate any help.

Kind regards,

Michael

Identify Widget version 3.0.1f for FlexViewer 3.0 : Compiler Error 1046.

$
0
0
Hi I am trying to compile Identify widget version 3.0 on flash builder 4.6 . however after adding the identify folder(as down loaded from http://www.arcgis.com/home/item.html...728c50461a1a89. i recieved an compiler error:
1046:type was not found or was not a compile -time constant:Popupinfo

What is remedy, how to compile it . i have used the method as defined in the Readme file of the widget.

regards
nadeem

Identify Widget Problem with ArcGis Online

$
0
0
Hello,

Did anyone get beyond this problem? I'm having this issue with "Invalid URL" message using the widget. Oddly enough the enhanced widget works just fine using the same URL in the widget itself. If you click on the points of my layer that is in the map hosted by Arcgis Online service (without using any widgets) the popups show all the appropriate fields, also. Any help would be appreciated!

Thanks

Re: GeoRSS Feed Widget - Does not load RSS feeds other than ESRI's earthquake example

$
0
0
Justin,

Are you sure the RSS feed is a GeoRSS feed as looking at the source to the .xml there is no location information.

Have a look at this wiki page on GeoRSS:

http://en.wikipedia.org/wiki/Georss

Regards

Anthony

error: popup pie chart and locate widget conflict

$
0
0
Hello,

this seems like a strange observation so I'm wondering if anyone else has encountered this.

I'm using arcgis viewer for flex and consuming a web map from ArcGIS online.

I have a popup configured using ArcGIS online that shows a pie chart. I've noticed that in my application if I search for an address or two using the locate widget, and move around a bit, the pie chart graphic seems to get stuck, it shows the wrong data.

here's the app

http://www.trentsourceprotection.on....pup/index.html

any ideas ? thanks in advance

Another question on edit widget

$
0
0
I have setup a feature service to allow editing of a single attribute on specific features and this is working well. Is it possible to select several features at once and change the attribute on all selected to the same value? As is, it appears you can only update one at a time, even if you select more than one feature using the CTRL key or drawing a bounding box around them from the edit widget. It will display a single popup for all selected, but will only allow you to update one at a time.

How do I change the color of FlexViewer WidgetTemplate title?

$
0
0
How do I change the default yellow color of the FlexViewer's PrintWidget title to a color of my choice?

I noticed that WidgetTemplate has a skin part called "header", which is an s:Group that contains an s:Label--the actual header. I need a way to change the color of this header label, so I have been looking into skinning the container which is called WidgetTemplate. However, I need a way to only skin the one "header" skin part and not be responsible for rendering the rest of the container (i.e., the rectangle that defines the frame, the closeButton, contained components, et al.).

So I tried this:

Code:

<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx">
  <!-- host component -->
  <fx:Metadata>
      [HostComponent("com.esri.viewer.WidgetTemplate")]
  </fx:Metadata>

  <!-- states -->
  <s:states>
      <s:State name="open" />
      <s:State name="minimized" />
      <s:State name="closed" />
      <s:State name="disabled" />
      <s:State name="normal" />
  </s:states>


  <s:Group id="header">
      <s:Label color="0x000000" />
  </s:Group>
</s:Skin>


but when I assign the skin to this widget:
Code:

<viewer:WidgetTemplate id="wTemplate"
                      width="345" height="285"
                      minWidth="345"
                      minHeight="285"
                      styleName="fontstyle"
                      accentColor="0x33FF66"
                      color="0x33FF66"
                      skinClass="widgets.Print.PrintWidgetSkin">
</viewer:WidgetTemplate>

nothing is rendered at all.

Any help on this would be greatly appreciated.

My main source on skinning is Adobe: http://help.adobe.com/en_US/flex/usi...7-701787684186.

Also, I am using ArcGIS API for Flex 3.0 and hence Adobe Flex 4.6.

Error #2032 outside of network but not in network.

$
0
0
I have created some web services, I have created an Application using the builder tool. When I look at the map on my local machine. I can see the data and all works well. When I use my computer from home. It gives me the HTTP request error... with Error 2032.

Anybody know what could be causing this behavior?

Thanks.

Chris

Advanced Draw (3.0) & Print Issues

$
0
0
Thanks to Robert in a different thread I have 'successfuly' incorporated the AdvancedDraw widget into my Flex 3.0 apps. When I add the widget to my app everything 'appears' to work correctly. I can add text and print fine.

However, when I go to print with my added points/lines/polygons graphics the app 'hangs', consumes all available memory and crashes.

Does anyone have any thoughts or suggestions? I love this widget because of the buffer features, but I can't use it if people can't print.

Please help!! Any assistance would be greatly appreciated!!

Jason
Viewing all 2097 articles
Browse latest View live