Tag Info

Hot answers tagged

10

From a totally abstract management perspective, the three APIs are equal. They represent code that runs in a web browser, the purpose of which is to display map data to a user over the internet. You can create a successful, meaningful mapping application with any of the APIs. Furthermore, the impact of each strength/weakness (difference) in each API will ...


10

I believe that everything is moving in that direction, mobile browsers only support javascript/html and even in win8 javascript/html is a supported stack for metro-apps. ESRI will have to follow, and they are (arcgis online etc.) But, if your users still use older versions of IE on the desktop, right now adobe flex or silverlight is a better choice. On ...


7

Benefit of using the ArcGIS Viewer for Flex application is that you get a flexible out-of-the box viewer with no coding and minimal configuration. There are also a number of widgets available for the viewer that you can use for extending your application. It is a great option for those looking to minimize the amount of time and effort required in setting ...


6

The URL for your services is incorrect. You're using the SOAP endpoint, not the REST endpoint. Try: <layer label="Williston Pipelines" type="dynamic" visible="true" url="http://d1mnr3m1/ArcGIS/rest/services/Postgres_Map/MapServer"/> You may also require a cross domain policy if your application and your service are hosted on different ...


6

Silverlight/WPF Cons Requires a plugin Future is less certain than javascript (HTML5) Silverlight/WPF Pros Fully supported by Visual Studio Has better multithreading support (at least compared to flex). Better SOAP support (Esri's SOAP is more complete than REST).


5

Not your full answer, but a starting point: var timeInfo:TimeInfo; if (layer is ArcGISDynamicMapServiceLayer) { timeInfo = (layer as ArcGISDynamicMapServiceLayer).timeInfo; } else if (layer is ArcGISImageServiceLayer) { timeInfo = (layer as ArcGISImageServiceLayer).timeInfo; } else if (layer is FeatureLayer) { var feaLayer:FeatureLayer = layer ...


5

What are the pros and cons of using the ArcGIS Viewer for Flex application as a starting point for GIS applications? Esri support will support the core viewer and the widgets that come with it (but not custom widgets). This is a huge reason to base your application around the viewer. Stop re-inventing the wheel and focus your development time on ...


4

This sounds like a permissions issue, I've dealt with something similar before. I had a view in SQL Server that I needed to join onto a FC in my MXD for a map service, here's what I had to do: give my SOC account (which in my case is a domain acct) db read and db execute access to my database create a ole db connection in ArcCatalog with OS login copy that ...


4

Have you check out this sample from ESRI http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&scriptID=15956


4

I used Fiddler and now I know the service that you added is from: http://gis.ventura.org/ArcGIS/rest/services/MSDs/Basemap/MapServer There are a few other tools like Fiddler that captures HTTP traffic (request and responses from client to server) and logs it for the user to review. If you really need to hide your url's, use the HTTPS protocol. Using HTTPS ...


3

Assuming your talking about this More tab: This is visible in the default configuration for the current v2.2 Flex Viewer. * I assume you want to know how to remove it, as it maybe having sync problems with the TOC widget or perhaps you just don't need to show the layers via the More button AND the TOC widget? I can't take credit for this, but found your ...


3

http://help.arcgis.com/en/webapi/flex/samples/index.html#/Surface_Profile/01nq00000041000000/ Geoprocessing Tasks>Surface Profile


3

Edit: sorry, my original answer was incorrect. Problem is the spatialReference of the input geometry cannot be understood by 9.3.1 (i.e. wkid 3857). Easy fix, simply set the spatialReference of the input geometry to 102100 before assigning it to the GP Params: var g:Graphic = event.graphic; g.geometry.spatialReference = new SpatialReference(102100); var ...


3

From a technical standpoint, I don't think this sounds too difficult. One issue you will face is that Python is slow and Raster I/O with geoprocessing services is also slow. If the analysis is being done synchronously (and not emailed to the user an hour later), I would really recommend checking out server object extensions (C#/Java). I could imagine ...


3

There is no need to send something along to the server (and expecting it back). The AsyncResponder supports a third argument "token" which can be used for this. There is no need to create special classes or wrap it when the Adobe/Apache Flex SDK support it already :) token:Object (default = null) — Additional information to associate with this request. ...


3

The answer is Yes. Have a look at this sample: Generalized Data. If you have a look at the Original Services, the Feature service is wkid:4267, while the map and the tiled map service are in wkid:3857/102100. If you have a look at the service call using Firebug, you will see that the data is requested in wkid 102100:


2

If you're dealing with cached maps, the /MapServer REST call returns TileInfo information, which includes information about each LOD and its resolution.


2

I guess all these answers are good but a bit out dated. Flex and Silverlight were surely very popular compared to Javascript and some might argue that building Application using these APIs was really easy, but the BIGGEST DEFICIT that Flex and Silverlight have is that they are PLUGINS. And that is the cause for their annihilation. With the onset of HTML5 ...


2

Searching for "map tip" on Esri's Flex API site yielded these results: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=MapTips http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=InfoWindowRollOverSample


2

in Flash Builder 4, Go to File Menu -> Import -> Flash Builder project. Keeping "File" option selected, click "Browse..." button. Select flexviewer-2.3-src.zip downloaded in step 1, e.g. "C:\Documents and Settings\username\My Documents\flexviewer-2.3-src.zip". "Extract new project to:" textbox will be automatically set to location where the project source ...


2

You need to add your widgets to the config="widgets/HeaderController/**HeaderControllerWidget.xml Source: http://help.arcgis.com/en/webapps/flexviewer/live/apps/config-wgcontainers.xml Good Example http://help.arcgis.com/en/webapps/flexviewer/live/index.html


2

I want to be able to call this function after a MouseEvent.MOUSE_MOVE event in order to measure the line on the fly First off, some words of caution. I implemented similar functionality in a Flex app awhile back i.e. When user moved mouse around the map, it kept pinging the geometry service for the distance or xy coordinates and displayed it ...


2

I have written one and posted it in the code gallery, not all KMLs are supported yet, but loads a few basic ones. Hope it works from you. This is for ArcGIS Flex 2.4.... http://www.arcgis.com/home/item.html?id=d6b993ef803249f486e83edd3f94239b


2

The download link for the old Swipe & Spotlight tool is http://arcscripts.esri.com/details.asp?dbid=16566 Note that this was build with Adobe 3.x SDK and will not work with Adobe Flex 4.0/4.1/4.5 SDKs.


2

This is not configurable with the compiled version of the ArcGIS Viewer for Flex. Assuming that you are a Flex developer, already familiar with and working with the source code, and using the latest version (currently 2.3.1). The relevant file is widgets/SearchWidget/SearchResultItemRenderer.mxml and at the bottom of that file is where the source property ...


2

OK, there seems to be a few issues here. We are using a direct connect, and this needs Oracle Client installed on the ArcGIS Server. The SOC and SOM accounts were a red herring. If we're going straight through the SDE connection port, then you don't need the client, but as we're going through to the db, i.e. using 2 tier architecture, rather than 3 ...


2

Not tested this, but this widget could do what you want: DESCRIPTION: To Allow the user to select any shape file in zip format (that is example.shp – for geometry and example.dbf - for Attributes, are only files to be zipped) and display over the current Map as graphics. Actually it creates a custom geometry to take advantage of the ...


2

1) I would argue that it depends more on what the intended users are running on the client side, when building web applications for use inside an enterprise intranet you typically have control over the OS and browsers, plug-ins etc, the users can use. But if you are targeting users on internet you can only make assumptions based on statistics. Javascript is ...


2

I'd say it all depends on what you are most comfortable coding and if you have the available software like Flash Builder 4.5 to make a great Flex app. using the Flex API. I'd also take into consideration how good the documentation is on each choice, and how much discussion is facilitated on the various forums for each API as well. It really comes down to ...



Only top voted, non community-wiki answers of a minimum length are eligible