|
POST
|
alex, adding a dedicated <div> for the map inside your content pane (instead of associating the map object with the div for the content pane itself) resolved the problem with the cursor for me.
map = new Map("map2", {
...
<section id="fancy"
</section>
<div id="map2"></div>
... View more
05-15-2014
03:10 PM
|
0
|
0
|
2793
|
|
POST
|
hard to tell you without seeing a sample app that shows the problem.
... View more
05-15-2014
11:48 AM
|
0
|
0
|
2793
|
|
POST
|
have you tried calling map.reposition() as suggested in the forum thread i linked previously?
... View more
05-15-2014
11:45 AM
|
0
|
0
|
2793
|
|
POST
|
hi veronica, i'm not able to reproduce the error you describe after updating the FeatureLayer infoTemplate to refer to a valid field and make sure not to set any renderers or symbols associated with points for the polygon layer you substituted. http://jsfiddle.net/jagravois/LkRLu/ all that being said, its worth noting that at version 3.9 of our JS API, the dojo configuration property 'useDeferredInstrumentation' is now set to true by default, so in certain cases errors appear in the console that you wouldn't have seen in 3.8, even though nothing else has changed.
<script>
var dojoConfig = {
useDeferredInstrumentation: true
};
</script>
... View more
05-15-2014
08:45 AM
|
0
|
0
|
2576
|
|
POST
|
no worries, just click the �??check mark�?� icon on the right side of a helpful reply. http://resources.arcgis.com/en/help/forums-mvp/
... View more
05-15-2014
08:22 AM
|
0
|
0
|
2250
|
|
POST
|
hi alex, there are a variety of resources missing in your jsbin that make it impossible to test with it. in general, its probably a CSS problem, as discussed in this forum. http://forums.arcgis.com/threads/47975-Map-Navigation-Mouse-Offset?highlight=offset
... View more
05-15-2014
07:31 AM
|
0
|
0
|
2793
|
|
POST
|
brian, can you share the line of code where you set the location of your proxy and explain where it actually sits with respect to your application? also, since your proxy is throwing a 403, are you sure that the resource which is being requested is specified in your proxy.config whitelist?
... View more
05-15-2014
07:25 AM
|
1
|
0
|
3752
|
|
POST
|
have you seen this sample which demonstrates calling a network analyst 'service area' operation?
... View more
05-15-2014
07:21 AM
|
0
|
0
|
1328
|
|
POST
|
helen, very glad to help. when you have a moment, please consider marking this thread as 'answered'.
... View more
05-14-2014
03:43 PM
|
0
|
0
|
2250
|
|
POST
|
can you reproduce the error with one of the public services here?
... View more
05-14-2014
07:42 AM
|
0
|
0
|
2576
|
|
POST
|
your app failed for me, logging the following error in the console.
Error {stack: "Error: esri.config.defaults.io.proxyUrl is not set�?�h.hitch (http://js.arcgis.com/3.9/init.js:174:23)", log: undefined, _ssl: undefined, message: "esri.config.defaults.io.proxyUrl is not set."}
"Error: esri.config.defaults.io.proxyUrl is not set.
after resolving that problem, the call to difference() seems to execute successfully.
... View more
05-13-2014
12:24 PM
|
0
|
0
|
418
|
|
POST
|
the JSON object for date '140601' is not present in the JSON file you provided (or the sample app you have running on your own site). for me, the code fails to call queryTask.execute() when hovering over other dates (because licenceref1 == "") a simpler repro case with a hardcoded call to the geometry service would make it a lot easier to debug and attempt to give you some feedback.
... View more
05-13-2014
12:06 PM
|
0
|
0
|
3408
|
|
POST
|
dawen, you might consider publishing the data as an ArcGIS Online hosted feature service and updating the maxRecordCount property of the service itself. http://forums.arcgis.com/threads/94744-Is-it-possible-to-change-the-Max-Record-Count-on-an-AGOL-hosted-Feature-service
... View more
05-13-2014
11:49 AM
|
0
|
0
|
2254
|
|
POST
|
Naveen, if you can upload the JSON file used in your sample application I can host it myself and see if I can reproduce the problem.
... View more
05-13-2014
09:10 AM
|
0
|
0
|
3408
|
|
POST
|
naveen, the json file in your application 404s when I try and run here, so i'm not able to run your application. that being said in looking at your code i noticed two things that seemed a little irregular. 1. why are you instantiating two different geometry service objects?
gsvc = new GeometryService("http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer");
gs = new GeometryService("http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer");
2. i think you should either be supplying an anonymous function inline as the callback to difference() or referencing a named function that appears later. right now you're doing both.
gs.difference(geom11,geom1a,function showCutBuffer(graphic1a1){
//should be either
gs.difference(geom11,geom1a,function(graphic1a1){
...
//or
gs.difference(geom11,geom1a,showCutBuffer);
...
function showCutBuffer(graphic1a1)
... View more
05-13-2014
08:12 AM
|
0
|
0
|
3408
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|