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

learn more… | top users | synonyms

0
votes
0answers
8 views

Representing a line feature layer with Markersymbols in ArcGIS JS API

I am setting a scale dependant renderer for a Featurelayer (geometry type =line) so that in smaller scale it can represented as a marker symbols and in higher scale with a Line symbols. When I tried ...
6
votes
1answer
189 views

Duplicate items in the legend

I have recently created a web map that uses the legend snippet from the ESRI JavaScript API website. https://developers.arcgis.com/en/jav...et_legend.html It works great for the most part, but has ...
3
votes
1answer
42 views

ArcGIS Javascript API on Wordpress 4.1

Edit: to keep things organized: This one IS working (WordPress 4.0.1): https://topografieindeklas.nl/topotrainer/provincies/ This one IS NOT working (WordPress 4.1): ...
1
vote
1answer
17 views

Making attribute features pop up in a static location

I am writing an ArcGIS application that has a 20% left pane div and an 80% map div. The left pane div has four tabs: one for layers, one for search, one for what I want to display information, and one ...
0
votes
1answer
56 views

ESRI Online Geoenrichment POST

've been working on an app for a presentation and we are using ArcGIS Online to geoenrich Canadian Census Dissemination Areas upon the users click. The only catch here is that some of the polygons are ...
0
votes
0answers
21 views

ArcGIS Javascript API 3.12 Error

