Hot answers tagged

13

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 ...


9

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).


8

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 ...


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 ...


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 ...


5

Yes, you can autocomplete against a geocode service. Pseudo-code: if >4 chars + keystroke + delay 300ms Send Geocode request using text=inputBox.value Here is how it looks at the front-end: It waits for user to type in 4 characters, then populates a autocomplete flex component with the response. When you choose an item from the dropdown, it zoom ...


4

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


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

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 ...


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 ...


4

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

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

Use the Simplify method of the Geometry service: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/tasks/GeometryService.html#simplify()


3

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


3

There is an ArcGIS Viewer for Flex. There is an ArcGIS Viewer for Silverlight. But there is currently no Esri-supported ArcGIS Viewer for Javascript, nor is there one planned. See related question. "Viewer" is a term Esri uses for web apps that allow a user to create mapping web apps without writing any code. Typically these created web mapping apps ...


3

The Silverlight and Flex API's are by far the most popular ArcGIS API's and have the advantage of being browser plug-in's which provide a much richer and consistent user experience which is often quite important with GIS web apps. Silverlight is a probably the best choice if you favor .NET development and Flex would be best for developers that prefer the ...


3

Use the geometry from your first query as the geometry parameter in your second query. I know you said flex, but here's a JavaScript sample showing this: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_bypoly.html If there's a flex sample showing how to do this, it's probably here: ...


3

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 ...


3

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 ...


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

What is the difference between DynamicMapServiceLayers and TiledMapServiceLayers? A dynamic layer generates an image each time the map view changes - panning and zooming, turning sublayers on/off, etc. This image is then served in your map viewer. A tiled layer is pre-cached on the server, as a series of small images optimised for each zoom level - as ...


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:


3

This probably isn't the answer you want, but the Only solution is to do it by Hand. Not only are the API's very different, even the Languages and framework are very different. ActionScript might be a ECMAScript, but to run it as JavaScript, you'll have call JavaScript specific functions, and remove all the FLEX specific code. The UI's that you have built ...


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

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



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