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

learn more… | top users | synonyms

0
votes
0answers
36 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
35 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
18 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
1answer
71 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
29 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 ...
1
vote
1answer
179 views

What ArcGIS Online feature service provides European states with unique country codes?

I'm writing a web page to display ECB statistics on an ArcGIS JavaScript API-based web map. I'm a bit lost when selecting a feature service so that I can use the UniqueValueRenderer to make the ...
0
votes
1answer
87 views

Accessing Draw toolbar of ArcGIS JavaScript API without dojo?

I am building an application using Angular JS, and have been accessing ESRI classes thus far in the following way: var graphicsLayer = new esri.layers.GraphicsLayer(); I have access to the 'esri' ...
0
votes
1answer
97 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
3answers
87 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 ...
2
votes
1answer
34 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
0answers
42 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
88 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 ...
1
vote
1answer
371 views

Zoom to link button in Popup, killing the Map

I am using the traditional Popup of JavaScript API and it seems to not work properly in my application. When you click on the map, the Popup comes fine but when you click on the Zoom to link button, ...
1
vote
1answer
402 views

How can I get the map to repeat to fill the screen?

I'm programming my first ArcGIS application. I've created a simple map. When I zoom out to a world view, the map doesn't fill the width of the screen. Ideally I'd like it to repeat until the available ...
0
votes
1answer
84 views

How to get drive distance polygon with ServiceAreaTask?

I'm using an ArcGIS Online ServiceAreaTask to calculate drive-distance polygons. In the ServiceAreaParameters that I pass to ServiceAreaTask.solve(), there is an attribute named impedanceAttribute. In ...
0
votes
0answers
11 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
35 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
50 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
54 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
45 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 ...
3
votes
2answers
5k views

ArcGIS Server Setting proxy.ashx with ArcGIS API for JavaScript gives Error 403?

I am trying to set up the proxy for my web application because the request exceeds 2000 characters. I set up the proxy as described in ESRI site. When I run my application I get the error as shown ...
0
votes
1answer
76 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 ...
0
votes
0answers
44 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 ...
2
votes
2answers
2k views

Add point to center of polygon graphic in the Esri javascript api

I’m using the ESRI JavaScript API 3.3 to develop an application. I am selecting parcels and adding a graphic for the selected polygon. What I would like to do is add a point marker to the center of ...
2
votes
1answer
36 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 ...
3
votes
4answers
305 views

How to perform relational queries against an ArcSDE geodatabase using the ArcGIS API for JavaScript?

I have a geospatial database which contains both spatial and not-spatial tables I would like to publish my data on ArcGis for server and perform both simple and spatial queries. Also, foreign key ...
0
votes
1answer
85 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 ...
1
vote
1answer
105 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 ...
0
votes
1answer
38 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 ...
0
votes
0answers
37 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 ...
3
votes
2answers
5k views

Adding graphics from different spatialReference using ArcGIS API for JavaScript?

I want to know if I'm approaching this incorrectly. We are attempting to create an esri-based map where we add graphics to a map thru the javascript API. The points that we're adding are lat/lng ...
1
vote
1answer
48 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 ...
4
votes
2answers
4k 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
1answer
961 views

Polyline insertPoint issue using ArcGIS API for JavaScript?

Using ArcGIS API for JavaScript 2.5 I am trying to 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 ...
4
votes
2answers
1k views

Force an ArcGIS API for JavaScript WMSLayer to use EPSG: 900913 (instead of 102100)

I have a use case where an external WMS server can serve maps in the Web Mercator projection using EPSG code 900913, but won't recognize ESRI's 102100 code. My question is: can I force all WMS ...
0
votes
0answers
22 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
18 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
36 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
29 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
33 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
31 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
28 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
0answers
15 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.
1
vote
1answer
68 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
95 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
65 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 ...
9
votes
1answer
418 views

Using ArcGIS.com map that is not shared with everyone from ArcGIS API for JavaScript?

I like to use the ArcGIS.com to create a map with operational layers on top of a baselayer. I would like to have the Content and Map as private but to show the map in an application built with ...
4
votes
2answers
724 views

Point clustering only works for part of an area?

I am using the 3rd party scripts for point clustering as published by Globoserve, http://globoserve.posterous.com/ . I followed the instructions to the letter - and just replaced the queryTask ...
4
votes
1answer
1k views

ArcGIS JS API: Convert ESRI Date Type into String

I am following this ESRI tutorial to display information from a related table for the selected features. The example in itself for my project works fine, however, my data include two Date fields and ...
0
votes
0answers
54 views

Shapefile to ArcGIS JavaScript JSON format? [duplicate]

Possible Duplicate: How to convert SHP into GPX or JSON? We're in the proces of adding a new feature to our Web Application where we employ the use of ESRI's ArcGIS Javascript API alongside ...