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

learn more… | top users | synonyms

1
vote
1answer
657 views

Show Fields in infowindow from my custom layer

I want to display 2 fields from the POIData layer. What i get now is ${ToegangsNr} ${Baanvak} in text. Does anyone know how to do this in an DynamicMapServiceLayer. Thanks in advance POIData = new ...
6
votes
1answer
163 views

How to select all remaining features after a Layer Definition filtering?

I have a map service that represents the World map with a table with population associated. I would like to filter some of the data matching a criteria and then, select ALL remaining features to work ...
7
votes
2answers
11k views

How to make heat maps?

It might beginner question regarding heat maps..I want to prepare the heat maps so what parameters are required for that?? I gone through following posts about heat map..but I did not get exact ...
3
votes
1answer
544 views

Check if lat/long point is within shape

I'm a bit new to ESRI and GIS so forgive me if this is a simple question. Looking at this example ESRI Javascript sample (source code is here) I see you can click on a shape (via a published shape ...
1
vote
1answer
141 views

How to shade or add grey overlay to non-selected features in ArcGIS JS API?

I have an application showing cadastral parcels. When a parcel is clicked, the applications makes zoom to the extent of this feature and prepares a floating pane where it is possible to load some ...
1
vote
1answer
257 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, ...
4
votes
3answers
3k views

Query Layer with user-defined (dynamic) parameters in ArcGIS 10.1

I have prepared and published with ArcMap 10.1 to my ArcGIS Server a Query Layer to access some information in my database. My output map represents the European Union states and using annotations, ...
0
votes
3answers
354 views

Accessing fields of particular layer

I am trying to access the fields which I can see in this particular layer. I am able to see that it has fields but fetching the values in those fields is something that I am unable to do. Is there ...
4
votes
1answer
859 views

Feature Service layer issues

What is the maximum number of records returned by WFS protocol? What is maximum number of records returned by a Feature Layer in ArcGIS Server 10.1? What is maximum number of records the ArcGIS ...
3
votes
3answers
2k views

How to zoom to feature when clicking on drop-down list box item with ArcGIS JS API?

I am developing a web application with ArcGIS JS Api that is similar to this smart campus: UCSB Interactive Campus Map. Here, in the Building drop down list box, you can select a building, and the ...
1
vote
1answer
102 views

“Combo-box” for ArcGIS Java script API (ver. 3.1)

I am using combo-box in ArcGIS Java script API (ver.2.8). When I update the version to 3.1 it gives an error "TypeError: _2d.store.query is not a function" Can anybody tell me that "Combo-box" ...
3
votes
1answer
415 views

How to select several disseminate features with ArcGIS JS API?

I have a cadastral map similar to this one from an ArcGIS Javascript API example: Cadastral map What I would like to do is selecting several parcels clicking on them and show the information related ...
1
vote
0answers
25 views

Info from the getResultImageLayer missing

I was finally able to get the result layer overlaid on my application but now I am facing another problem. The output of the layer url does not show any field or attribute details. I am not sure why ...
3
votes
2answers
2k views

Changing infoWindow style in ArcGIS JavaScript API (v3.2)

See below a screenshot of the infoWindow's appearance in my ArcGIS JavaScript API (v3.2) application. As you can see the transparent title bar with the white buttons doesn't work too well against a ...
3
votes
1answer
173 views

is there an API-level error handler in the ArcGIS Server JS API?

I'm seeing an error message in FireBug: Error: Internal kml parser error.http://serverapi.arcgisonline.com/js.../?v=3.2compact Line 34 I'm not worried about fixing this error for the moment - I'd ...
0
votes
1answer
403 views

how do i load map service from using JavaScript API? [closed]

I created a Map Service in arc catalog. Now How i can load this map with javascript api ? I have this sample : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ...
2
votes
1answer
370 views

Create dynamically multiple layers in ArcGIS Server 10.1

I am using ArcGIS Server 10.1 and Desktop 10.1 software. I am publishing table from sqlserver to the ArcGIS server, that table (from sqlserver) is updating hourly, and the types are increasing. I ...
2
votes
1answer
407 views

ArcGIS JS Api: Click on feature, create a particular new map?

