1
vote
4answers
89 views

Web Mapping using the ESRI Javascript API

So I've been tasked with coding the interactive map for the city I'm interning at. I'm still a beginner with Javascript but I learn best "one the fly" by just getting started. I just need to know how ...
0
votes
1answer
65 views

Bottom half of javascript web map application missing

Having an issue where the bottom half of a javascript web application is missing. I have checked the ArcGIS map services and they are functioning properly. I'm not a JS developer and am not sure ...
1
vote
1answer
62 views

Query Selected Records Only: Javascript API

For a web application I am working on, I currently have a feature layer with ID 0 (Street Lights) and feature layer with ID 1 (Maintenance Records Table). Multiple records in layer ID 1 are related to ...
0
votes
0answers
34 views

One Layer in Two Maps with Esri JS API

Is it possible to put a single FeatureLayer in multiple maps in the same app with the Esri JS API? I have two maps that I want to contain the same layer and I want the maps both to honor and changes ...
2
votes
1answer
51 views

Change SDE Version in ArcGIS JavaScipt API depending on connected user

I am programming for an web editing application with ArcGIS API for JavaScript. I've published a version of ArcSDE with Feature Acces and I need to know how can I change in the web application from ...
1
vote
0answers
29 views

Using AttributeInspector to Create New Record

This is a follow up question to another questions I posted earlier: Adding Record to Related Table using JavaScript API Without repeating too much information from that previous question, I was able ...
2
votes
1answer
83 views

Adding Record to Related Table using JavaScript API

I looked and didn't find this question so hopefully it isn't a repeat. I am new to the JavaScript API and just started creating a web application where the user will enter maintenance records for a ...
3
votes
1answer
133 views

looking for an esri compatible javascript engine

I work on an esri heavy team, i'm looking for a mapping engine that will give me flexibility to build on top of and leverage only the pieces I need and or add more as the app grows. I've been using ...
0
votes
1answer
121 views

Display Lat/Lng coordinates from Oracle DB with ArcGIS HTML5 component

We have some experience in using ArcMap and ArcSDE, but this dates back to 2008, so we're not up to date with the recent developments in ESRI products. Now we're dealing with a database that has some ...
0
votes
0answers
147 views

Get Pixel index of a clicked point from a tile in WMTS layer

How do I get the index of a clicked point from a tile in WMTS layer? I also want the tile row and column number corresponding to the clicked location. So I tried to set the extent of my WMTS layer to ...
1
vote
1answer
251 views

ESRI World Light Gray Base Map JavaScript - Prevent zoom out no more than the full extent

It is my first attempt to use JavaScript and the ESRI products. I am using the World Light Gray Base map for my first web GIS application. I have a question about the map full extent method. I would ...
0
votes
2answers
201 views

Zoom to Results on Map

I made a web app that displays delivery routes associated with a user-input zip code. My question is, how can I get the map to zoom to the results? Here is my code. Im thinking of some sort of ...
2
votes
1answer
82 views

How do I make a GP Results table sortable? Or add Dojo Grid

Im aware a sort() function exists, just not sure where it should be placed in my code. I have a function that draws routes on the map and i'm getting my results that are in my table from those routes. ...
2
votes
2answers
750 views

How do I get that polygon from Javascript ArcGIS API?

I would like to have a user draw a Polygon (or Line) onto a web map with the Javascript ArcGIS API drawing tools. For the life of me I can't figure out how to pull that polygon from the client and get ...
2
votes
1answer
135 views

Executing GP Task for JavaScript API

I recently started using JavaScript API in attempt to construct a web app. After taking a recent ESRI online course, I thought I had some base knowledge on how to do this. This geoprocessing service ...
1
vote
1answer
152 views

Can I use a Esri geocoding service with my custom basemap?

I am looking at the JavaScript samples in here. I am searching some street by search bar. But not zooming to street, it only viewing city. I have a custom tiled map service layer in my server. Can I ...
4
votes
1answer
253 views

What are offline/client geometry capabilities of ArcGIS JavaScript API?

Lately I've been going through ArcGIS JS API samples, but from what I've seen, it looks like all geometric functions always go through server, and use server side REST functions. There is no option to ...
2
votes
1answer
321 views

Can I use SELECTION mode on FeatureLayer from ArcGIS.com Webmap in ESRI JS API

I am using an ArcGIS.com Webmap in an ESRI Javascript API application I am developing. One of the layers in my Webmap is rather large and cannot be rendered all at once when zoomed out, however I ...
0
votes
1answer
2k views

ESRI Javascript API: setting feature layer selection symbol

This seems like it should be a relatively simple thing to do, but for whatever reason I can't figure it out. I'm trying to add functionality to select a group of parcels as laid out in this example, ...
3
votes
1answer
214 views

ESRI Javascript Web Application Hosted on Amazon Web Services

I have just deployed my first web application to Amazon S3. This web application is a simple web mapping app using the ESRI Javascript API and consuming a web map from ArcGIS Online. I have been ...
3
votes
2answers
2k views

ESRI Javascript API: How to hide infoWindow while using measure tool?

In my Javascript API Web application I'm using the infoWindow to query a parcel layer and display display information in a popup when I click the parcel. I've set this functionality to turn on and off ...
5
votes
2answers
1k views

Application Templates for ArcGIS Server?

Esri provide a lot of excellent template applications for us in conjunction with web maps. These templates are specifically designed for using with your resources on ArcGIS Online as opposed to ...
1
vote
0answers
435 views

ArcGIS Javascript API: Force the fit option when zooming via rubberband selection with tiled map services

We're using ESRI's ArcGIS Javascript API with a tiled basemap and when the user zooms in using a rubberband selection via the navigation toolbar the map sometimes zooms in too far. This is apparently ...
1
vote
1answer
977 views

ArcGIS javascript api: Convert a map service with projected coords to web mercator

here I see a question about tiled map services. But what about dealing with an arcgis server map service in a projected coordinate system like say 2278, how would I convert this to web mercator so ...
3
votes
1answer
700 views

How do I use a toggle button with the ESRI javascript api

I am trying to use two toggle buttons which have been added to a map to toggle layers on and off in my simple web application. I am having problems getting the toggle button to respond when clicked or ...
3
votes
1answer
3k views

How to add or remove layers using esri javascript api

I want to use javascript and dojo to add and remove layers.
3
votes
1answer
5k views

How to Zoom to a FeatureLayer Using ArcGIS Javascript API

I am making a web application using the Javascript API and am trying to zoom to a feature layer from a row click in a dojo data grid. I have this working for a dynamic layer, but am having issues with ...
1
vote
1answer
573 views

How to join an external table to a set of polygons, and symbolize on the joined values, in a web map?

Say I have a table showing a number of statistics - for example, various gun crime by US State measures. I also have a dataset of state boundaries. How can I join the table to the features in a web ...
6
votes
1answer
627 views

What server and API to use for displaying complex polygons with dynamic symbology?

Background I need to interface a map into an existing website which allows the user to query a database and which currently results in a table listing population statistics per county. For example, ...
10
votes
4answers
3k views

Looking for a Table of Contents sample for the ArcGIS Server JavaScript API

Where can I find an example of a Table of Contents control to plug into the ArcGIS Server JavaScript API 2.3? Ideally it should support feature/dynamic/tiled layers; show symbology; and allow grouped ...
7
votes
2answers
1k views

Restrict pan and zoom in ArcGIS Javascript API?

I'm creating a web map of a university campus. I have the map functioning, but I don't want to be able to pan off of the basemap, into whitespace. Do you know of a function that will auto-pan the ...