The ArcGIS API for JavaScript is web mapping API from Esri.

learn more… | top users | synonyms

1
vote
0answers
95 views

Create Materialized View to Flatten ArcGIS JavaScript API Database

I'm doing a project using ArcGIS JavaScript API v3.5 hosted on ArcServer v10.1. While reading the question below, remember that I do not have control over the datasource and cannot just create a ...
1
vote
0answers
181 views

View attachments in popup when using the editor widget

I am using ArcGIS javascript API to construct an editor app for a layer. I am using the default out of the box editor widget to edit and display data for an app. The layers I am editing contain ...
1
vote
0answers
435 views

How to access ArcGISDynamicMapServiceLayer with credentials (token)

I know I simply need to append a token=XXX to the export query string but how, in code, do we initialize "esri/layers/ArcGISDynamicMapServiceLayer" to use credentials? In my case I only want to ...
1
vote
0answers
232 views

How can I display popup when graphic object is added in map using Arcgis Javascript

We have to display callout popup for each graphic object that are available on map. i.e if point is created on map, it should be associated with callout popup which will display information about that ...
1
vote
0answers
71 views

Changing kml marker in esri javascript api

I can load my kml file but I want to be able to define a marker for my points. I can't find anywhere in the api which allows me to define the marker. How can you define your own marker using a kml ...
1
vote
0answers
170 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
181 views

Point Within, Query in a buffer polygon in WMS like in ArcGIS ESRI

I need to do a query to filter the result inside a polygon or geometry, like this: http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/query_buffer.html But, i need to do this in a opengeo ...
1
vote
0answers
199 views

Error: Objects in this class cannot be edited outside an edit session

I'm simply trying to modify the Default Editing Widget ESRI sample to show my extent and service and am noticing the following error in Firebug when trying to add a point: ...
1
vote
0answers
124 views

MemoryLeak - http://help.arcgis.com/en/webapi/javascript/arcgis/samples/fl_any_projection/index.html

Attention ESRI - Loading http://help.arcgis.com/en/webapi/javascript/arcgis/samples/fl_any_projection/index.html inside of sIEve shows a significant amount of memory loss each time the page loads ...
1
vote
0answers
320 views

ESRI JavaScript API - Multiple KML Layers - Internal KML Parser Error

I am building a webmap with the ESRI Javascript API. I am trying to add several KML layers, as well as a Legend Toggle and am repeatedly getting "Internal KML Parser Error" and only some of my layers ...
1
vote
0answers
423 views

ArcGIS API Javascript - FeatureLayer from json: problem with queries and popup

Hello everybody I've tried this code proposed by Derek Swingley in JSFIDDLE: JSFIDDLE-FeatureLayer from JSON Everything "seems" to work fine, but not always. If you go down to the closer scale (level ...
1
vote
0answers
108 views

setLayerDefinitions without defining layers?

I am working on a similar project to How to zoom to feature when clicking on drop-down list box item with ArcGIS JS API?, trying to filter the graphics on my map based on the user input into a ...
1
vote
0answers
117 views

Unable to display values in combo-box in ArcGIS Java Script API (ver 2.8)