I have a polygon layer visible from scales 0 to 8 (bigger to smaller). The thing is that I would like to click on a SINGLE feature of this polygon layer and then going to a different map (but in same ...
1
vote
1answer
194 views

Represent joined data in Info window (ArcGIS JSAPI 3.1)

Currently I am facing following problem I have joined the SQL Server data base to my shape files (In ArcGIS Desktop using “join” option)and published on ArcGIS Server and working on REST service in ...
3
votes
3answers
938 views

How to count features in polygon using ArcGIS JS API?

I have published in my ArcGIS Server two layers: A polygon one and a point feature one. Points are contained in polygons. I would like to know how to count the number of points belonging/contained to ...
1
vote
1answer
995 views

is it possible to obtain layerInfo from the Layer's URL

I am trying to fetch the names of the layers in the MapService, so that I can populate them in the dijit.form.select. I am able to get the layerInfo when the ArcGISDynamicMapServiceLayer is added to ...
2
votes
1answer
502 views

Displaying ArcGIS Server dates without javascript localized date offset?

Esri recommends that databases are in UTC time. And if I’ve got this right, unless you set a time zone in your layer, you are entering a date in a date field as UTC. Mostly this is fine.You understand ...
0
votes
1answer
343 views

Integrating ArcGIS Online Web map to my Java script file(test.html)

Is it possible to integrate ArcGIS Online web map to my java script API?? I check the samples but in which only web map is added..I have few layers in .html file (Like feature,dynamic etc. and I want ...
3
votes
1answer
250 views

getResultImageLayer is not working

I am trying to obtain the shapefile output that I am receiving from the gpTool, which is hosted on the ArcServer, and placing it on the Map using, gp.getResultImageLayer(jobInfo.jobId,"final_shp", ...
2
votes
1answer
868 views

Customizing the time slider in ArcGIS Java Script API 3.1

I want to customize the time slider. Currently I am using "esriTimeUnitsMonths" in which I am getting only months not the year (Please check the image) I want to put month name +year ex. Jan 09 Feb ...
1
vote
1answer
1k views

Adding layers using ArcGISDynamicMapServiceLayer

I am right now adding individual layers using FeatureLayer but it takes quite some time to load as the map is for US Counties (3076 count). I tried to load it using ArcGISDynamicMapServiceLayer but I ...
2
votes
2answers
437 views

Insert a loading message into DataGrid

I'd like to show a loading message (Loading...) that shows while the datagrid is being populated. It would show when the search button is clicked and disappear when the grid results have populated. ...
2
votes
2answers
779 views

Load One Layer from ArcGIS Server MapServer

I am pretty new to ArcGIS Server and am building a map applications using the Javascript API. I can easily load the map layer below by adding it as a ArcGISDynamicMapServiceLayer ...
1
vote
1answer
205 views

Geodata Service in ArcGIS Java script api (3.1)

Can I use Geodata service in ArcGIS JavaScript API 3.1 ??? Background : I have simple map service and the all attribute data is stored in Sql Server database. I want to perform query operation on map ...
4
votes
2answers
934 views

ArcGIS JS API Edit Toolbar permits MOVE but not EDIT_VERTICES or ROTATE - JavaScript error thrown

I'm putting together an ArcGIS (v10.1) JS API (v3.2) application and I've hit a snag in drawing / editing functionality. Users can draw a new geometry or edit an existing one. I'm using the draw and ...
2
votes
2answers
1k views

Customize the legend elements

I want to customize the legend box elements .Please check the screenshot (I want to remove the highlighted information ...its the map service name and symbol in ArcMap) How its possible? Is there any ...
1
vote
1answer
978 views

Unable to removeLayers from Map

I was trying to create a FeatureLayer from the features returned from the ViewShed GP and I was successful at doing it. So when I click on the map, that featureSet is sent to the GP Tool and the ...
4
votes
2answers
1k views

ArcGIS JS Api: Getting information by location from multiple layers

I have two layers published in my ArcGIS Server 10.1 server. One is a polygon layer representing the World map by country and the other is a point layer depicting cities. Please, note that cities ...
2
votes
2answers
198 views

How to project US States in Transverse Mercator [duplicate]

Possible Duplicate: Layers having the same coordinate system should overlap, but they don’t. What’s wrong? I created two different MXDs, one for City of Tucson and another for US States. If ...
8
votes
3answers
888 views

Map Application Requires Refresh to Initialize

I tried this question over on StackOverflow but didn't get any answers. Hoping you all might be able to help. Creating a web mapping application in Javascript/Dojo: When I load the app in a browser ...
2
votes
1answer
950 views

ArcGIS Javascript: upgrade ComboBox to FIlteringSelect using ItemFileReadStore

I would like to upgrade a web app I am working on from v2.1 to v3.1 of the Javascript API (I have tried 3.2 but I am getting some very odd rending problems, so I'm settling with 3.1 for now...) One ...
1
vote
1answer
868 views

displaying scale of dyamic map service layer using ArcGIS JS API

In ArcGIS JS API, I would like to know and display the scale of a dynamic service layer by using the onExtentChange event, but the LOD argument is only valid for tile map services. Is there an ...
0
votes
1answer
810 views

ArcGIS JavaScript API layerDrawingOptions seem restricted to 1 option, and it doesn't have any effect

I have two problems with ArcGIS Server's (10.0) dynamic layers when calling Layer.setLayerDrawingOptions from v3.2 of the JavaScript API. 1) It doesn't work. I set the layerDrawingOptions array for a ...
1
vote
2answers
445 views

Enable FIND in ArcGIS Server 10.1

Trying to get a FindTask working via this sample and the only difference between my code and the samples that I can see is that the sample data has a find operation enabled. I can't find in my server ...
1
vote
1answer
733 views

create buffer around locator-derived point

I am trying to create a buffer around a point derived from a locator search, using this example: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm ..but I am getting no ...
0
votes
1answer
2k views

Feature Layer from JSON file

I would like to project my shapefile information on the maps. I converted my shapefile into a JSON file. How can use the Json file to create a featurecollection object in the ARCGIS Javascript API. ...
2
votes
1answer
469 views

Event for Selected Feature when Editing?

Are there Events in the ArcGIS JavaScript API that I can use to get the selected features being used by the attribute inspector and when features are added to the map? I am using the editor widget in ...
1
vote
1answer
434 views

open current selection's tab in tabbed infoWindow container: ArcGIS Javascript API

I am updating a webApp using ArcGIS Javscript API 2.1 I have an infoWindow with tabs which shows all of the features in my map. I built it based on this example: ...
0
votes
0answers
204 views

infoWindow does not open on initial page load (ArcGIS Javascript API)

I am working on a webapp using the ArcGIS Javascript API. I noticed that when I first load the map (currently living on a development server), the infoWindow does not open (when clicking on a ...
1
vote
1answer
391 views

load map parameters after opening new window

I am trying to open a new window from an existing window, which will contain a map with an extent derived from the original window. In other words, the user will zoom to an area in the original ...
1
vote
0answers
100 views

Esri ArcGIS plot point

I have created a java function to plot the points on the map, and I need to pass the x-y coordinates and the taskevent as the parameters. I would like to ask what should be the input parameter for ...
4
votes
2answers
2k views

“TypeError: Unable to draw graphic (geometry:null, symbol:null)” after adding tiled and feature layers

I'm seeing the following error when attempting to add a tiled and feature layer to the same map when using the ArcGIS Server JS API 3.1: TypeError: Unable to draw graphic (geometry:null, ...
0
votes
2answers
659 views

Toggle Visibility of Features in FeatureLayer

How to toggle the visibility of features in a feature-layer using check-boxes .I have grid containing check-boxes in a columns representing each feature in Feature-layer and so if I check off the ...
4
votes
2answers
929 views

Does the ArcGIS JavaScript API let me build / package my application using Dojo?

I'm currently getting to grips with the new (3.1) ArcGIS JavaScript API and how it bundles Dojo and relies on Dojo's Asynchronous Module Definition (AMD) approach. I'm familiar with AMD and recently ...
2
votes
1answer
352 views

Clustering Point for StatePlane WKID 2236

Does anyone have an example to point me in the right direction to utilize Clustering with the ESRI JS API working with a State Plane wkid: 2236? I want to provide a solution for an internal ...