|
POST
|
This is the javascript api forum, I would try posting your question here: http://forums.arcgis.com/forums/9-ArcGIS-Server-.NET
... View more
10-26-2010
10:37 AM
|
0
|
0
|
452
|
|
POST
|
Not sure if this is applicable but have you looked at esri.config.defaults.io.timeout?
... View more
10-25-2010
04:51 PM
|
0
|
0
|
1355
|
|
POST
|
Don't forget about the getScale() method in the esri.geometry namespace.
... View more
10-22-2010
02:35 PM
|
0
|
0
|
1166
|
|
POST
|
Unzip the SDK and follow the instructions in arcgis_js_api/library/install.htm.
... View more
10-21-2010
01:34 PM
|
0
|
0
|
760
|
|
POST
|
Haven't tested but remember that you're passing the node returned from dojo.byId() to esri.show or esri.hide so dojo is still doing it's cross browser compatibility stuff.
... View more
10-20-2010
04:01 PM
|
0
|
0
|
1410
|
|
POST
|
Check out esri.config.defaults.map.zoomDuration and esri.config.defaults.map.zoomRate: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/inside_defaults.htm
... View more
10-20-2010
03:15 PM
|
0
|
0
|
785
|
|
POST
|
I would say stick to esri.hide/show. You can take a look at each via firebug or the chrome developer tools by typing "esri.hide" or "esri.show" in the console. Here's each: esri.hide
function (node){node.style.display="none";}
esri.show
function (node){node.style.display="block";}
dojo.style does a lot more than just show/hide nodes. I would expect the esri functions to always be faster.
... View more
10-20-2010
12:35 PM
|
0
|
0
|
1410
|
|
POST
|
What happens when you use the Find REST endpoint with the same search term? Can you post your JS code that does the find?
... View more
10-06-2010
10:39 AM
|
0
|
0
|
373
|
|
POST
|
Strange...I guess post back if this pops up again. Glad it's working though!
... View more
09-30-2010
02:12 PM
|
0
|
0
|
906
|
|
POST
|
Same problem if you hit a geometry service hosted by esri on one of the sample servers?
... View more
09-30-2010
01:12 PM
|
0
|
0
|
906
|
|
POST
|
I think you're stuck doing two calls unless you want to develop an SOE...
... View more
09-30-2010
01:11 PM
|
0
|
0
|
493
|
|
POST
|
The service that this sample uses has been deprecated. I'll replace the service and upload a new version of the identify sample soon. Hi Kelly, Can you clarify or list which services have been taken offline?
... View more
09-23-2010
04:47 PM
|
0
|
0
|
1234
|
|
POST
|
I have a feeling it didn't make it. This is something that's been requested for a while and, if it were included in 2.1, I think we would hear about it.
... View more
09-21-2010
11:47 AM
|
0
|
0
|
959
|
|
POST
|
First thing, exportMapImage is a layer method, not a map method so you need to call it on a dynamic map service layer. Second, provide a callback function to handle the map image that is returned. Something like this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Create Map</title>
<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.1/js/dojo/dijit/themes/claro/claro.css">
<script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.1"></script>
<script type="text/javascript">
dojo.require("esri.map");
function init() {
var map = new esri.Map("map");
var dLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/MapServer", {"opacity":0.5});
map.addLayer(dLayer);
var params = new esri.layers.ImageParameters();
params.format = 'png24';
params.bbox = map.extent;
params.height = '800';
params.width = '800';
params.layerIds = [0];
params.layerOption = esri.layers.ImageParameters.LAYER_OPTION_SHOW;
params.transparent = true;
dLayer.exportMapImage(params, function(img) {
console.log(img);
});
}
dojo.addOnLoad(init);
</script>
</head>
<body class="claro">
<div id="map" style="width:900px; height:600px; border:1px solid #000;"></div>
</body>
</html
... View more
09-21-2010
11:40 AM
|
0
|
0
|
1192
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-23-2012 07:54 AM | |
| 1 | 05-28-2010 08:31 AM | |
| 1 | 11-12-2012 08:12 AM | |
| 3 | 02-23-2012 10:57 AM | |
| 1 | 06-27-2011 08:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|