3
votes
1answer
197 views

Trouble with accesing API code: “ReferenceError: esri is not defined”

I am developing a web map application in the ArcGIS API for Javascript. I two have ArcGISDynamicMapServiceLayer layers that I am trying to run a simple query task on. The code I am using works in ...
0
votes
1answer
12 views

Hiding Rest Service Url in Javascript

While users using my application, they can view resource from browser and see my arcgis rest service URLs. So If I use token based security, security token can view. Can I hide this from users?
0
votes
1answer
25 views

ArcGIS 9.3 geoprocessing service output consideration

I'm developing geoprocessing service which do few processes with geographic data. I would like to get somehow geometry of those data and use it in my web aplication (JS ArcGIS API). Now I'm wondering ...
4
votes
0answers
42 views

Is it possible to implement sticky move tolerance in a ArcGIS JavaScript API application?

We are working on a project in ArcGIS JavaScript and is going fine. We want to add sticky move tolerance to our project so it will not be so easy to move features on the map. Is it not possible to ...
2
votes
0answers
56 views

ArcGIS local server using javascript api still does http gets to services.arcgisonline.com (internet)

We have setup a local server hosting the ArcGIS server software (10.1). We installed the ArcGIS JavaScript API on the same local server. Our goal is to supply maps when the client has no internet ...
1
vote
0answers
35 views

Unable to reorder after layers from multiple ArcGISDynamicMapServiceLayers

I used the ArcGIS Javascript layer reordering sample as template. Initially I have 4 layers added to the map by ArcGISDynamicMapServiceLayer where reordering was working. Then, instead of using add ...
1
vote
0answers
88 views

How to write addressToLocations onError?

How can I write a code for checking the error condition in Javascript (ArcGIS) for addressToLocations(params, callback?, errback?). if somebody entered an invalid address- how can I call error ...
1
vote
0answers
79 views

adding WMS service to application ArcGIS JS api

I've got map in projection: 4326 (WGS-84) when I try to add WMS layers which is in different projection I always get connection timeout Do you know if I could change WMS projection to set it up ...
0
votes
0answers
60 views

Dojo Gantt Chart doesn’t work properly wqith ArcGIS API 3.3

I am using a Dojo Gantt Chart in ArcGIS javaScript API3.3. and it seems that it does not work properly with the API3.3 popup menu which appears when you hover over the task or project; it pops up too ...
0
votes
0answers
38 views

How to copy feature layer graphics

Is there any way to copy graphics from feature layer? More details: I have a map, where I retrieve some information from sql db and add a chloropleth map based on the values. Before adding them to ...
-1
votes
0answers
38 views

Get attributes and geometry from a feature and convert it to a graphic in JavaScript

How can I get the attributes of a selected data (wfst) and push it into a grid? Can I convert this selected feature to a graphic? Any idea?