I updated my app to 3.12 and am getting the following error: Uncaught TypeError: Cannot read property 'toString' of undefined It is being triggered by the following line: coordMenu.addChild(new ...
2
votes
0answers
120 views

High-DPI printing with ArcGIS API for JavaScript and esri.dijit.Print?

I've got cached tiles for all map layers at various zoom levels, and would like to print at DPI higher than the default (around 96) by using tiles from a deeper zoom level. It doesn't matter if map ...
2
votes
0answers
39 views

feature layers don't appear in the print result

salam, I have a problem when I print my map, when I display the result I find only one feauture of twenty. the result does't contain all features. I used esri/dijit/PrintTask verifier: function(){ ...
3
votes
1answer
56 views

How to get/pass token with ajax call to secured ArcGIS REST Service

I have a web map application that was written in HTML & JavaScript (using the ArcGIS JavaScript API). It desplays a few services that reside on an ArcGIS Server (10.2). It also has a custom legend ...
0
votes
1answer
269 views

Add Point Symbol and Zoom to Address using Geocoder Widget

I'm following the tutorial here and it's not working: https://developers.arcgis.com/javascript/jstutorials/tutorial_geocoder.html Issue: I just want to add a point symbol and zoom in for the address ...
-1
votes
0answers
16 views

Setting a proxy for direction widget arcgis javascript widget [closed]

how to set a proxy for direction widget in arcgis javascript api 3.12 locally.please help me
0
votes
2answers
233 views

Identify task: Input polygon into IdentifyParameters

I wish to find all the features within a polygon/circle drawn by my user. May I know if I should use IdentifyTask https://developers.arcgis.com/en/javascript/jsapi/identifytask.html Or is there a ...
0
votes
1answer
212 views

Flash a graphic using JSAPI AMD style

This should be simple, but not sure why I'm not getting it. Does anyone have a stub for showing how to flash a graphic? I want to be able to call it from a button in the JSAPI UI. I am using the AMD, ...
0
votes
0answers
9 views

Configurable Map Viewer (CMV) toogle parent nodes on child node click

I was wondering how to check parent groups and mapservices with click of the child node. In the "demo.cmv.io/viewer/"; viewer, I would like to turn on Group layer and the map service on the click of ...
1
vote
1answer
13 views

CMV Widget Toggle

In Configurable Map Viewer project, I'd like to be able to set the initial display of a widget to hidden and show it with a press of a button, for example, by clicking on a button in a toolbar. Take ...
3
votes
2answers
92 views

Esri basemap render speed abnormally slow in Chrome

Summary of Issue: In my project, using the oceans basemap from Esri is very slow to render when zoomed in very close (for Chrome only). Topo is also slow at high zoom levels, but it is bearable in ...
0
votes
1answer
322 views

How to add Map Legend, Scale Bar and Select tool to an ArcGIS Server Service?

I have published a service from ArcMap to my Server Account but I can't figure out how to add the legend, scale bar and select tool to the service. According to the published service it was built ...
0
votes
1answer
109 views

Mapquest directions API in ArcGIS javascript webmap application

I'm trying to build a webmap application using the ArcGIS JavaScript API. A functionality I would like to include is driving directions from a current GPS location to a feature in my feature service. ...
2
votes
1answer
28 views

Create Chart from Query Task

I need to create a chart from the result of a query task using Esri JS API. Note, the chart does not have to be created with Esri API, but the query runs in that. The result is written to the DOM ...
1
vote
0answers
17 views

Attachment access using ESRI's dynamic services

I need to be able to display photo attachments in a tabbed popup window that ideally only contains a dynamic map service. I have a working demo running that uses a dynamic map to display the data and ...
0
votes
2answers
292 views

Update multiple features attributes in loop - JavaScript

I am trying to update multiple features in a feature layer through a loop. I have a feature layer that I would like to select and then assign someone to the features (through an attribute update. I ...
0
votes
1answer
96 views

Error code 500, error performing execute operation from Print task of ArcGIS API for JavaScript?

I'm trying to use print task to generate a PNG or PDF file of my web map but i always get an Error code 500, error performing execute operation. Any Ideas? I'm using ArcGIS API for JavaScript ...
3
votes
1answer
33 views

Creating WMS, which can be previewed via ArcGIS JavaScript Viewer, based on buffer model tool?

I am really new to arcgis, so i think you will find this to be an easy question. Arcgis docs are abundant, but however, after too much browsing, i cannot find a concrete answer. these are the ...
1
vote
1answer
26 views

Tabs in ESRI Popup

I am trying to get popup's working in my esri JS map and I have the tab's mostly working but I am missing a resize function to have the tab container sized properly on load. When I click a polygon and ...
3
votes
2answers
65 views

Adding video to ArcGIS API for JavaScript popup template?

I was wondering how do I add a video to be played in the popup template? I've looked at the documentation here: https://developers.arcgis.com/javascript/jssamples/widget_extendInfowindow.html and ...
1
vote
1answer
124 views

ESRI JS API : FeatureLayer : pure client side query?

so I've created this wrapper around feature layer where I create the empty feature layer as is in the API help page : new FeatureLayer(featureCollectionObject, options?) providing the first ...
0
votes
1answer
20 views

Web Map loading feature layer

I have requirement where i have to use web map . I have have lots of feature layers which will loaded conditionally hence in my json i have provided visibility as false for all layers then i have ...
1
vote
0answers
164 views

Without Proxy page can't use IE8 and IE9 for Editing and Buffer

The server where my editing application is hosted does not allow a proxy page because of outgoing calls restriction. This makes it difficult for IE8 and IE9 since using CORS is not an option as there ...
0
votes
1answer
417 views

Error executing tool.: Layer “layer1” Unable to connect to map server

I am using the Configurable Javascript Viewer, and have only changed a couple of the configuration settings. One change I made was to use my own Export Web Map Task. In viewer.js, I changed: ...
0
votes
1answer
21 views

add featureset in graphics layer without iterating

I have a geoprocessing service that returns a large amount of features (featureSet). I want to attach them in a graphics layer, but I dont wont to iterate over all them. I tried using the ...
6
votes
1answer
71 views

Mousewheel event being locked by map

I've got a tabbed UI on my web page, the last tab is an arcgis javascript map built with their API. The problem I'm having is that just adding the map and all of the esri / dojo libraries to the page ...
3
votes
1answer
156 views

ArcGIS JavaScript API: onAnimate Error

I am trying to zoom to a point in ArcGIS JavaScript API (3.9). I am doing this one of two ways, I am either grabbing a point feature from ArcGIS Server (10.1), or I am grabbing the center of a polygon ...
0
votes
1answer
129 views

Displaying Geodatabase Published Map On ArcGIS Server (JavaScript API)

I Google this a lot but unfortunately I didn't find any useful Tutorial for this.Can you please let me know how I can Put my published Geodatabase/ shapefile on the top of a ArcGIS JavaScript API map? ...
0
votes
1answer
30 views

Creating a buffer - ArcGis Javascript API

How can I create a buffer that is based on the shape of the geometry that has been drawn. My map application creates a default square buffer extent and I want to create a buffer round a circle based ...
1
vote
0answers
26 views

Run a locator task

I'm working with ArcGIS javascript api and I have a search function that finds a persons address by name and sorts it into a table inside a modal popup. It returns multiple people with the same name. ...
0
votes
0answers
11 views

Error on domReady callback: TypeError: b is null arcgis

I'm getting this error "Error on domReady callback: TypeError: b is null" when including arcgis javascript api to my project. <head runat="server"> <title></title> <script ...
0
votes
2answers
35 views

US Geological Survey Standard Projection?

Is there a standard or default projection on maps created by the US Geological Survey (USGS)?
1
vote
1answer
333 views

Fixed Zoom Extend For Overview Map on ArcGIS Server JavaScript API 3.8

Can some one please let me know if it is possible to have the Map Overview with Fixed extend and none zoom in or out functions? I know this was not possible on v.3 but how about v3.8? Thanks
0
votes
3answers
151 views

Measure Widget Issue - ArcGIS Javascript API 3.11

I am having an issue with the Measure Widget in my application after updating to 3.11. The widget does not appear after the application loads. I have checked my code and do not see an issue, also ...
2
votes
2answers
20 views

How to use infoWindow.setFixedAnchor

In the older versions of the ArcGIS JavaScript API, you could specify the position of the infoWindow using map.infoWindow.setFixedAnchor(esri.dijit.InfoWindow.ANCHOR_UPPERRIGHT); In version 3.11 this ...
1
vote
1answer
249 views

Is there a way to get the extent of a query and not each individual feature?

I'm using this solution to get the extent of a query. It brings every feature geometry back to the client where I then calculate the extent of all the individual geometries. Since these can be ...
0
votes
1answer
143 views

How do I make a picture marker symbol at a given latitude and longitude in ArcGIS for Javascript?

I have no idea how to use ArcGIS, so I spent about six hours trying to figure it out and got nothing. The only thing I have working is showing the map. ...
1
vote
1answer
62 views

Can I plot points on a map using JSON data from a Node.js API?

I am new to the arcGIS JavaScript API. I have a Node API that is providing geographical information in JSON. I have google'd for examples and searched for solutions on this web site. Can anyone ...
2
votes
3answers
1k views

ESRI proxy page not working properly + CORS + cross domain scripting

I have set up a proxy page. I am using jsp version of proxy page. I have set up a server URL which will point to my Java. When I load the my page which the proxy URL has set in its html it will work ...
0
votes
0answers
15 views

Individual Feature Class that jumps TO individual Feature in Webmap

I am using the WAB(3) (Web App Builder, Beta 3) doing development of ESRI-based maps using FeatureClasses stored in our own City Government REST Services. We currently have a program called ...
0
votes
0answers
13 views

Feature layer is not shown if it contains esriGeometryMultipoint Features

I have published a map service which contains Multipoints. As I can see, in my browser console, the features are brought in the front (js Api). The problem is that despite the fact that I get all the ...
5
votes
4answers
2k views

Is there a 3rd party ArcGIS viewer (builder) for Javascript?

Esri provides an ArcGIS Viewer for Flex as well as an ArcGIS Viewer for Silverlight. Strangely though, there are no plans for a similar viewer for Javascript. Are there any 3rd parties that have ...
3
votes
1answer
141 views

ArcGIS JSAPI - web workers CORS issue

In my JS web-application, I'm trying to store the tiles in my localstorage using web workers.I'm using the code from this Esri sample. I just deleted line 20 in the ioWorker.js file: url = ...
0
votes
1answer
338 views

Geoprocessing tool not executing when Map's SpatialReference is Web Mercartor

I am facing a strange issue when trying to execute GP service when my map's spatial-reference is Web Mercator. I appreciate all help. I have a JavaScript API application. Initially I only had my map ...
1
vote
1answer
592 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...