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

learn more… | top users | synonyms

3
votes
1answer
47 views

Change projections depending on the zoom level

Is it possible in ArcGis (from a technology/performance/… point of view) to switch projections depending on the zoom level? For example, Is it possible when zooming at some extent to the poles, my ...
3
votes
1answer
29 views

tabbed popup window for Arcgis Javascript

Anyone know examples of a tabbed popup window for Arcgis for javascript, NOT an infowindow? If you could point me in the the right direction it would help.
1
vote
1answer
26 views

How to remove popup window from KML layer in ArcGIS API for JavaScript?

I am using the ArcGIS API for JavaScript for creating a map. I have added some CSV and KML layers to the map. Now the KML is colored base layer(different colored for country) on the map and CSV is ...
1
vote
1answer
22 views

How can I add a popup on hover for a graphic using the ArcGIS JavaScript API?

I created this JSFiddle for an example. Currently, a user needs to click on the graphic point to see the attribute. How can I make it so the user only needs to hover over the graphic for the popup to ...
2
votes
1answer
44 views

Open source geometry service like ArcGIS?

Does anyone know of an open source GIS server that provide similar functionality to ArcGIS' web services server? For example, the service would provide a similar geometry service that buffers feature ...
0
votes
2answers
29 views

How to get features from a Service Layer?

I am using a Map Service from http://watersgeo.epa.gov/arcgis/rest/services/NHDPlus_NP21/WBD_NP21_Simplified/MapServer/. It offers multiple layers and its a great resource. I'm wondering if its ...
0
votes
1answer
16 views

How to add an attribute value to info window as a link? (ArcGIS JavaScript API)

I am using ArcGIS API for JavaScript and I want to use a value from a feature class attribute as a hyperlink. For example, "template.setContent("Web Address: http://www.esri.com>${Web_Address}"); This ...
0
votes
1answer
23 views

Using Arcgis and OSM tiles in Openlayers application