I am trying to display few values in combo-box in JSAPI but I am getting an error ( I am not able to view the combo-box items). I have attached my completed code in JS-Fiddle (only removed server ...
1
vote
0answers
444 views

Can I supply my own REST API token to the ArcGIS Javascrpit API?

I am using the ArcGIS Javascript API to connect to the arcgis.com portal. To do so I am calling portal.signIn(). The issue is that I don't want the user to be responsible for performing the login, bo ...
1
vote
0answers
247 views

Any example of creating a time-aware layer (acrgis js api + ruby rails) using data from the server

I have a data set of points. Each point has latitude, longitude, date and description sent from the server I already have a graphic layer which is used for represening the points in a static way with ...
1
vote
0answers
25 views

Info from the getResultImageLayer missing

I was finally able to get the result layer overlaid on my application but now I am facing another problem. The output of the layer url does not show any field or attribute details. I am not sure why ...
1
vote
0answers
100 views

Esri ArcGIS plot point

I have created a java function to plot the points on the map, and I need to pass the x-y coordinates and the taskevent as the parameters. I would like to ask what should be the input parameter for ...
1
vote
0answers
109 views

locator service to use with ArcGIS Javascript API v2.1

I am hoping to find a locator service that will locate by address or intersection, and that will work with version 2.1 of the ArcGIS Javascript API. I tried this locator given in the examples, which ...
1
vote
0answers
188 views

esri.dijit.popup custom layout

I'm looking for a way to customize the layout of popup. What is asket to me is to change the defined labels of navigation inserting a custom string and move and change the icons to navigate the first ...
1
vote
0answers
524 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 ...
1
vote
0answers
641 views

Send ArcGIS JavaScript Geometry Object JSON to server using JQuery Ajax request

I need to send ArcGIS JavaScript Geometry Object JSON string to Asp.Net Handler. I am using JQuery Ajax request to post the Geometry Data. I am not able to pass JSON geometry like this ...
1
vote
0answers
408 views

JavaScript Api geo processing - internal server error 500

I am trying to run a geo processing task using Java Script API for Arcgis. I have created a simple buffer task, published using Arcgis server (synchronous) and used the same (almost) code as the view ...
0
votes
0answers
11 views

Use Dojo to load modularized widget config files

I've taken a basic webmap 'ESRI HomeButton' and I'm trying to create a modularized webmap setup from it. I want to break down this simple webmap to have it utilizing a module system with config files ...
0
votes
0answers
16 views

Create a PDF with map imagery and feature data from ArcGIS API for Javascript?

I would like to allow the user to zoom to a particular zoom, within their preferred extent, and then send this information to a PDF as well as relevant information from visible features. The end ...
0
votes
0answers
20 views

Add Stacked Column Chart in InfoWindow

I want to add a a dojo stacked column chart to my InfoWindow (not pop up) that displays when a user clicks on a county in my map. The chart is based on land use information in each county layer from 3 ...
0
votes
0answers
16 views

ArcGIS javascript. Trying to use a dojo table of contents in CakePHP

Sorry for asking so many questions, but I am trying to learn arcgis, dojo, and cake all at the same time :/ Basically what I want to do is get this to work in the latest CakePHP. Where do I place the ...
0
votes
0answers
22 views

Add text to PictureMarkerSymbol in arcgis using javascript

I am new to ArcGis, i need complete code of how to add dynamic text on the marker symbol. I have Location Data in Json format: {locations: [{latitude: 52.1, longitude: 4.1, ...
0
votes
0answers
32 views

ArcGIS Javascript API, help with adding marker data to infotemplate

I previously asked a question about adding picture markers from a list of coordinates I got that working, but now I need to apply info windows to each one and I have no clue how. The only thing I have ...
0
votes
0answers
18 views

FindTask doesn't work with rest of JavaScript code

I need to add a FindTask to the following code that returns the attributes of the searched in a data grid and selects the data on the map. By modifying the "show find task results in a datagrid" ...
0
votes
0answers
21 views

JavaScript: FindTask works but no data appears on map

I need to add a FindTask to the following code that returns the attributes of the searched in a data grid and selects the data on the map. By modifying the "show find task results in a datagrid" ...
0
votes
0answers
24 views

Copy ESRI Map by Value (not Reference) in JavaScript

Any way that you know of in JavaScript to copy an ESRI map object by value, not by reference? I know that I can do this: var foo = new esri.Map("foo"); var bar = foo; foo.id; //"foo" bar.id; //"foo" ...
0
votes
0answers
30 views

Showing only some points in Feature Layer on ArcGIS.Com WebMap Javascript API

I am looking at creating a webmap which will allow users to place a point either by clicking on a map or selecting a point from a drop down which will then buffer the point. I've done something ...
0
votes
0answers
45 views

ArcGIS Circle Buffer

I am stuck, trying to draw a simple circle buffer using ArcGIS. Here is how I set up my base map: dojo.require("esri.map"); dojo.require("esri.tasks.servicearea"); dojo.require("dijit.dijit"); ...
0
votes
0answers
25 views

Point Cluster Layer not defined

I am trying to do a point cluster layer based on the JSON objects I obtained from database. Here is my JavaScript to plot a point cluster layer: function addClusters() { $.ajax({ url: ...
0
votes
0answers
26 views

Dojo Stacked Columns Chart for JavaScript ArcGIS Web Map Pop

Anyone know how to use the the StackedColumns chart in dojo for ArcGIS JavaScript API? I need to add one to my popup window. I can only find the documentation below: ...
0
votes
0answers
51 views

Change Logo in Public Information Web App Template

Anyone know how to change the ESRI logo and replace it with a customized logo in the "Public Information" web application template provided by ESRI? Link the Public Information Template Configurable ...
0
votes
0answers
36 views

Double tap on the map not work in the chrome of Nexus 7

I am stuck with a problem which is the double tap not working in the chrome of Nexus7. Say you have code like below. please help to review it . <!DOCTYPE html> <html ...
0
votes
0answers
16 views

How to call a querytask.execute in a event

My map needs to be updated every 15 minutes. I need to query to get new data time from the update. So i put a query function in "update-end" event. However the display function is never called. ...
0
votes
0answers
21 views

Join Standalone Tables from ArcGIS Server in Javascript API

I am trying to find a way to execute the equivalent of the following query with the ArcGIS JavaScript API (I made field and table names generic): SELECT a.field1, a.field2 FROM table1 a, table2 b ...
0
votes
0answers
20 views

InfoWindow.move() causes InfoWindow to disappear

I use the EditToolbar to enable users to click a point and drag it to a new location. When users click, the InfoWindow showing an AttributeInspector also comes up. As the users drag the point to a new ...
0
votes
0answers
26 views

Conversion of code from ArcGIS for JavaScript 3.7 to version 3.9

I have a developed a simple website using ArcGIS for JavaScript using version 3.7 and now want to migrate to version 3.9. How difficult is this? Any suggestions on making this an easy task..
0
votes
0answers
27 views

Can't zoom to feature from Datagrid with ArcGIS API for JavaScript

I have a find task in my application that returns features that are points, lines and polygons. I can get the search to populate the datagrid but I am having problems with my onRowClickHandler ...
0
votes
0answers
23 views

Map Route Direction Zoom to Segment

Basically I am trying to zoom to certain route segment when getting direction on OneMap. Here is the JavaScript codes where I trying to plot a route and zoom to certain route segment: function ...
0
votes
0answers
43 views

How to mouse hover on kml layer in arcgis javascript api

I am using ArcGIS java script API for map. i want show an popup info window when mouse hover on kml layer.I am trying this code for and using mouse-over event , But this is not working on kml ...
0
votes
0answers
14 views

applyEdits method and File on arcgis feature service

I would like to know if it's possible to upload a file through the applyEdits method on a feature service? I have an Oracle database with a parameter "DOCUMENT" of type BLOB. I would like to upload ...
0
votes
0answers
42 views

InfoTemplate inside InfoWindow with multiple service layers

I have implemented the InfoWindow with TabContainer to work with my InfoTemplate which, when my layer is identified works beautifully with the custom attributes that I have set up. However, when ...
0
votes
0answers
40 views

adding a column containing buttons in dojo grid arcgis jsapi

I am using ArcGIS jsapi to develop a web application where I use a synchronous geoprocessing service that return a shapefile. I used the shapefile table to populate 2 dojo grids depending on the value ...
0
votes
0answers
28 views

Using ArcGIS API for Javascript with Chrome on info window popup calls back two instances?

Using the ArcGIS API and harvesting external web map services. When using the application in Chrome when I click on a feature the info window calls back 2 instances of the same layer feature info in ...
0
votes
0answers
37 views

Google Maps API to DOJO/ESRI Web App

I have a GIS webpage in HTML5/JavaScript using the Google Maps API. I found out we can no longer use the Google Maps imagery provided, and I need to switch to ESRI Imagery (free). Can someone help me ...
0
votes
0answers
24 views

update a row with null geometry arcgis api for javascript

I am working on a project with ArcGIS api for javascript. I want to use something like "Replace Geometry Tool" in advanced editing in ArcMap: My application will generate a shapefile of points. Some ...