|
POST
|
Can you elaborate on how your app works? Are you using the identity manager?
... View more
09-30-2011
10:45 AM
|
0
|
0
|
573
|
|
POST
|
Just curious...why isn't a feature layer an option? If you don't want to use a feature layer, use a queryTask.executeForIds against your layer to get a list of object IDs then use those with queryTask.executeRelationshipQuery.
... View more
09-30-2011
10:04 AM
|
0
|
0
|
889
|
|
POST
|
It's usually a CSS issue...easiest way to avoid this type of issue is to use the dijit layout widgets (Border Container and Content Panes).
... View more
09-29-2011
07:03 AM
|
0
|
0
|
1210
|
|
POST
|
What is the spatial ref. of your layers? If they're in a geographic coordinate system, you can use esri.geometry.geographicToWebMercator() to project the layer's extent then pass it to map.setExtent(). If your layers are in some other coordinate system, project the extent with a geometry service and then set the map's extent.
... View more
09-29-2011
06:57 AM
|
0
|
0
|
716
|
|
POST
|
I started with this sample: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_basemapbutton.html Removed some of the fluff and then used links to your map services...the code is all there in the JS Fiddle link. I'm honestly not sure what the difference is between the code in the fiddle and what you posted.
... View more
09-28-2011
03:20 PM
|
0
|
1
|
1924
|
|
POST
|
How about this: http://jsfiddle.net/swingley/RVSPc/
... View more
09-28-2011
12:39 PM
|
0
|
0
|
1924
|
|
POST
|
Looks like the problem occurs when the extent specified by bestView crosses 180 degrees longitude. You end up with an extent where xmin > xmax. This obviously doesn't work... Simple workaround would be to check for this and flip the sign on xmin if xmin > xmax:
var bv = geocodeResults[0].bestView;
if ( bv.xmin > bv.xmax ) {
geocodeResults[0].bestView.xmin = bv.xmin * -1;
}
map.setExtent(esri.geometry.geographicToWebMercator(geocodeResults[0].bestView));
... View more
09-28-2011
12:20 PM
|
0
|
0
|
1765
|
|
POST
|
Have you tried specifying thumbnailUrl when creating your Basemaps?
... View more
09-28-2011
11:44 AM
|
0
|
0
|
1924
|
|
POST
|
This is actually a question better targeted at the REST API. If you look at the result of an identify or query task directly in your browser, you'll see that the results are what you've described: Identify: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/identify?geometryType=esriGeometryPoint&geometry=-120%2C40&tolerance=10&mapExtent=-119%2C38%2C-121%2C41&imageDisplay=400%2C300%2C96&f=pjson Query: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/1/query?text=&geometry=&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=STATE_NAME%3D%27Florida%27&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=*&f=pjson They're just being passed through to you by the JS API. One thing to note is that the query result contains field types while the identify result does not. Regarding 0.999952 turning into 0.99995215999999998, I would guess it probably has to do with floating point math, good explanation here: http://stackoverflow.com/questions/588004/is-javascripts-math-broken
... View more
09-27-2011
07:22 AM
|
0
|
0
|
985
|
|
POST
|
What does your addBarrierPoint function do? Neither of these lines throw an error:
var mypoint1 = new esri.geometry.Point(221967.496, 643632.837, new esri.SpatialReference({ wkid: 2039 }));
var mypoint2 = new esri.geometry.Point(221967.49658284057, 643632.8372346461, new esri.SpatialReference({ wkid: 2039 }));
... View more
09-27-2011
07:07 AM
|
0
|
0
|
495
|
|
POST
|
Sounds like something that would be best answered by bing/microsoft since you're talking about a response from their service. Have you tried posting in their forum?
... View more
09-27-2011
07:03 AM
|
0
|
0
|
1765
|
|
POST
|
Yes, I believe you could do this but why not just go with the feature layer approach shown in the sample? If you use selection mode, as the sample does (against a dynamic map service), it's doesn't bring features to the client until you ask for them (via a click to search).
... View more
09-27-2011
07:00 AM
|
0
|
0
|
889
|
|
POST
|
What have you tried? The sample you mentioned, File Access with Drag and Drop, does handle images. Check out the handleImage function in the source.
... View more
09-26-2011
12:55 PM
|
0
|
0
|
1099
|
| 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
|