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

learn more… | top users | synonyms

1
vote
0answers
5 views

Direction widget Arcgis JS Api not working correctly for my own network analyst service

I have been following example on this link: http://developers.arcgis.com/javascript/samples/widget_directions_basic/ for my own network analyst service. Though I have been getting correct routes ...
0
votes
0answers
8 views

Adding .CSV file

When I add my file to ArcGis SandBox it shows the data from CSV file to Layer . But when I try to Add it through ArcGis API For JavaScript it doesn't work.I'm working on localhost. Help!!! ...
-1
votes
0answers
13 views

How to change the default symbol of point data from KML layer in ArcGis API for JavaScript? (The default symbol is yellow Thumb pin)

I'v added the data from KML file(a crime location data) to my webportal(running on localhost).Using "var kml = new KMLLayer(kmlUrl);" in JavaScript. When I load the page the data(point) is ...
0
votes
0answers
21 views

Customizing timeslider labels using ArcGIS API for JavaScript?

i'm use javascript ArcGIS map with timeslider, and now have problem with timeslider labels - with large number of timestops labels are overlaps Show only part of labels is not solution - timestops ...
0
votes
0answers
12 views

Set destination address using Esri Directions

I am using the sample on the Esri JS API and would like to set the destination of the directions to always be my address; any idea how to do that? The code to do this is: <!DOCTYPE html> ...
0
votes
0answers
11 views

How do I remove HorizontalSlider dynamically?

I am using ArcGIS API for JavaScript and am creating Horizontal Sliders for opacity of maps dynamically. However, when I select a different map and create a new slider, it doesn't get rid of the old ...
0
votes
0answers
11 views

Problem with popups and points in a graphic layer

I have a graphic layer with two points on a graphic layer, zoomed out such that they overlap. I have a Popup as the info window for the map with paging controls enabled. My expectation is that when ...
0
votes
0answers
10 views

SVG image color to be changed by CSS when using ArcGIS API for JavaScript?

