1
vote
1answer
14 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 ...
0
votes
0answers
34 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 ...
0
votes
0answers
41 views

Showing only some points in Feature Layer on ArcGIS.Com WebMap Javascript API

I am looking at creating a webmap which will allow users to place a point either by clicking on a map or selecting a point from a drop down which will then buffer the point. I've done something ...
0
votes
1answer
95 views

add features to a featurelayer and save changes in the server

I am developping a web application with arcgis javascript api. I am using arcgis server 10.2. I declared a featureLayer, the URL of this featureLayer is a feature service on my server. Using a ...
0
votes
0answers
74 views

Customizing map.on(“click”) while using default editor widget

My question is whether or not it is possible to use the default editor widget in my case given the needs of my application. My map consists of points displayed from four different FeatureLayers. They ...
0
votes
0answers
103 views

Attribute Inspector for points - JavaScript API

I am attempting to get an application working where editors can click on a point feature and edit a form. I need the form to have a save button that when clicked will apply the edits to the feature. ...
0
votes
1answer
175 views

Update multiple features attributes in loop - JavaScript

I am trying to update multiple features in a feature layer through a loop. I have a feature layer that I would like to select and then assign someone to the features (through an attribute update. I ...
0
votes
1answer
99 views

evt.layers undefined while trying to display Legend widget in Javascript API

I cannot get an ArcGIS Javascript API Legend widget to show up. An excerpt of my code is as follows. I believe I'm failing somewhere near the console.log that I call...undefined comes up in the ...
1
vote
1answer
214 views

ArcGIS JavaScript API Select Features

I'm having some trouble using the "selectFeatures" method with a feature layer. The code below builds a query using input text. If anyone has any pointers on what I could be doing wrong here, it'd be ...
0
votes
0answers
7 views

How to get feature layer data for a given coordinate using arcgis javascript api? [duplicate]

I have a feature layer over a basemap. Now I want to plot a point on the map and if the point falls on the feature layer, I want to get the feature layer detail. Is it possible to get details of ...
0
votes
1answer
80 views

arcgis javascript api featureLayer not available immediately upon show click event

I am adding a feature layer as such in my index.html file. featureLayer00 = new FeatureLayer("http://webadaptorserviceurl/MapServer/0",{ mode: FeatureLayer.MODE_ONDEMAND, id: "0", ...
0
votes
0answers
98 views

FeatureLayer infowindow position appears on wrong location

When I click the feature layer, info window popup is appearing wrong position. I use dojo dijit like this toolkit. <div id="main" data-dojo-type="dijit/layout/BorderContainer" ...
1
vote
0answers
212 views

Feature Layer performance improvement

I have create a application where we show world map using arcgis .Here user does lot of interaction with map he click on the map or we highlight map programmatically so i want to improve performance ...
0
votes
0answers
45 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 ...
0
votes
1answer
96 views

Mouse click event used gis application with much data

I will create an application that using my water pipes, electric cables, gas pipes service in a city. All of streets and roads including water pipes. My service is publishing pipes. My service like ...
0
votes
0answers
66 views

FeatureLayer Mode_ONDEMAND notworking but Mode_SNAPSHOT is working

My web application is using ascgis javascript API 3.6 and I am trying to add FeatureLayer on Map. Layer is including buildings in a city. This is big data. Geometry type is polygon. I am adding ...
2
votes
0answers
112 views

Jsonp Callback error

Recently we have started migrating application from Javascript API 3.1 to 3.5 and we are finding this jsonp error coming sometimes during adding the layer.When we add the layer we also zoom to the ...
0
votes
1answer
160 views

Legend is stuck on startup()

All my layer URLs and Feature Layers are stored in an array. with an foreach loop, I am creating the FeatureLayers from the URLs, dojo.forEach(window.layerUrls, function (info, idx) { ...
1
vote
1answer
643 views

Querytask/query - executed select

Is there a way to get to the query condition, which is executed under the querytask ? I have an example, which is actually a copy of this ArcGIS example ...
1
vote
1answer
96 views

Interpreting Firebug results on ESRI Javascript feature layers in the NET tab

This was cross-posted to the ESRI Javascript API forum yesterday. I need help in interpreting what I am seeing and wondering why I'm seeing duplicate features. I'm using this example: ...
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, ...
1
vote
1answer
124 views

What ArcGIS Online feature layer can I use to display 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 layer so that I can use the UniqueValueRenderer to make the states ...
1
vote
0answers
426 views

ArcGIS API Javascript - FeatureLayer from json: problem with queries and popup

Hello everybody I've tried this code proposed by Derek Swingley in JSFIDDLE: JSFIDDLE-FeatureLayer from JSON Everything "seems" to work fine, but not always. If you go down to the closer scale (level ...
3
votes
1answer
341 views

How to control the rendering priority/order of feature layers?

I am displaying polygon, line and point feature layers on a button click event and adding layers in order based on their geometry type, e.g.: polygon -> line -> point. In certain cases layers are ...
2
votes
1answer
613 views

HTML5 local storage for tile maps and feature layers using ArcGIS Java Script API

I am developing a mobile arcgis application I want to store data locally so that when a user is offline he/she can use the maps. I want to store tile layers,feature layers and a table data. Any ...
2
votes
1answer
236 views

Feature Layer (Polygon) Rendering issue in ArcGIS Server 10.1

I have a feature layer consisting of 96,000 features, but we are displaying a maximum of 13,000 features in our map application. There is an issue that for some zoom levels the features are visible ...
1
vote
1answer
422 views

Unable to see the featureLayer but it is present on the map

I have created a featureLayer from featureCollection and I am able to add it to the map and when I execute, map.graphicsLayerIds, it also returns the id of the featureLayer, ["resultLayer"]. But I am ...
4
votes
1answer
853 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
1answer
407 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 ...
3
votes
3answers
923 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
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 ...
1
vote
1answer
958 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 ...
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. ...
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
650 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 ...
1
vote
1answer
730 views

Overlaping graphics not visible in featureLayer

I have constructed featureCollection from Json and feature collection has 44 features. I have given this feature collection as input to the Featurelayer which is showing only 32 graphics objects of ...
3
votes
1answer
3k views

automatic zoom to layer in arcgis js api

I'm trying to zoom to layer automatically as soon as the map finishes loading using the guide here. To be clear, I'm only loading one layer and just want to zoom in on one of the layers provided by ...
0
votes
1answer
947 views

Creating an AttributeInspector via JavaScript API v2.7

I'm trying to display an AttributeInspector when I click on an object from a layer. I'm following this sample, but I cannot get it to work. Here is my sample code: dojo.require("esri.map"); ...
2
votes
1answer
1k views

ARCGIS Javascript API Feature Layer retrieval

I would want to develop an application where we could query the layer based on a result set of certain attributes of the features and highlight features. Approach Currently I tried using the feature ...
4
votes
2answers
5k views

Adding a FeatureLayer ARCGIS JavaScript API

Hi I am currently exploring ARCGIS Javascript API. I have my own map services and feature services up on my local server. I would want to use the FeatuerLayer to select and highlight feature on the ...
3
votes
1answer
870 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 ...
4
votes
0answers
3k views

Populate an existing popup with an AttributeInspector after RelationshipQuery returns results

Here's the workflow: A user selects a feature layer polygon, views a popup. A link added to the popup will run a RelationshipQuery to view related records. How can I get the RelationshipQuery results ...
3
votes
1answer
6k 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 ...
2
votes
1answer
1k views

How to vary the infoWindow size for different feature layers

I have multiple feature layers on the map, and I wish to display a different sized infoWindow for each layer. As far as I can tell, the map has one infoWindow, which can be resized using: ...
1
vote
1answer
235 views

Does a graphic or graphicsLayer support time-awareness?

In the ArcGIS Server JavaScript API 2.6 I'm looking to implement map graphics. I can't see whether they support time-awareness. The help entry for graphicsLayer doesn't mention timeInfo, which is ...
2
votes
2answers
1k views

Populating a Dojo widget with country names based on an ESRI hosted layer

Wow, Javascript is not that easy - can someone help me make a simple breakthrough just to understand some basic concepts. Does anyone know how to populate a filteringSelect Dojo dijit with the names ...
9
votes
4answers
984 views

what is the right way to delete all features from featureLayer

I have a featureLayer and I don't want to kill it and create another one. I want to delete all features from the current featureLayer. I found that I can use applyEdits method but in order to use it I ...
8
votes
1answer
350 views

Will hundreds of attributes cause performance problems in an ArcGIS Server layer?

This relates to ArcGIS Server 10.0 SP1, with data served from a file geodatabase polygon featureclass. 1) For performance reasons, is it a bad idea to have a featureclass with hundreds of attributes? ...
4
votes
1answer
2k views

How to handle add feature event in the FeatureLayer/Editor

I use a FeatureLayer created from the featureCollection. I also use esri.dijit.editing.Editor to add a feature to the map. Every time feature has been added to this layer I want to send it to my ...
5
votes
1answer
1k views

How to change a FeatureLayer's symbols?

I did this: dojo.connect(featureLayer, "onUpdateEnd", function() { var defaultSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([0,0,255])); ...