|
POST
|
Can you elaborate on what this line does: var mapExtent = eval("(" + document.getElementById("MapExtent").value + ")");
... View more
06-28-2011
10:35 AM
|
0
|
0
|
962
|
|
POST
|
How about moving to the full ArcGIS API for JavaScript and using this sample to get Google Maps in your JS app: http://gmaps-utility-gis.googlecode.com/svn/tags/gmapslayer/1.0/docs/examples.html
... View more
06-28-2011
06:12 AM
|
0
|
0
|
1302
|
|
POST
|
Map services will only return 500 records (9.3.1) or 1000 records (10.0) out of the box. Is it possible you're hitting this limit?
... View more
06-27-2011
12:45 PM
|
0
|
0
|
2008
|
|
POST
|
You'll also want to add your feature layer to the map after you create it: map.addLayer(campus);
... View more
06-27-2011
10:14 AM
|
0
|
0
|
4062
|
|
POST
|
Nice one hzhu! Now, what do I need to do to get you to start using code tags? 😉
... View more
06-27-2011
09:12 AM
|
0
|
0
|
1822
|
|
POST
|
What did you change that resulted in this error? Does it work if you take a simple sample from the help, put in your map service URL and load the modified sample in a browser?
... View more
06-27-2011
08:53 AM
|
0
|
0
|
1233
|
|
POST
|
First, I would recommend starting with a sample that uses the latest version of the API: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_dynamic.html Next, it looks like you need a class="tundra" attribute on your body tag. Also make sure you're using the proper layer type for you map service. Is your local service tiled/cached? If it's not, you need to use ArcGISDynamicMapServiceLayer(), not ArcGISTiledMapServiceLayer().
... View more
06-27-2011
05:31 AM
|
0
|
0
|
1233
|
|
POST
|
Glad you got it working. Two things: -if you need to pull JSON data from multiple sources, you'll likely need separate functions to handle the differences in structure -you can define any symbol you like for geometries/points retrieved with a queryTask
... View more
06-24-2011
08:26 AM
|
0
|
0
|
1309
|
|
POST
|
Why not just use a query task? If you really want to use esri.request(), here are a couple of recommendations: -url should be your URL only and shouldn't include querystring parameters -content should be your querystring params as key, value pairs in an object
... View more
06-23-2011
11:07 AM
|
0
|
0
|
1309
|
| 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
|