I have a image "a.svg" (let's say). I want to change the fill attribute of this svg symbol using CSS. I use this image in a picturemarkersymbol to display a graphic on the map. Is it possible to ...
0
votes
0answers
44 views

Access to Feature layer via ArcGIS JavaScript API and HTML Form

I'm building a GIS web app using ArcGIS JavaScript API and I want to create a polygon feature layer and an html form that enables me to (insert, update, delete) attributes from the feature layer. I ...
0
votes
1answer
25 views

Can't close custom Web AppBuilder widget programmatically

I am creating a custom widget in ArcGIS Web AppBuilder. This page shows how you can use the WidgetManager to close a widget programmatically, saving the user from having to click the X button ...
0
votes
0answers
26 views

Adding shapefile from local drive to WebApp using ArcGIS API for JavaScript?

I want to add a shapefile of certain data to my WebPortal (which is currently running on Localhost) how can I do it? I'm using ArcGIS API for JavaScript.
1
vote
1answer
51 views

Should I use Basemaps or Layers to overlay two maps?

I'm trying to create a map that essentially has two maps on top of each other (chosen from many map choices) at the same time. One of maps will have an opacity slider. Should I be trying to use two ...
2
votes
1answer
18 views

Remove 'zoom to' tool in pop up feature information ArcGIS API for JS, or define the number of clicks i.e. defined scale

How can I remove at all 'zoom to' tool in the pop up attribute information? Or how can I define the scale (number of clicks) in case if the 'zoom to' can not be removed. I have particular layers ...
0
votes
3answers
60 views

Create non-GIS Front End to ESRI Server Web Map

I have a webmap that I have created using the ESRI ArcGIS Javascript API / Web App Builder. It manages City projects. The departments that manage this data would like a web-interface to manage the ...
0
votes
1answer
37 views

What are the low cost options for converting FLEX API based web mapping applications to any other platform?

As flex is reaching the end of its life, I have one project to convert Flex based web mapping application to any other possible solution with minimum development effort and secure way. I believe Dojo ...
0
votes
0answers
7 views

Identify task to multiple tiled layers

I have a map consisted of many tiled layers that show points. How can i perform an identify task to the visible tiled layer. Be aware it is tiled layers not dynamic. Any suugestions?
0
votes
0answers
27 views

Esri Basemap switch between dynamic and tiled layers

Here's the scenario: Using the Esri JS API 3.13 and ArcGIS server, we have a cached tile layer that has display levels from 0 to 14. We have a dynamic map service layer that is enabled for all ...
0
votes
0answers
23 views

How to create custom traffic Layer

Please, tell me, how to create custom traffic layer into RouteTask? I need to get directions between two points, using data about traffic (road traffic). At this stage, draw a route between two ...
0
votes
0answers
26 views

Navigation zoom in / zoom out not working in ArcGIS API for JavaScript?

is it just me or the zoom in and zoom out customized buttons [The ones at the top with the icons that read "Zoom in" and "Zoom out"]do not work? ...
0
votes
1answer
75 views

Create a polygon from an array of coordinates in arcgis javascript api

Well I am building a GIS web app using ArcGIS Javascript API , I want to create a user interface in which the user provides an array of coordinates and I have to get those coordinates and create a ...
0
votes
1answer
19 views

CMV Secure Feature Service - Proxy

I m triying to add a secured feature service to CMV using a proxy page. My viewer.js file is the following: esriConfig.defaults.io.proxyUrl = 'myProxyURL'; esriConfig.defaults.io.alwaysUseProxy = ...
0
votes
0answers
16 views

Opacity Slider not creating consistently

I am dynamically creating some Opacity Sliders for some layers I have added to my map. The issue is that for some reason after it creates 7 of the sliders it doesn't create the rest correctly. I have ...
0
votes
1answer
57 views

Manually setting basemap using ArcGIS API for JavaScript?

Looked over the example can NOT figure out how to set basemap MANUALLY. I don't want a dijit widget, or any other libraries or anything like that. Just want to manually set a basemap to any of the ...
2
votes
1answer
32 views

How do I check for existing ArcGIS Map Layer

I would like to know how I can check if I have an existing Map Layer before I call map.removeLayer(layer). I am having an issue because I am calling that even if there isn't one to remove. if ...
0
votes
1answer
25 views

readOnly attribute of ArcGIS FeatureTable

I am wondering the purpose and correct usage of the readOnly attribute of the FeatureTable widget in the ArcGIS Javascript API. The API defines it as a varible which "Indicates whether the data is ...
0
votes
0answers
21 views

using arcgis js api with requirejs

requirejs.config({ 'paths': { 'esri': 'mydomain/3.12/esri', 'dojo': 'mydomain/3.12/dojo', 'dojox': 'mydomain/3.12/dojox', 'dijit': 'mydomain/3.12/dijit' } }); Then require your ...
0
votes
0answers
24 views

Printing (or exporting) Imagery from a Image Service using pre-defined map layout templates within an JavaScript based ArcGIS web app

Quick back story: I've been tasked with creating a simple web app that will display vector and imagery data for a surface mine site. This site would be used by office personnel who aren't well-versed ...
0
votes
1answer
34 views

“Pagination not supported” error occurs when searching feature layers using the search widget

I just upgraded to the 3.13 version of the JavaScript API, and I'm working on getting the new search widget (esri.dijit.Search) working in our application. We have our own ArcGIS Server (10.1 I ...
0
votes
1answer
31 views

Display the measurement of current segment in Measurement Widget?

In this ESRI measurement widget sample: https://developers.arcgis.com/javascript/jssamples/widget_measurement.html when you draw a line, it dynamically displays the segment length. And, when you ...
1
vote
1answer
44 views

How to add custom basemaps to BasemapGallery

I would like to add my own custom basemaps to the BasemapGallery. Is there any way I can create my own BasemapGallery with only my maps? I am using the ArcGIS API for javascript. EDIT: for clarity I ...
1
vote
1answer
25 views

Select / Drag or by rectangle CMV Application

Anyone able to suggest to this noob if there is a way to change the selection option in my CMV application from individual polygons (one at a time) to an option of selecting multiple polygons at once ...
1
vote
0answers
22 views

Once route is solved, also return encountered barriers from ArcGIS Server Network Analysis?

I have came across an unexpected "issue" while working with the Esri JS API and ArcGIS Server Network Analysis service. Once user submits the route solving task to the server, I'm appending the ...
0
votes
0answers
17 views

Disabling Extent Based Rendering using ESRI Javascript API

I am using ESRI's javascript API to generate a heatmap renderer for my feature layer. I am noticing that the heatmap calculation/visualization is dependent upon what is in the current zoom extent. For ...
0
votes
0answers
17 views

Is it possible to catch mouse events from a hidden feature layer?

I want to avoid drawing a feature layer. I want it to be hidden and load as fast as possible. I have tried with opacity zero but i think it still draws. Is there any way to minimize the time of being ...
0
votes
0answers
33 views

ArcGIS API Browser Issues

I am having trouble with my maps displaying in different browsers. Chrome and Firefox seem to have no issues whereas Safari works sometimes and other times it does not. ...
1
vote
1answer
25 views

Points with labels (or associated text) in Esri's JS API

I'm building an interactive map. A feature that has been identified as important by the stakeholders is being able to add points and associate data with them. I'd like this to be very user-friendly in ...
1
vote
0answers
21 views

Is tileJSON supported by ArcGIS for Server?

Does ArcGIS 10.2 for Server support tileJSON? I mean, can I retrieve in some way the tileJSON from and ArcgisTiledLayer ? I need this so as to use it with wax library and have a grid along with the ...
0
votes
0answers
13 views

how to fetch the features that are making up the image of a dynamic or tiled service ?

It it possible to to know the position of the points that an image coming from dynamic or tiled services contain. I need this to implement a custom mouse-over event for tiled/dynamic services.
0
votes
0answers
25 views

ArcGIS Javascript API - symbology based on related table

Any idea of how to do that ? For now I dont see any way to create a SimpleFullSymbol based on values from a related table Or to use some renderer for the cause too.
0
votes
0answers
17 views

Can I use tileJson with esri's ArcGISTiledMapServiceLayer, maybe with wax esri connector?

I am using the arcgis javascript api to implement my map. I want to enable mouseover event on the images returned from the tiled service. I was thinking that tileJson could help. I have seen that wax ...
0
votes
1answer
59 views

Does Configurable Map Viewer (CMV) support custom symbology for operational layers?

I have looked through the documentation, browsed the widgets and searched here on gis.stackexchange. I can't find any information regarding being able to override the default (published) symbology of ...
0
votes
1answer
53 views

Can I use esri-leaflet together with arcgis api?

I am not sure I have understood the co-existence of arcgis javascript api with the esri-leaflet library. Can I use leaflet together with the javascript api. For example can I have my map built with ...
1
vote
1answer
45 views

How to catch mouse-over event on Dynamic or Tiled Layer

I need to fetch as IMAGE, the results of querying/filtering the data of a layer. So, I decided to use the dynamic service layer. I can use the identify task to so as to show an infobox containing ...
0
votes
1answer
74 views

esri/dijit/Search multiple sources not updating drop down list

I am trying to reproduce the tutorial on one of my own layers Here I have put in one of my own layers <!DOCTYPE html> <html><link rel="stylesheet" ...
1
vote
1answer
41 views

Multiple Attribute Tables - CMV

I am trying to add multiple tables using tabs to one of my viewers but can't get it to work. Below is the code that I have added to my viewer.js widget option (it adds a table for 'Site 2' but not ...
0
votes
0answers
21 views

How to retrieve the results of a map service query as tiled images ?

I have a map service with 100k ++ points. I am using feature layer, and definition expression to perform filtering. The performace is poor. I have tried clustering but it still struggles since there ...
0
votes
1answer
25 views

Graphic Layer graphics redraw incorrectly after map zoom event

I have a web map application which adds arrows onto street segments signifying direction as a Graphics Layer. The direction of each arrow is calculated by this process: 1) build an array of the street ...
0
votes
1answer
26 views

Querying ARCGIS to find feature having specified point

I am trying to query features by point, so that it returns a feature that CONTAINS the point given. With the screenshot below, you can see that inspite of giving all the fields correctly, the server ...
1
vote
0answers
47 views

IWorkspaceEdit2Proxy equivalent in ArcGis Javascript api

Is there any equivalent for IWorkspaceEdit2Proxy in JS ArcGis API ? I've gone through the whole JS API documentation and haven't seen anything that would help to implement grouping edit operations. I ...
1
vote
1answer
38 views

ArcGIS API for JavaScript RouteParameters vs REST API

I have the network analysis service and I need to get the route between two points, but I don't want the single path polyline, but rather set of paths representing the edges it travels though (pretty ...