|
POST
|
I take a different (simpilier) approach, that may or may not work for you. Instead of trying to combine the results, I let them come in individually, and then just append them to a results block. That way if one result comes back quickly it is displayed immediately, and if a query takes a long time the results just show up whenever its done.
... View more
03-09-2012
05:38 AM
|
0
|
0
|
660
|
|
POST
|
IE is terrible isn't it? It sounds like, since the initial load is always an identical request, IE is seeing this and caching the return map. When you navigate a new request is created and that is why it updates. You can try a couple things to get around this. 1. Randomize you initial extent a few millimeters. User will never notice, but the requests will be unique (terrible but functional) 2. Check you reverse-proxy/web cache/firewall and set the particular service not to cache. 3. Even worse, if all else fails, you could add an dojo.isIE (do some tiny navigate) sorry I can't think of better solutions. In fiddler, you should see if the initial map request is drawing new or displaying a cached result. This would confirm the behavior at least.
... View more
03-05-2012
07:00 AM
|
0
|
0
|
1581
|
|
POST
|
Agreed. I preferred the technology driven approach.
... View more
03-05-2012
05:13 AM
|
0
|
0
|
1607
|
|
POST
|
HTTP 404 ERROR, in the web browser But the index.jsp file seems to be in the correct directory, aka C:/Inetpub/wwwroot/project1/arcgis_js_api/library/2.6/arcgis Well thats definately the problem, until you can access that project via the web, the api wont work. CAn you get to it via localhost on that machine?
... View more
02-24-2012
07:19 AM
|
0
|
0
|
1911
|
|
POST
|
Sounds like you local api is installed (you can see the css files) but you made an error localizing it. What do you get when you go to http://server1/project1/arcgis_js_api/library/2.6/arcgis/index.jsp
... View more
02-24-2012
06:57 AM
|
0
|
0
|
1911
|
|
POST
|
There is one error (red X symbol) saying : "Uncaught exception : Could not load cross-domain resource : dojox.gfx.svg" There are also several warnings (! inside a yellow triangle) about the tundra.css file : Messages like "Expected declaration, but found #zoom. Moving to the next declaration" with the "#zoom" element being replaced with #display, #vertical-align, #overflow, #filter, #text-indent, #letter-spacing, #text-align, #bottom, #background, #background-image... Messages like "Property "zoom" unknown. Declaration abandonned." with the "zoom" element being replaced with transform, transform-origin, filter, resize, moz-opacity, padding, text-overflow, top, border-radius... I don't really know what to do with those infos... Thanks again for your help! Are you sure your local api is working? I would check the following things to test 1. Switch to the ArcGIS online api. DOes the map work? if so, you have an error in your api installation. If not you have an error in your map code 2. If your api installation is the problem, browse to one of the files in a webbrowser. for example, at http://hoboken:8084/arcgis_js_api/library/2.6/arcgis/index.jsp I get a printout of alot of code.
... View more
02-24-2012
05:42 AM
|
0
|
0
|
1911
|
|
POST
|
Can you privide any information on whether or not ESRI is currently developing a code assist plugin for Aptana Studio 3? Thanks for the info, Jason http://forums.arcgis.com/threads/50971-ESRI-Javascript-Code-Assist-API-2.7-Doesn%E2%80%99t-work-in-Aptana-and-How-to-Fix-it.
... View more
02-22-2012
11:33 AM
|
0
|
0
|
1565
|
|
POST
|
I've tried setting up and use cancel method for a queryTask. Every time I cancel a query operation, though, I get an dojo.io.script error. I think the query is genuinely terminated, I'm just worried about that error callback I'm getting. I dont think the querytask has a cancel method, at least not according to the API documentation. Once the query is submitted to the server I don't think there is much you can do to stop it.
... View more
02-22-2012
09:01 AM
|
0
|
0
|
1459
|
|
POST
|
Reason #1 I can understand, but #2 is kinda ironic, since there are plenty of in-browser addons for IE7 available. Don't know what to say about #3, but for #4 as long as it follows w3 standards, I don't see a problem. Agree 100% . Unfortunately I don't make the decisions, and logic is counterproductive in manager's meetings.
... View more
02-22-2012
03:42 AM
|
0
|
0
|
1232
|
|
POST
|
It hasnt been updated in years. We extensively modified it when it came out, so we are basically committed to it. It was never template/drag and drop. It was always a customize the code type approach.
... View more
02-21-2012
09:25 AM
|
0
|
0
|
3205
|
|
POST
|
ahh thanks so much!! but im a bit confused, where can i find the SOURCE SR? My pt comes from the GPS signal and to use the same SR like my initextent doesn't make sense for me. Did I need to use wkid:102100 like thes examples: correct location? Or is it the WGS 1984 (4326), I mean it must be a Geographic Coordinate Systems, right? Sorry for that question! Cant test it at the moment, but thanks for all the answers! I guess it depends on how the GPS is configured. If you alert the location of the GPS signal, it should be obvious (-82,41 is obviously WGS84, etc..)
... View more
02-17-2012
10:38 AM
|
0
|
0
|
1486
|
|
POST
|
now i tryed to convert the coordinates, but i got the error (Fehler: _19.spatialReference is undefined).
var gsvc = new esri.tasks.GeometryService("http://www.rakmaps.com/ArcGIS/rest/services/Geometry/GeometryServer");
var pt = new esri.geometry.Point(location.coords.longitude, location.coords.latitude);
var outSR = new esri.SpatialReference({ wkid: 32640 });
// alert(outSR);
gsvc.project([ pt ], outSR, function(projectedPoints) {
alert("test");
pt = projectedPoints[0];
});
if (!posGraphic) {
addGraphic(pt);
} else { //move the graphic if it already exists
posGraphic.setGeometry(pt);
}
map.centerAndZoom(pt, 3);
i'm not sure if i'm on the right way. Does this make sense? Or is my initialExtent wrong. Thank you for your reply When you create your point, you need to specify the SOURCE SR http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/point.htm#PointConst1 so var pt = new esri.geometry.Point(location.coords.longitude, location.coords.latitude, new esri.SpatialReference({ wkid: 4236 })); or whatever the Geolocation coordinate system is.
... View more
02-17-2012
06:55 AM
|
0
|
0
|
1486
|
|
POST
|
I'm happy to hear this. Animation for animation's sake usually isn't a good idea. Unless you have customers who absolutely demand it, you probably shouldn't do animated/pulsing map symbols. This ^^^^^ We still use a pulsing symbol, but on the polygon not the centroid. Plus it is disable-able with a cookie that remembers the preference. We needed to keep it for situations where there is a large selection (say 10 polygons) but the info popup only relates to one of them.
... View more
02-17-2012
05:46 AM
|
0
|
0
|
2139
|
|
POST
|
Just a side note. We had a blinking location on our maps. The overwhelming comment was "How do i turn the &()&*(^_(^ heartbeat off" People, overwhelmingly , HATED it.
... View more
02-17-2012
03:47 AM
|
0
|
0
|
2139
|
|
POST
|
Yep, we use Netbeans. Since there is no code assist available for the API, doesnt really matter what you use.
... View more
02-15-2012
04:56 AM
|
0
|
0
|
1739
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|