Tagged Questions
0
votes
0answers
22 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
1answer
31 views
Problems editing geometry in JS script using a find task in a web application
I've generated a javascript code to my app based on the sample "Show find task results in a DataGrid" of ArcGIS API for JavaScript and I am using editable layers (WFS-T) and it works, but when after ...
0
votes
0answers
47 views
where clause with multiple fields : Arcgis api for javascript [migrated]
I am tring to perform a query with three fields .I have three combobox,each one is populated with a field values.I want to query with the value selected from combobox for each field.I want to know how ...
2
votes
1answer
42 views
ArcGIS JS - Missing “style” when printing dynamic layer
Im having an issue trying to get the url of the map being printed with a dynamic layer. WIth just tiled services and basemap it prints just fine.
// USED FOR PRINTING OF MAPS
function ...
4
votes
0answers
35 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 ...
1
vote
1answer
36 views
How to upload polygon data for appending to a geodatabase via a JS API web application
After a many hours of research, I am having a hard time determining the feasibility of an application I am trying to build.
Basic proposed functionality is: user logs in, uploads polygon (either ...
2
votes
1answer
92 views
ArcGIS JavaScript API geometry service offline capabilities
Lately I've been going through ArcGIS JS API samples, but from what I've seen, it looks like all geometric functions always go through server, and use server side REST functions. There is no option to ...
1
vote
1answer
58 views
ARCGIS JS API map.centerAndZoom()
I'm trying to get the map to move and zoom in to a point when a function is executed. Point gets selected, but without zoom. Interestingly when I zoom in to a random location and then execute the ...
4
votes
1answer
169 views
PrintTask in ArcGIS Online JS Api
I'm using the PrintTask() function from the ArcGIS Online API. Works like a charm...untill you add your own graphics.
When I don't run the addedAskedSymbolsToMap function in the code below, and only ...
7
votes
3answers
128 views
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing)
I have ArcGIS 10.1 installed with the web adapter for IIS. I've added a config file to the root of IIS7 to enable Cross Origin Resource Sharing (CORS) as per this page. I've pushed the cors enabled ...
0
votes
1answer
63 views
ESRI JS API - don't trigger onClick event when panning Map
I have a custom onClick handler for my map that is meant to add a point wherever the map is clicked. I'm finding that this function is triggered even when I click the map to pan. Is it possible to ...
2
votes
1answer
107 views
call child div function from parent (not using window.opener)
This is a a Javascript/JQuery question that is directly related to the ArcGIS Javascript API...
I have a map div created using a 'data' tag in HTML, which becomes visible on a button click.
(I'll ...
1
vote
2answers
205 views
Spatial query in ArcGIS Javascript Api 3.1
I have scenario in which I have to select features drawing a polygon and and get the attribute values in to a tables or lists.The features on the map consist of polygon, line,point at the same time so ...
3
votes
1answer
126 views
Rendering error ArcGIS javascript API IE8
I have an issue when displaying features on a map in ArcGIS Javascript API V. 2.8. I want to know if this behavior is seen before, and what could cause it.
In Internet Explorer 8 the map looks like ...
3
votes
1answer
177 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 ...
2
votes
2answers
360 views
ESRI Javascript API: How to hide infoWindow while using measure tool?
In my Javascript API Web application I'm using the infoWindow to query a parcel layer and display display information in a popup when I click the parcel. I've set this functionality to turn on and off ...
5
votes
2answers
213 views
Moveable ESRI / ArcGIS Identify Popup Window (Dojo)
I'm trying to get a popup window that identifies a location to be moveable. My code is similar to the API example:
var popupOptions = {
fillSymbol: new ...
1
vote
1answer
176 views
sorted ItemFileReadStore list not pushed to dropdown menu // Dojo, ArcGIS
this may be more a Dojo question than ArcGIS, but I am not sure if the Javascript API is related to this issue.
I am trying to alphabetically sort a Dojo store and show these items in a dropdown ...
1
vote
1answer
76 views
ESRI Javascript APT FeatureSet input to custom Geoproecessing tool
I have an ESRI Javascript application that uses a geoprocessing service that uses a cutsom GP tool.
Since I have a set of values to be passed to the GP service I am planning to pass in it as a record ...
5
votes
1answer
90 views
How to draw graphics in a child window?
I am adding some graphics to the map in a parent window, and I would like to show the same graphics in a child window. I am using the ArcGIS Javascript API (version 3.1). I have written code as below:
...
4
votes
2answers
561 views
How to calculate distance between two points with esri.geometry?
The function http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#namespace_geometry/esri.geometry.getLength should calculate distances between points.
When I am trying to calculate distance ...
2
votes
2answers
529 views
Turn Popups On/Off in ArcGIS Online Webmap via Javascript API Web Application
I am writing my first ArcGIS Javascript API web map application and consuming a web map authored in ArcGIS Online. The ArcGIS Online web map apparently does most of the work for me in terms of ...
0
votes
1answer
231 views
Plot points using ArcGIS javascript api from co-ordinates
I would like to map co-ordinates that I got from the exif in photo's using my own command line tool that I made. As opposed to uploading your private photo's for everyone to see on flickr.
How to I ...
2
votes
1answer
52 views
Change text color of PopupMobile
I am facing the problem that with some mobile Browsers like DolphinHD and Android Browser
that the browser makes the text color white, and the background is also white.
So i want to change the ...
3
votes
1answer
120 views
Javascript and esri.dijit.PopupMobile
I currently have a wonderful mobile version of our site up in which it uses PopupMobile to display the requested info. I also map a button on the map that allows the user to do a random function.
...
5
votes
2answers
161 views
Rendering huge amount of points
Evening Guys,
I am new to ArcGIS, and currently developing a small app that uses ArcGIS Javascript API.
I have encountered a couple of problems while working on this and would greatly appreciate if ...
3
votes
1answer
201 views
ArcGIS Javascript API - Return 'normal' map extents when panning around the world
ArcGIS Javascript API maps allow the user to pan around the world, which is a great feature, however I am performing some processes that rely on map extents. I have discovered that despite the ...
3
votes
1answer
81 views
is there an API-level error handler in the ArcGIS Server JS API?
I'm seeing an error message in FireBug:
Error: Internal kml parser error.http://serverapi.arcgisonline.com/js.../?v=3.2compact
Line 34
I'm not worried about fixing this error for the moment - I'd ...
1
vote
1answer
143 views
How do you display ArcGIS Server dates without the javascript localized date offset?
Esri recommends that databases are in UTC time. And if I’ve got this right, unless you set a time zone in your layer, you are entering a date in a date field as UTC. Mostly this is fine.You understand ...
2
votes
2answers
124 views
Insert a loading message into DataGrid
I'd like to show a loading message (Loading...) that shows while the datagrid is being populated.
It would show when the search button is clicked and disappear when the grid results have populated.
...
1
vote
2answers
252 views
Load One Layer from ArcGIS Server MapServer
I am pretty new to ArcGIS Server and am building a map applications using the Javascript API. I can easily load the map layer below by adding it as a ArcGISDynamicMapServiceLayer
...
4
votes
2answers
322 views
ArcGIS JS API Edit Toolbar permits MOVE but not EDIT_VERTICES or ROTATE - JavaScript error thrown
I'm putting together an ArcGIS (v10.1) JS API (v3.2) application and I've hit a snag in drawing / editing functionality.
Users can draw a new geometry or edit an existing one. I'm using the draw and ...
7
votes
3answers
394 views
Map Application Requires Refresh to Initialize
I tried this question over on StackOverflow but didn't get any answers. Hoping you all might be able to help.
Creating a web mapping application in Javascript/Dojo:
When I load the app in a browser ...
0
votes
1answer
659 views
Feature Layer from JSON file
I would like to project my shapefile information on the maps. I converted my shapefile into a JSON file. How can use the Json file to create a featurecollection object in the ARCGIS Javascript API. ...
0
votes
2answers
331 views
Toggle Visibility of Features in FeatureLayer
How to toggle the visibility of features in a feature-layer using check-boxes .I have grid containing check-boxes in a columns representing each feature in Feature-layer and so if I check off the ...
5
votes
1answer
217 views
Unclear on proxy used for AJAX in Javascript
I do understand how the proxy helps in transferring the XMLHttpRequest between the ArcServer and the Server (IIS/Apache) but where I am confused is that the first time the Html Doc loads, doesn't the ...
4
votes
1answer
253 views
ArcGIS Online without basemap
I am trying to create a Web App, using the ArcGIS Online feature of downloading the javascript code, with the map id being used for connecting to the ArcGIS Online. I was able to do that successfully ...
0
votes
2answers
2k views
Differences between ExtJS and Dojo Framework
I have been using OpenLayers and the ESRI's JavaScript API and found that both using different set of JavaScript libraries have some implications on the quality of application that they deliver. Dojo ...
1
vote
1answer
185 views
Query a polyline layer using arcGIS's Javascript API
I'm attempting to query a polyline layer using the ArcGIS Javascript API I all ready have a lot of experience doing this with Point layers. So I set my Polyline layer up the same way and stopped and ...
13
votes
1answer
291 views
Are there any Javascript map labeling engines available?
Does anyone know of a javascript library containing functions that would allow me to generate labels for points on the map so that the labels don't overlap one another, and have optional leader lines ...
1
vote
1answer
357 views
ArcGIS JavaScript API: Override infowindow 'Zoom To' function or fire a second event
Those of you familiar with the Popup version of InfoWindow in ESRI's JavaScript API know that the Popup has a 'Zoom To' link on it that zooms you 4 levels closer to the linked feature. I'd like to ...
1
vote
0answers
309 views
ArcGIS Javascript API: Force the fit option when zooming via rubberband selection with tiled map services
We're using ESRI's ArcGIS Javascript API with a tiled basemap and when the user zooms in using a rubberband selection via the navigation toolbar the map sometimes zooms in too far. This is apparently ...
3
votes
1answer
267 views
ArcGIS Server 10 GP Service Cannot Download Result?
I have implement the ArcGIS JavaScript example just like the ESRI official example (clip and ship) .Everything was going right except the final step ,when the gp job have finish and my browser lead me ...
2
votes
1answer
122 views
Duplicate source information from esri.tasks.PrintTask
We are trying out the PrintTask in ArcGIS Server 10.1 pre-release. When an Esri base map is enabled, we are getting source information in two places in the resulting .pdf. I can confirm that this ...
1
vote
2answers
880 views
Javascript Api's ArcGISTiledMapServiceLayer won't show map
I am currently trying to show a map that has been tiled. I am using version 10 of the arcgis server, and version 2.5 of the javascript api, the odd thing i am running into is that the map will not ...
2
votes
1answer
3k views
How to Zoom to a FeatureLayer Using ArcGIS Javascript API
I am making a web application using the Javascript API and am trying to zoom to a feature layer from a row click in a dojo data grid. I have this working for a dynamic layer, but am having issues with ...
12
votes
4answers
2k views
Which framework is best to implement an application robustly, using ArcGIS Server JS API?
Over on the Esri forum, user Matt Moyles suggested that the approach used in the Esri JS samples isn't suitable for robust development of a web mapping application using HTML, JavaScript and CSS:
...
2
votes
1answer
337 views
ESRI - Polyline insertPoint issue (JS 2.5 API)
I am trying to basically draw a path on an esri map. with circles like so, but when I call Polyline.insertPoint it doesn't show the new segment:
I keep adding points as time progresses. My ...
2
votes
2answers
154 views
Is there a GroupRenderer in ArcGIS for javaScript?
Is there a GroupRenderer or similar functionality in ArcGIS for JavaScript?
What I would like to do is to show PictureMarkers with a label showing an attribute on the Graphics object.
6
votes
1answer
719 views
How do we add a custom basemap in ArcGIS.Com that can be used in Javascript API?
It's possible to add a layer as a basemap in ArcGIS.com by checking the check box use as baselayer:
But when I consume the map using:
var mapDeferred = esri.arcgis.utils.createMap("<guid>", ...