I created a map object and specified options according to Arcgis tiled map tiles. var options = { scales: [120000, 60000, 30000, 15000, 5000, 2500, 500], resolutions: ...
0
votes
2answers
19 views

ArcGIS JavaScript API - WFS workaround?

Does anybody know of an existing script or a workaround that will convert WFS returned data into something that the ArcGIS JS API can digest and display? Essentially, it would be some sort of script ...
3
votes
2answers
221 views

How to draw circle of 3 km radius in ArcGIS for ESRI?

I am able to draw the circle but I want a circle of radius 3 kms I have checked all the previous posts. I want to know what is the units of radius in the below code. var radius, circle, ring, pts, ...
4
votes
3answers
31 views

How do I use the Terrain with Labels basemap in the Map constructor

Seems like all the other basemaps can be used in the esri.Map() constructor, but this one doesn't have a corresponding entry in the list of acceptable values. I've tried just "terrain", and it didn't ...
1
vote
1answer
19 views

Sending e-mail on feature update in ArcGIS JavaScript application?

We have an ArcGIS feature service that users can edit to change a "project status" attribute. An example would be a change from "pending" to "in-progress". Certain groups need to be notified when ...
1
vote
1answer
65 views

Changing map projection and adding graphic features in projected coordinate system using ArcGIS API for JavaScript?

I'm having some problems with the ArcGIS API for JavaScript. I have a web service that traces an electric network and sends back JSON with point and polyline (path) geometry. I've created a function ...
3
votes
1answer
28 views

Display information in infowindow using KMLLayer and kmz file

I added the kmz layer to my map www.spc.noaa.gov/products/md/ActiveMD.kmz However when I click on it, all I get in the infowindow is "MD 1558". (This may change for you since it is updated in near ...
3
votes
0answers
37 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 ...
1
vote
0answers
21 views

Changing the color ramp in arcgis javascript

Using the arcgis javascript api, I am displaying geotiffs. What I want to do is change the color ramp in these images. I've looked through the api and I have not seen anything. Does anyone know where ...
1
vote
0answers
33 views

FindTask result returns an array of features but only displays the last item in the popupwindow

executing the complete findtask url generated by my application from the address bar I get back a good json object that returns 112 features I was trying to implement functionality similar to this ...
2
votes
0answers
21 views

Showing data in form view (instead of grid view) using ArcGIS API for JavaScript?

Can anyone suggest how to bind data with the help of query in a Form view of the ArcGIS API for JavaScript? I have done it in Grid view but as the requirement of a client is that I have to bind it to ...
2
votes
1answer
31 views

How to create a time slider using arcgis javascript that only shows a year at a time?

I am looking at this example on how to create a time slider using the arcgis javascript api. Instead of showing the data cumulative from the start date. I want to just show the data for that ...
2
votes
0answers
65 views

Rendering performance

I am using ArcGis Java SDK for creating a map in my JavaFX application. I have a requirement to plot up to 500,000 graphics on graphics layer. When I do 100,000 graphics its performance is really bad. ...
1
vote
3answers
45 views

Remove Geometry from map using ArcGIS API for JavaScript?

I need to remove a geometry from the map. It may be a marker, circle, polyline etc. I don't see any method like remove, clear or destroy. I already know how to clear everything on the map but this is ...
1
vote
0answers
20 views

Can you set custom fields for a [Feature] Layer?

Is there some way I can "tag" a [Feature] Layer so that I can grab the layer from the service and see in some attribute LocationField = I suppose I could put that information in the description and ...
3
votes
1answer
45 views

Inconsistent Identify Task- Explain this bug?

Through some console.log debugging I've located the exact line of code that is failing me but I'm not quite sure how to fix the problem. Basically, I have an identify function that queries the ...
2
votes
0answers
18 views

Saving bookmarks in a database using javascript [closed]

I want to save a bookmark permanently in a database using javascript. I have an idea. "I have a service. so that i shall use that service to interact my code and the database." I am struck with ...
1
vote
1answer
25 views

Drawing Graphic at street layer/level only

I am new to ArcGIS JavaScript API and would like some help. I have a scenario where a user has to draw a graphic, mainly a polyline and some points on a map. To avoid confusion I want to limit the ...
0
votes
1answer
27 views

AGS Tiled Map Services and the .jpg file extension using js api

I have an old app that is still using esri js api 1.4 (i know, it's dated) but that app works and it can pull tiles from a 10.0 tiled map services. When it does that it calls for the tiles at the url ...
0
votes
3answers
53 views

How to draw polygons from watershed boundary dataset?

I'm working on a web map using esri arcgis javascript api. I'd like to use the NHD Watershed Boundary Data to draw polygons based on the boundaries of the watersheds. Does anyone have any ideas of how ...
1
vote
1answer
23 views

Understanding URL that IdentityManager.findServerInfo() method expects?

Does anyone have experience working with the IdentityManager object in the JS API 3.9? I'm trying to understand what URL the findServerInfo() method expects. I've tried the base REST url, and ...
1
vote
1answer
39 views

How to remove ArcGISTiledMapServiceLayer completely

I have a problem related to "ArcGISTiledMapServiceLayer". I have an ArcGISTiledMapServiceLayer map service, which I have added to Map object. This service work as BaseMap. Now I want to add another ...
1
vote
1answer
23 views

Can I set individual scale levels for an ArcGISDynamicMapServiceLayer?

I have a map service that contains 6 layers. I turned one layer into a feature layer. I used this layer in a query and show the result. I then would like to just show the other 5 layers as a ...
1
vote
1answer
81 views

Why isn't my ArcGIS JavaScript QueryTask working?

var map; require([ "esri/map", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/layers/ImageParameters", "esri/tasks/QueryTask", ...
1
vote
1answer
20 views

Can I set individual opacity levels for an ArcGISDynamicMapServiceLayer?

I've added a ArcGISDynamicMapServiceLayer and I've used the imageParameters.layerIds property to only show certain layers. Is there a way to set a different opacity level for each layer?
1
vote
1answer
57 views

Is editing feature service through the REST API an okay approach?

I have a database that receives real-time data from alarms throughout the day, or on request. I'd like to create a web map that displays the "bad" alarms. My current idea is to create a Python ...
0
votes
1answer
25 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 ...
1
vote
1answer
50 views

ArcGIS for Javascript Template available?

ESRI has a stack of templates in the ArcGIS Online section. But when you download them it turns out that in order to make them run, you have to first create a webmap via their WebMap Viewer ...
0
votes
0answers
22 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 ...
4
votes
3answers
79 views

Hide zoom buttons in ArcGIS

Is there a way to hide the zoom-in/zoom-out buttons in ArcGIS javascript API? I have external zoom buttons elsewhere on the page, so these are no longer needed.
0
votes
0answers
37 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 ...
1
vote
2answers
57 views

Full extent of a map

Is there a way to get the full extent of a map? I am looking to use this extent to zoom out to whole world view on a button click.
0
votes
1answer
16 views

Passing extent from web map to PDF for integration?

I'm trying to figure out whether I can take an extent (or coordinatess with a Zoom level included) to a PDF in order to author a PDF that displays both GIS and report-styled business data? Is this ...
4
votes
2answers
49 views

ESRI JavaScript API ArcGISDynamicMapServiceLayer Scale Dependency Visibility

Background: I am building a JavaScript web app using ESRI's JavaScript API v3.8, and our ArcGIS Server v9.3.1. I have layers I am rendering using the ArcGISDynamicMapServiceLayer, and I have been ...
-1
votes
2answers
125 views

Populating combobox and zoom to selected field in box?

I am very new to arcgis javascript .I am not able to populate combobox and zoom to the selected field in the box <!DOCTYPE html> <html> <head> <meta ...
0
votes
1answer
69 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
0answers
23 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
25 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
1answer
47 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. ...
0
votes
0answers
36 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
22 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
28 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
1answer
68 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. ...