Tagged Questions
12
votes
4answers
3k views
Which framework is best to implement an application robustly, using ArcGIS Server JS API?
Over on the Esri forum, user Matt Moyles suggested that the approach used in the Esri JS samples isn't suitable for robust development of a web mapping application using HTML, JavaScript and CSS:
...
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 ...
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 ...
4
votes
2answers
2k views
Identify all layers on the map without pre-designing the infoWindow
This applies to the ArcGIS Server JavaScript API 2.4.
The Identify Task sample shows how IdentifyTask can be used to find features in multiple layers, as specified in the IdentifyParameters:
...
1
vote
2answers
1k views
Spatial query in ArcGIS Javascript Api 3.1
I have scenario in which I have to select features drawing a polygon and and get the attribute values in to a tables or lists.The features on the map consist of polygon, line,point at the same time so ...
7
votes
3answers
1k views
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing)
I have ArcGIS 10.1 installed with the web adapter for IIS. I've added a config file to the root of IIS7 to enable Cross Origin Resource Sharing (CORS) as per this page. I've pushed the cors enabled ...
6
votes
2answers
309 views
Rendering huge amount of points
Evening Guys,
I am new to ArcGIS, and currently developing a small app that uses ArcGIS Javascript API.
I have encountered a couple of problems while working on this and would greatly appreciate if ...
5
votes
1answer
373 views
Unclear on proxy used for AJAX in Javascript
I do understand how the proxy helps in transferring the XMLHttpRequest between the ArcServer and the Server (IIS/Apache) but where I am confused is that the first time the Html Doc loads, doesn't the ...
4
votes
2answers
2k views
Turn Popups On/Off in ArcGIS Online Webmap via Javascript API Web Application
I am writing my first ArcGIS Javascript API web map application and consuming a web map authored in ArcGIS Online. The ArcGIS Online web map apparently does most of the work for me in terms of ...
2
votes
5answers
2k views
Convert geographic coordinates to UTM zone 29N with Javascript
I have an issue converting lat longs to UTM with the ArcGIS javscript API.
Lets say that I have a map, based on the UTM zone 29N, also known as WKID 32629.
I have a known set of coordinates from a ...
2
votes
3answers
4k views
FeatureLayer creating in javascript ArcGIS API
I got the sample called "Feature Layer with ONDEMAND mode" in the ArcGIS for js resource center. This example just adds layer with rivers to the map.
I want to use my own features instead of using ...
8
votes
3answers
896 views
what is the right way to delete all features from featureLayer
I have a feaureLayer 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 ot use it I ...
4
votes
1answer
401 views
ArcGIS Online without basemap
I am trying to create a Web App, using the ArcGIS Online feature of downloading the javascript code, with the map id being used for connecting to the ArcGIS Online. I was able to do that successfully ...
3
votes
1answer
761 views
How to Use Custom Basemaps with BasemapToggle widget?
I'm trying to upgrade my app from version 3.3 to version 3.7 of the JavaScript API and am switching out the basemap gallery for the new BasemapToggle widget.
I have two custom basemaps that I want to ...
3
votes
1answer
455 views
Identify with Layer Toggling
I have spent some time reading the numerous threads about setting the identify task to work with layer toggling and I seem to have it working properly except for one small issue. The identify task ...
2
votes
1answer
139 views
How to display labels - created using LabelLayer only at certain scales
I am using ESRI Javascript 3.7 framework to develop a map application, in it I am trying to display labels created using LabelLayer at certain scales only, say from 1:1 to 1:500 scale only, how can I ...
2
votes
1answer
174 views
How customize GeoRSS icon in ArcGis JS API?
I have this little piece of script to customize the icon of some GeoRSS points, but I have no display and no error in the console.
var map;
require(["esri/map", ...
2
votes
2answers
2k views
Javascript Api's ArcGISTiledMapServiceLayer won't show map
I am currently trying to show a map that has been tiled. I am using version 10 of the arcgis server, and version 2.5 of the javascript api, the odd thing i am running into is that the map will not ...
2
votes
2answers
621 views
Does the ArcGIS Javascript API support multiple map service urls per layer?
I've called tilecache from OpenLayers in the same manner as the example below. Is it possible to do something similar with the ArcGIS WMS map layer?
var urlArray = ...
1
vote
1answer
337 views
How do you display ArcGIS Server dates without the 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
2answers
542 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 ...