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

disable attribute table update when zoom in/out

$
0
0
The attribute table is a tough nut to crack.

I created a duplicated attribute table, so when I perform a query it will show only the results of the query.

However, when you zoom in/out, the attribute table is updated to include any visible features that are not part of the query.

So, my goal is to develop a way to disable the updating process when you zoom in/out and have this duplicate table post only query results.

The attributetable has a property called updateEnabled but it didn't work. I think the process that updates the table must be buried in the API.

So, I am in the process to create an alternate process that is not very practical.

In the init of the attribute table, I set a boonlean variable that is by default to false. If it is false, then it should exit the init and terminate further process.

The query process that it is originated from another widget sends a the boonlean variable (widget communication - Thanks Robert) to the attribute table as true and it opens the attribute table with the query results.

If you zoom in/out that boonlean variable will be false it will not alter the table.

So, here are my two questions.

Is there an easier way to disable the updating the table when you zoom in out?

If not, how can you exit the widget in runtime? If in the init of the attribute table the boonlean is false, how can it exit the widget.When I use vb.net it was easy to do so, but how it's done in flex?

Thank you.

eSearch : Error Code 2036

$
0
0
I am upgrading an 'Ancient' map and it made use of an OLD version of eSearch. I am trying to slowly port over the settings and getting this error message. Where can I look up the error codes?

Operational Layers are not loading.

$
0
0
I have made a web application through flex application builder but when i access the same web application on another system, it
throw's an error, and i have already set corssdomain.xml also at wwwroot, but then also i am facing the same problem.
Attachment 31857

Need Solution!

Thanks & Regards

Sunit Surati
Attached Thumbnails
Click image for larger version

Name:	error.jpg‎
Views:	N/A
Size:	90.7 KB
ID:	31856   Click image for larger version

Name:	error.jpg‎
Views:	N/A
Size:	90.3 KB
ID:	31857  

eSearch & Identify Popup Link Image-Very large

$
0
0
Good morning,
An issue was recently pointed out to me by one of our users. The image that is used as the popup link (as well as at the bottom of eSearch or Identify results dialogs) is very large (see attached image). I am not sure when exactly this happened..I don't believe it was present at 3.6, but may have occurred since???..I am going to do some digging to see.

The image in the search results is displayed properly, but the image in the popup is rather large.

This occurs on both the eSearch and Identify popups - not in the results dialog.

