Tagged Questions
8
votes
3answers
731 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 ...
8
votes
1answer
366 views
How can I use an ArcGIS.com map that's not shared with everyone from JavaScript API?
I like to use the ArcGIS.com to create a map with operational layers on top of a baselayer. I would like to have the Content and Map as private but to show the map in an application built with ...
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 ...
7
votes
3answers
1k views
How to query all records (>1000) and export to csv?
I posted in arcgis forum but never got any answer.
Can anyone tell me how to solve this?
Assume you have a vehicle tracking records from Oct.1 to Dec. 31 with wind speed information.
All data is ...
7
votes
1answer
1k 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
2answers
486 views
How “complex” should a JavaScript map become? When does a plugin make more sense?
Background:
A client is looking to upgrade an ancient ArcIMS site, which is quite complex. It has a table of contents, the ability to change symbology on-the-fly, print the map, use spatial ...
6
votes
4answers
829 views
ArcGIS JS API: Merging Popups with Relationship Queries (with fiddle)
I am trying to merge two ArcGIS JS API examples: Feature Layer with Popup and Query Related Records. The idea I have in mind is clicking on a country feature, retrieve all related records from a ...
4
votes
1answer
155 views
Why does a cache service need to load first when a dynamic service is involved?
I notice if you have 2 services 1 cached and 1 dynamic you have to load the cache first for it to display.
Does anyone know why?
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, ...
4
votes
2answers
2k views
How to calculate distance between two points with esri.geometry?
The function http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#namespace_geometry/esri.geometry.getLength should calculate distances between points.
When I am trying to calculate distance ...
4
votes
2answers
374 views
How to auto-add new values to unique values classification values range?
I am using ArcGIS Desktop 10.1, ArcGIS Server 10.1 & SQL Server 2008 software.
I am adding the query layer and directly publishing to ArcGIS Server and accessing the map in a JavaScript ...
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 ...
4
votes
1answer
845 views
ArcGIS javascript API - How To Use Tiled Map Services with Different Spatial References?
I have the following code fragment in an esri page to try and change basemaps, the following code works, unless the next basemap layer uses a different spatialreference.
if (baseMap)
...
4
votes
1answer
554 views
Text and circular background marker with ArcGIS Javascript API?
I see that it is possible to create a circular symbol (among other shapes) with SimpleMarkerSymbol. I also see that it is possible to create a text symbol with TextSymbol. Is it possible to combine ...
3
votes
4answers
405 views
Is Javascript/AJAX still supported in ArcGIS 10?
A colleague of mine claims that the ArcGIS Javascript web API is not supported for ArcGIS 10+. I searched their website but all the information seemed to indicate that it should still work.
Any ...
3
votes
3answers
3k views
Printing with the ArcGIS Javascript API?
Any examples of how to print a map using the JSAPI? All from the client?
3
votes
1answer
2k views
Does ArcGIS API support Geoserver's WMS and WFS services?
I want to know whether ArcGIS API for Java Script support Geoserver's WMS and WFS standards. I have published my data on Geoserver and i want to query my data by WFS in ArcGIS API to develope my ...
3
votes
1answer
447 views
ArcGIS JS API: Convert ESRI Date Type into String
I am following this ESRI tutorial to display information from a related table for the selected features. The example in itself for my project works fine, however, my data include two Date fields and ...
3
votes
3answers
1k 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 ...
3
votes
1answer
1k views
Web mapping within ASP MVC 3 framework
Just curious if anyone has used the ASP MVC 3 framework for creating web mapping applications. I have one coming up and am planning on using the ArcGIS javascript API. Would be interested in hearing ...
3
votes
1answer
344 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
1answer
309 views
ArcGIS Server 10 GP Service Cannot Download Result?
I have implement the ArcGIS JavaScript example just like the ESRI official example (clip and ship) .Everything was going right except the final step ,when the gp job have finish and my browser lead me ...
2
votes
3answers
768 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 ...
2
votes
2answers
1k views
Add point to center of polygon graphic in the Esri javascript api
I’m using the ESRI JavaScript API 3.3 to develop an application. I am selecting parcels and adding a graphic for the selected polygon. What I would like to do is add a point marker to the center of ...
2
votes
1answer
226 views
Difference between Identify task & Attribute Info in ArcGIS Java Script API (ver. 2.x & 3.x)
I am little bit confuse in between Identify task and attribute info task.
According to research, both are displaying attribute information
Interestingly if one point contains multiple attribute ...
2
votes
2answers
3k views
ArcGIS javascript API - draw circle of a specified radius in meters
I am trying to add a circle of a specified radius (let's say 200 meters) to a map. My thought is to create a SimpleMarkerSymbol object. The constructor asks for a size of the symbol in pixels, but I ...
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 = ...
2
votes
1answer
280 views
Error while placing labels within polygons using ArcGIS JS API and a external Geometry Service
I have published in my ArcGIS server a map service with a table containing the polygons of all countries on Earth. So this table contains more than 200 rows and the geometry field is of type type: ...
2
votes
1answer
299 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 ...
2
votes
1answer
308 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 ...
2
votes
1answer
337 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
2answers
3k views
ESRI - add graphics from a different spatialReference
I want to know if I'm approaching this incorrectly. We are attempting to create an esri-based map where we add graphics to a map thru the javascript API. The points that we're adding are lat/lng ...
2
votes
2answers
184 views
Is there a GroupRenderer in ArcGIS for javaScript?
Is there a GroupRenderer or similar functionality in ArcGIS for JavaScript?
What I would like to do is to show PictureMarkers with a label showing an attribute on the Graphics object.
2
votes
2answers
178 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 ...
2
votes
1answer
579 views
ESRI - Polyline insertPoint issue (JS 2.5 API)
I am trying to basically draw a path on an esri map. with circles like so, but when I call Polyline.insertPoint it doesn't show the new segment:
I keep adding points as time progresses. My ...
1
vote
3answers
155 views
Display Network analysis route service in India.
I am working on ArcGis javascript api, I need to display route from one point to another.
Thats why I need any Network Route Service for India. Is there any?
Thank You
1
vote
1answer
171 views
How can I get the map to repeat to fill the screen?
I'm programming my first ArcGIS application. I've created a simple map. When I zoom out to a world view, the map doesn't fill the width of the screen. Ideally I'd like it to repeat until the available ...
1
vote
2answers
96 views
Upgrading custom Java script tool (ver. 1.3 to 3.1 ) for ArcGIS Java Script API and getting an error
I have found useful tool here (All US States and counties on combo-box) its using Java script API 1.3 version.
I have downloaded the tool and trying use but its gives an store error (using version ...
1
vote
1answer
618 views
How to display unique records in combo-box in ArcGIs Java Script API ver 3.0/3.1?
I am displaying almost 9000 records by four type (A,B,C & D) in which I am displaying records using combo-box.
Each record is classified by "ctype" ( A or B or C or D) so I am putting this in ...
1
vote
1answer
182 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 ...
1
vote
1answer
171 views
Convert Heatmap into a Grid of Points
Question: How do you take a heatmap generated using a GIS software (arcgis, qgis...) and convert it into a uniform grid array of points which can be used to regenerate the heatmap (although with ...
1
vote
1answer
102 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
1answer
327 views
Identify Tool for JS API similar to the tool in ArcGIS Desktop?
As documented in my earlier questions, I am having trouble connecting multiple ArcGIS Server services to identifyTasks. Therefore, I'm wondering if there is a tool/process or if its possible to create ...
1
vote
1answer
625 views
How to Delete Records from a Feature Layer?
I am trying to delete some records from a feature layer, but I kept getting the error of invalid parameters from the errback.
Below is my code:
function deleteRecords()
{
var incidentId = 2;
var ...
1
vote
1answer
121 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
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 ...
1
vote
2answers
410 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
0answers
63 views
esri ArcGIS javascript api compatibility with Internet Explorer 7 and 8
I've developed a web map using esri arcgis javascript api version 3.8 and its not compatible with IE 7 or 8. I've advised the people who have reported this to update their version of IE but, if it ...
1
vote
1answer
299 views
ArcGIS Map Service: group layer loading
My ArcGIS JavaScript application is using an ArcGIS Server Map Service that has a bunch of layers. It also has a group layer. The structure is:
Service
group_layer_0
layer_1
...
0
votes
1answer
84 views
Upgrading ArcGIS JSAPI 2.x to 3.x & getting different errors
I have few data in which ArcGIS Java Script version 2.6 and 2.8 is used & I am upgrading it to ver.3.0/3.1 and getting different errors like (Store error,Map display is blank etc.)
I searched on ...