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

learn more… | top users | synonyms

0
votes
0answers
10 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 ...
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): ...
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 ...
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
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
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 ...
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 ...
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 ...
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
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
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 ...
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 ...
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)?
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
0answers
15 views

line chart similar to Esri Histogram Time Slider [duplicate]

I am looking for a solution similar to the one provided by the Esri DIGIT class "HistogramTimeSlider" but instead of a histogram, I would like to use a line chart. Anybody seen a suitable reference?
0
votes
0answers
15 views

Geoprocessing service error [duplicate]

I'm working on a project and I faced an issue regarding publish a geoprocessing service and use it in a javascript API. I created a simple model that includes a near geoprocessing tool with a point ...
1
vote
0answers
42 views

Near Geoprocessing service

I created a simple model that includes a near geoprocessing tool with a point feature layer as an input and a line feature layer as a near feature and it works perfectly in desktop. Now I would like ...
3
votes
1answer
57 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 ...
1
vote
0answers
39 views

How to use ArcGIS API for Javascript print task to create a legend for dynamically rendered layer

I am using v 3.11 of the ArcGIS API for Javascript and executing the PrintTask to generate a printable pdf of a web map. The map has a couple of Dynamic Map Service Layers that are dynamically ...
0
votes
1answer
27 views

Appending Token to ArcGIS API for JavaScript Geocoder Widget

I am building a web map application using the ArcGIS API for JavaScript. The application is using the GeoCoder widget from ESRI, but I need to link it to an outside, secured resource. I am able to ...
2
votes
1answer
45 views

Custom Print Button

I have implemented the Print feature in my application but the print button is the default dojo 'Print' text and dropdown icon. What I want to do is remove the text and border and add an icon instead ...
1
vote
1answer
21 views

Can't Get my legend on a swipe layer map

I'm having trouble getting a legend on my swipe layer map. I'm new to Javascript and took most of the code from the API reference but can't get the legend to show up for either layers. I'm Hoping ...
1
vote
0answers
27 views

How to create a infotemplate that displays automatically

I have created a postcode search that that highlights a polygon and zooms in. but I would like it to display a infoTemplate box with having to click in it. I want it to show when the function runs. ...
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 ...
0
votes
0answers
15 views

This._geometryService is null in mesurement wedjit arcgis javascript api

I'm working on arcgis javascript api, and I'm usint the measurement wedjit, it was working correctly, suddenly, after adding another features to the map, I discovered that the measurement tool is not ...
1
vote
0answers
21 views

ArcGIS API for JavaScript Bookmark in separate Div

Using the ArcGIS API for JavaScript I need to create a number of different bookmarks and access them through the HTML in separate div tags. I created this JS Fiddle in attempt. I thought that if I ...
0
votes
1answer
24 views

limiting circles to a specific radius

I am new to ArcGIS javascript api and I have created a map which allows users to draw circle geometries. I just want to limit the functionality so that the radius is specified at 10000km. This is ...
0
votes
0answers
4 views

Run TOC widjt in rtl language

I'm trying to make the TOC widjet to run from right to left, is it possible to achieve? and how?
0
votes
0answers
16 views

Esri API Web-Map and horizontal footer Scroller on Mousewheel

I am designing a webpage whereby the footer section of the page is to scroll horizontally, using the mouse wheel. There seems to be a conflict between the Esri library and the JQuery script I found ...
0
votes
1answer
26 views

Table Of Content widjet in arcgis javascript api

I'm using TOC widjet in my application using arcgis javascript api, it is working, but the problem is that the plus and minus images which collapse or expand the tree is not appearing. I noticed ...
0
votes
1answer
75 views

Configurable Map Viewer (CMV) - Configure dynamic layer to not display all sub-layers?

Using the example below, from the CMV, what would be the best way to not show the Fire Stations layer in the Louisville Public Safety map service assuming I wanted to see everything else and I wanted ...
0
votes
2answers
37 views

Basemap tiles are disjointed - bad projection?

Hi all, I'm working within a corporate environment that is using ArcGIS Server (v10.2.2). I am a newbie trying to work with ArcGIS API for Javascript (v3.9) to create custom map applications. I ...
1
vote
1answer
46 views

Can the Identify popup be made relocatable by the end-user?

I've noticed that the Identify widget's popup always tends to go right over the feature that is being identified and cannot be moved. Is there a way to enable functionality to move the Identify ...
0
votes
1answer
29 views

How to get spatial reference in ArcGIS Server identify response

I'm using the ArcGIS API for JavaScript to query features in a web map. After sending an identify request to my ArcGIS Server 10.2.2 Map Service (added as ArcGISDynamicMapServiceLayer, the response is ...
0
votes
0answers
47 views

Print map in arcgis javascript api

I'm developing an application, and I'm using arcgis javascript api, I'm trying to print the map using Print() object, but when pressing on the print button, it syas printing, and after amount of time, ...
1
vote
1answer
49 views

Set custom spatial reference to base map in arcgis javascript api

How can I set my spatial reference to the base map in arcgis api. I want to change the default spatial reference.
1
vote
0answers
46 views

Creating a buffer round a polyline

At the moment the code I use creates a buffer extending 1000km from each geometry creating square buffer zones over polygons, lines and points. How can I amend the code so that it creates a 'sausage' ...
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 ...
1
vote
1answer
25 views

Disabling a map in Javascript API

Here is my code for my map: omap = new Map("overviewMap", { extent: initExtent, logo: false, slider: false }); tmoverview = new ArcGISDynamicMapServiceLayer(mylayer, { "opacity": 1.0, "visible": ...
1
vote
1answer
41 views

Remove selected feature symbol

Background: I am dynamically populating a feature layer. On this feature layer I have set the symbol (as you can see) to a nice little .png image. Everything seems to work fine around the layer except ...
0
votes
1answer
27 views

Adding geometry.type circle

I have to amend the following code so that on the map it's possible to draw a second circle graphic as well as a line, polygon and point. I've tried to add an else if statement much like the polygon ...
1
vote
1answer
92 views

Center And Zoom function arcgis javascript api

I'm trying to insert x, and y coordinates manually through input text, and center the map and zoom it to that point. I have this code: var x = $("#x").val(); var y = $("#y").val(); var point=new ...
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(){ ...
0
votes
1answer
42 views

How to set scale range for a Graphic Layer in ArcGIS API

I am trying to set a Scale Range for a graphic layer using ArcGIS API in HTML5, so that the graphic layer is not visible on zooming beyond that particular ScaleRange. For the same I have googled and ...