Here is an example of the links tag in the config xml:
<links>
<link alias="Tax Maps">
<![CDATA[http://maps.lakecountyil.gov/taxmapgallery/TaxMap.html?PINAddress={ims_sde.DBO.tax_parcels.PIN}]]>
<icon><![CDATA[assets/images/map.png]]></icon>
</link>

</links>

Anyone encountered this?
Thanks
Eric V
Gurnee, IL
Attached Thumbnails
Click image for larger version

Name:	Identify_Popup.png‎
Views:	N/A
Size:	121.3 KB
ID:	31871  

How to align text from left to right

$
0
0
i have created my new app by flex viewer, but the real challenge is to how to convert align text from left to right, in (search, layer list, query...etc) widget,


thank you

Geoprocessing widget doesn't work

$
0
0
hi everyone,

for the geoprocessing widget (GeoprocessingWidget_ExtractData) wel be functional in my project flex viewer i'm follow the following
steps:
1 - I publish the map service.
2 - I share the service in the same folder where I already publish the map service.
3 - in the Config.xml I add this:
Code:

<widgetgroup label="Tâches de Geotraitement">
     
        <widget label="Extraction des données"
                icon="assets/images/i_layers.png"
                config="widgets/Geoprocessing/GeoprocessingWidget_ExtractData.xml"
                url="widgets/Geoprocessing/GeoprocessingWidget.swf"/>
               
      <widget label="buffer" left="600" top="90"
                        icon="widgets/BufferDistance/assets/images/i_buffer40.png"
                        config="widgets/BufferDistance/BufferDistanceWidget.xml"
                        url="widgets/BufferDistance/BufferDistanceWidget.swf"/>
        </widgetgroup>

4 - in the GeoprocessingWidget_ExtractData I add this:

my problem isthat during the execution of the project nothing happens the widget does not work and no error message!!
Attachment 31891what I can do??? help me please.
Attached Thumbnails
Click image for larger version

Name:	geop.png‎
Views:	N/A
Size:	6.4 KB
ID:	31891  

Accessing Flex Viewer Application from any computer anywhere on the internet.

$
0
0
I have created some flex viewer applications and now want to enable users from anywhere to access these applications over the internet.
My application links look like the following; portnumber/flexviewers/applicationname
I have opened port 80 as well as port 6080 and any computer in my office can connect to my applications. However when I try from my home computer the applications don't load.

I read the website page below and it appears that attaching an Amazon elastic IP to my instances would solve this problem.
https://www.e-education.psu.edu/cloudGIS/node/42

I was wondering if I really do need to use this application or if there might be a free solution available. I did notice the following information mentioned on the website.

"As long as this EIP is associated with an EC2 instance, it doesn't cost you anything."

I just want to make sure I won't be charged for anything so if any guidance could be provided I'd be very grateful.

Copyright information in custom layout template for print widget

$
0
0
Hello All,

I have created a printing geoprocessing service with a custom layout template. In the print widget there is a textbox allowing users to enter copyright information, but I cannot find the dynamic text in ArcMap that relates to this copyright field. Would anybody be able to explain to me how I can enter a copyright text block in my custom layout that references the copyright information entered in the print widget?

Thank you,
Rob

Future of Viewer for Flex Development

$
0
0
So what are everyone's thoughts regarding the future of the Flex API and the Viewer for Flex?

Based upon the following post from ESRI, it appears that Flex will be shelved after this year with only (2) scheduled upgrades for the year 2014. Article Link: ESRI's Roadmap for Web Developers

Is there any chance that ESRI will hand the code over to the open source world so that Flex can be maintained?

I have to say that this came as somewhat of a shock after being assured last fall that ESRI will continue to fully support the platform.

You may want to pass the work on to those that are not yet aware of the future change...

Haskett

Check point inside polygon (city boundary)

$
0
0
Currently, I am using World Geocoding Service(http://geocode.arcgis.com/arcgis/res.../GeocodeServer) and create a map extent to verify the address point whether inside the city boundary or not then show a pop up message. Map extent works great for xy boundary but point still show if the boundary is in irregular shape.
So how do you check if a point is inside a city boundary and using contains() from API reference?
if( polygon.contains( MapPoint(graphic.geometry) ) )

I modify showSearchResultOnMap function on GeocoderComponent.mxml.
Thank you.

REST Services Directory Disabled and Flex Mapping Apps

$
0
0
Maybe someone can comment on this....

With older versions of the Flex viewer, when the REST services directory was disabled you would get polygons on the map but none of the widgets worked...no popup, no search, etc.

The newer version of the viewer you can now get popups while the Services Directory is disabled but still the search widget, including Robert's awesome esearch widget will not work. It looks like maybe there is another URL option for the REST service that will enable the tools to work when its disabled but I hit a wall on the intel.

MapServer?f=jsapi or MapServer?f=amf


Anyone figured out a way to "hide" your services from the world while at the same time exposing them and all of the functionality through the Flex viewer?

It seems silly that we would have to keep that directory open to the world just to use the flex viewer.

Thank you!

Aaron

ID Widget 3.6.5: offset between identified pixel and blue circle for non-WGS84 datums

$
0
0
Hello Robert and others,

I have raster data layers with NAD27 datum in an mxd with GCS_WGS_84 data frame projection. The NAD_1927_To_WGS_1984_6 transformation is being applied in the data frame to convert the NAD data to WGS84. The mxd is published to a service and displayed in a Flex 3.6 app along with ESRI basemaps (inherently in WGS 1984 Web Mercator (aux sphere), EPSG 3857).

https://www.sciencebase.gov/flexviewer/USMinMap/

The NAD27 raster data layers are re-projected on the fly to WGS84 and overlie the basemaps and other data perfectly. Using ID Widget 3.6.5, queries of pixels operate perfectly, with the correct attribute being reported for a pixel. However, the blue circle generated by the widget is offset from the pixel which was queried (clicked).

Attachment 31957

To see what I mean, go to the above Flex app and turn on Regional Studies>Bodie Hills, CA-NV and zoom way, way in. Turn off Landsat layer at bottom of TOC. Then use ID widget to query an individual pixel and note offset between clicked pixel and blue circle.

If the image is reprojected to WGS84 datum before publishing, there is no offset between clicked pixel and the blue circle.

I am wondering if the widget should generate the blue circle based on the coordinate units sent to the server for the query (which I think are in the "service" coordinates, WGS84 Web Mercator aux sphere), and not in the units reported back from the data layer being queried (NAD27). As it is now, it appears that the offset will be there any time a layer having a non-WGS84 datum is in a Flex App. Is there a way to remove the offset other than reprojecting the NAD27 data to WGS84?

Or is the offset an expected feature that is meant to show that the layer being queried has a different coordinate system/datum than the service or overall Flex app?

Thank you in advance...
Attached Thumbnails
Click image for larger version

Name:	Untitled.jpg‎
Views:	N/A
Size:	197.0 KB
ID:	31957  

Identify Widget 3.4 All layers Question

$
0
0
When using the identify widget on ALL layers: Is it possible to return a "No Feature Found" for each layer NOT identified (e.g. a specific feature does does exists at click location)?

Thanks,
Xander

Map Service Security

$
0
0
If there are multiple roles viewing an application and only certain map services are available to those roles will each user have to login or cancel each secure map service in the config.xml? My goal is to make one login screen and have only the map services available to that user appear similar to logging into the Rest endpoint. I wanted to ask before I went into a custom login solution.

Thanks

ability to rotate map

$
0
0
Hello,
Is it possible, via a widget or other means, to rotate the orientation of my map. By default north is at the top of the screen but I would like to be able to view my map facing E, S, W and other directions too.
Thanks,
Jason

eSearch Widget - Initial search from URL parameters

$
0
0
My client has a requirement to use urls like MyFlexViewer.html?search=12345 and have it search for 1235 and zoom to it. (their old version did this, and use the 1st search term to make it happen)

I've seen several treads from the 2.x days showing how to add the code to do that. But also see many comments about 3.6 handling this nicely - the notes say "See instructions" - But... I can't seem to find them. I have read the config.pdf but didn't see it. I took a peek at the code, but found nothing.

Thanks in advance.

Finding the config.xml

$
0
0
I need to change a couple of layers in a service I just created in builder to false, so that the map does not open with them open with them on. For the life of me I can not find the location of the config.xml for the service. Can someone give me hint?

eDraw point label not in correct coordinate format

$
0
0
Hi Robert,

Your custom widgets are really awesome, however I am having a problem with the eDraw widget point "Show Measurement" coordinate settings. I have added another "pointunit" for Degree Decimal-Minutes. The label without exception displays the Decimal Degrees label and not the Degree Decimal-Minutes label that I need. Fire and Law Enforcement in our area almost exclusively use the Degree Decimal-Minutes coordinate format.

I have tried changing the spatial reference to NAD 1983 UTM 10N (26910) which uses meters but it doesn't make any difference.
Our local data is NAD 1983 State Plane California III FIPS 0403 Feet with a WKID of 2227. I have tried using the widget in a project with no local data but the label is still in Decimal Degrees not Degree Decimal Minutes.

I am using the compiled version in ArcGIS Flex Viewer 3.6 and am using our own geometry service.

Thank you for any guidance in fixing this,

Dorothea
Attached Files

Moving Draw Widget Measurement label from it's default position

$
0
0
Has anyone been able to configure or customize the Draw Widget to allow users to move a measurement label from its default position? If not, maybe you can send me in the right direction? I'm using ArcGIS Viewer for Flex 3.6.

Thanks,
Greg

Minor Modification of the OOB Edit Widget

$
0
0
Hi There - I am required to use URL values passed from an external system as KVP in to the flex web viewer (the easy part).

What I am struggling with, is when you open the edit Widget, create your polygon, the attribute editor opens. Does anyone know how or where to start when modifying the edit widget so that I can pre-populate the attribute editor with those values passed from KVP.

I'm ok with getting the values from URL KVP to flex objects, but what i am not sure is how to pre-populate those attributes with the values.

Any helpers / advice / pointers would be greatly appreciated.

KR,
Steve
Viewing all 2097 articles
Browse latest View live