Tagged Questions
0
votes
2answers
60 views
ArcGIS javascript api - layer reordering - how to add new layers?
I am learning ArcGIS javascript API and wanted to make a reordering panel for my webapp. I looked through the ArcGIS sample.
but I'm stuck at addLake() function. If I'm understand the sample ...
2
votes
1answer
65 views
First time using ArcGIS JavaScript API - where do I find the JavaScript API to include (.js) into my solution?
I'm writing a web service that will interface with ArcGIS. One of the requirements is to put:
esri.config.defaults.io.proxyUrl = "proxy.ashx";
in the JavaScript portion of the page. Of course, it ...
2
votes
1answer
127 views
ArcGIS JavaScript API geometry service offline capabilities
Lately I've been going through ArcGIS JS API samples, but from what I've seen, it looks like all geometric functions always go through server, and use server side REST functions. There is no option to ...
1
vote
1answer
106 views
ARCGIS JS API map.centerAndZoom()
I'm trying to get the map to move and zoom in to a point when a function is executed. Point gets selected, but without zoom. Interestingly when I zoom in to a random location and then execute the ...
4
votes
1answer
237 views
PrintTask in ArcGIS Online JS Api
I'm using the PrintTask() function from the ArcGIS Online API. Works like a charm...untill you add your own graphics.
When I don't run the addedAskedSymbolsToMap function in the code below, and only ...
2
votes
1answer
85 views
URL “ http:// <mygisServer>/ArcGIS/rest/service/GPTask/MapServer/jobs/<jobid>” not found in the ArcGIS Server?
I am Using ArcGIS Server 10.03 SP3. I created a geoprocessing service in the server which returns a result map service. I successfully created the gp service and map service with same name. I need to ...
2
votes
1answer
52 views
Method to find “if map data is available or not”
I am using Arcgis javascript api 3.2. I use the mapservice,
https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer.
I realized that map data is not available when the ...
4
votes
2answers
713 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 ...
0
votes
1answer
54 views
infotemplate getting cutoff on top or bottom of screen
in my app, i display few points across the map. these points have infotemplate with details in them and sometimes are quite large (around 350px height) if they have alot of information associated with ...
1
vote
1answer
158 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
1answer
674 views
Add label/text to esri.symbol.PictureMarkerSymbol
How can I add label or text on the ESRI's PictureMarkerSymbol (Javascript API)?
I could use any other marker as well that support labels.
Thanks!!
7
votes
3answers
427 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 ...
0
votes
1answer
149 views
What would be the URL of a JSON file on the local drive?
When i save json file in web apps then using http://localhost:8080/WGSClient/js/object.json this path file gets open.But when i keep it outside web apps like local folder then using same url format ...
0
votes
1answer
179 views
drawing graphic layer on client side with arcgis
hello I'm usign ArcGIS JS api v. 2.8 and..
I've got some problems with drawing graphics point on client side. The problem is, when I draw points by first time by JS api everything is OK. But when ...
4
votes
1answer
211 views
USGS Topographic Map Online API
I am creating a website for a non-profit organization and would like to plot points on a map similar to this: http://www.arcgis.com/home/item.html?id=931d892ac7a843d7ba29d085e0433465
I am currently ...
4
votes
1answer
259 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 ...
2
votes
1answer
178 views
How to generate thumbnails from shape file and display them on my website?
I tried to generate thumbnails from shape file and display them on my website(using jsp).I had been read this and this question .Very similarity questions ,but I know nothing about python... Is ...
4
votes
2answers
160 views
adding large amount of data [arcgis 9.x javascript api]
I've got problem, I'm creating map based application, and now I have to add to map about 100 000 graphic points, from coordinates.
I was trying in many ways to do it, but always process of adding ...
0
votes
0answers
251 views
Is there a way of displaying a Heatmap in IE7 when working with Arcgis javascript api?
Trying to find a solution to heat maps on IE7/IE8 (i.e. not using Canvas/HTML5/heatmapapi). Any ideas?
cheers
Phil
3
votes
1answer
272 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
1answer
370 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 ...
2
votes
2answers
156 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.
7
votes
1answer
761 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>", ...
4
votes
1answer
146 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?
2
votes
2answers
570 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 = ...
0
votes
2answers
260 views
ArcIMS - Active layer update
I'm trying to change the active layer in ArcIMS from the default top position to index 2 in the TOC. The TOC has 3 grouped layers, but it is the first grouped layer that I want the active layer to be ...
3
votes
1answer
621 views
How to set map rotation in ArcGIS Javascript API?
I've created a web map using the ArcGIS Javascript API, but I need my map to have a fixed rotation of 1.76. The street grid of the map doesn't totally align with the cardinal directions, so it looks ...
9
votes
3answers
729 views
Best ways to embed dynamic maps into PDF files
Working in consulting, I found that sending clients PDF file with my embedded maps is one of the best ways to achieve a wow-effect from them. The latest pdf file formats all support the layers feature ...
2
votes
1answer
600 views
How do I set options for individual layers within an ESRI Mapservice?
I've been working on an internet mapping site to include ESRI basemap layers, and in-house mapservices broken out by layer.. I have gotten that far..
I am also still fairly new to javascript..so, ...
6
votes
2answers
914 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 ...
1
vote
2answers
434 views
How to prevent label from automatically creating a new line when applying labels to a point feature class? (ArcMap10)
I have a point feature class that I am labelling with the string "EXIT" for a majority of points, but some points will be longer, such as "EXIT into Pacific".
I wrote a labeling script that will ...

