Tagged Questions
13
votes
1answer
293 views
Are there any Javascript map labeling engines available?
Does anyone know of a javascript library containing functions that would allow me to generate labels for points on the map so that the labels don't overlap one another, and have optional leader lines ...
12
votes
4answers
2k 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
3answers
403 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 ...
7
votes
1answer
890 views
Browser support for ESRI ArcGIS JavaScript API (v2.4)
Can anyone give me information or a good pointer on browser version support in the ESRI ArcGIS JavaScript API v2.4?
I can't find much in their documentation beyond changes in support for specific ...
7
votes
1answer
741 views
How do we add a custom basemap in ArcGIS.Com that can be used in Javascript API?
It's possible to add a layer as a basemap in ArcGIS.com by checking the check box use as baselayer:
But when I consume the map using:
var mapDeferred = esri.arcgis.utils.createMap("<guid>", ...
7
votes
3answers
146 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 ...
7
votes
3answers
678 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 ...
6
votes
2answers
896 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 ...
6
votes
1answer
1k views
Is it possible to use esri.dijit.Popup for editing
In the new arcgis js api ESRI added new nice infowindow - esri.dijit.Popup. We can use it this way:
//create a popup to replace the map's info window
var popup = new ...
6
votes
2answers
2k views
How to navigate the REST endpoints and retrieve Field information programatically
I'm adding a Dynamic Map Service to an ArcGIS Server JavaScript API map, and I need to get hold of each component layer and its fields, so I can run a query.
See the sample ArcGIS Server services ...
5
votes
3answers
5k views
Draw a point with ArcGIS Javascript API
I am currently trying to draw a point with the ArcGIS Javascript API.
Pretty much like this example, http://help.arcgis.com/en/webapi/javascript/arcgis/demos/toolbar/toolbar_draw.html, except the ...
5
votes
1answer
220 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 ...
5
votes
1answer
98 views
How to draw graphics in a child window?
I am adding some graphics to the map in a parent window, and I would like to show the same graphics in a child window. I am using the ArcGIS Javascript API (version 3.1). I have written code as below:
...
5
votes
2answers
223 views
Moveable ESRI / ArcGIS Identify Popup Window (Dojo)
I'm trying to get a popup window that identifies a location to be moveable. My code is similar to the API example:
var popupOptions = {
fillSymbol: new ...
5
votes
2answers
166 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 ...