Tag Info

Hot answers tagged

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


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

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

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


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

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

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

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

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

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

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

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

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


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

pdog, Here is a thread where I answered that in the ESRI Flex Viewer forum: http://forums.arcgis.com/threads/48126-Layer-List-Widget-is-it-possible-to-only-allow-one-selected-layer-at-a-time


2

Here is a post on the ESRI Flex API hwere I answered this question: http://forums.arcgis.com/threads/51780-Change-FlexViewer-widget-icon-and-label-programmatically


2

Carto Vista (using Flash/Flex) is a good example of what can be done with your existing data. "CartoVista is an innovative web-based mapping solution to share and publish statistical data. " http://www.cartovista.com/CartoVista3/2011CanadianPopulation.aspx Geospatial Relational Database Management System (RDBMS) Support The CartoVista Publisher 3.7 ...


2

I believe that as of ArcGIS Server 10.1 access to metadata for map services is now supported through the REST services: ...The metadata is also available to web developers using a REST request. Developers can append /info/metadata to the end of a service's REST URL to get an XML file containing all the service's metadata. Developers can parse this ...


2

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


2

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


2

@user8732, the url in the vendor-provided dojo stuff implies an OpenStreetMap-themed tile distribution, which leaves me thinking you can implement it using ESRI Flex-viewer's built-in OpenStreetMapLayer class. ESRI provides an example complete with source, and If I adapt that example based on what's explained in the OpenStreetMapLayer API, I'd get the code ...


2

I think the ArcGIS Java Script API will be the best option. As per your question Java Script API +Dojo +ArcGIS is the best option and it supports Desktop,mobile and TAB platforms. Check out the pros/Cons of Java Script API here



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