POST
|
Did you ever get this problem resolved? I'm having the same issue.
... View more
12-12-2011
11:02 AM
|
0
|
0
|
793
|
POST
|
Not sure what the problem is. I'm able to reach the site with no problems from outside of our network. Maybe our server was having problems? Here is some of the relevant code:
initViewer: function(llPoint){
// summary:
//
// mapPoint: esri.geometry.Point
// In UTM
console.log(this.declaredClass + "::" + arguments.callee.nom, arguments);
var svPoint = new google.maps.LatLng(llPoint.y, llPoint.x);
var panoramaOptions = {
position: svPoint,
pov: {
heading: 0,
pitch: 0,
zoom: 1
}
};
this.panorama = new google.maps.StreetViewPanorama(dojo.byId("streetview-container-inner"), panoramaOptions);
this.svService = new google.maps.StreetViewService();
this.validateLocation(svPoint);
this.wireEvents();
},
repositionViewer: function(llPoint){
// summary:
// Points the viewer to a new position after the user clicks on the map
// llPoint: esri.geometry.Point projected to lat long
console.log(this.declaredClass + "::" + arguments.callee.nom, arguments);
var svPoint = new google.maps.LatLng(llPoint.y, llPoint.x);
this.panorama.setPosition(svPoint);
this.validateLocation(svPoint);
},
onPovChanged: function(){
// summary:
// Fires when the point of view of the streetview viewer is changed.
// Updates the graphic's orientation.
//console.log(this.declaredClass + "::" + arguments.callee.nom, arguments);
var symbol = this.graphic.symbol.setAngle(this.panorama.getPov().heading);
this.graphic.setSymbol(symbol);
},
validateLocation: function(pnt){
// summary:
// Checks to make sure that there is a valid panorama for the location
// pnt: google.maps.LatLng
console.log(this.declaredClass + "::" + arguments.callee.nom, arguments);
this.svService.getPanoramaByLocation(pnt, 50, function(data, status){
if (status != "OK"){
dojo.style("no-data-message", "display", "block");
} else {
dojo.style("no-data-message", "display", "none");
}
});
},
... View more
06-20-2011
05:12 AM
|
0
|
0
|
1198
|
POST
|
I've been able to do it in a current project that I'm working on. Please be aware that this is still under development. http://uplan.utah.gov
... View more
06-17-2011
06:31 AM
|
0
|
0
|
1198
|
POST
|
onZoomStart and onZoomEnd fixed the problem for me. Thanks, mapstar!
... View more
04-18-2011
01:53 PM
|
0
|
0
|
1384
|
POST
|
I'm a big fan of Aptana Studio. The new version 3 looks very good. For WYSIWYG you could try http://maqetta.org/.
... View more
04-18-2011
04:52 AM
|
0
|
0
|
480
|
POST
|
I have been told that a native print service will come at 10.1.
... View more
03-25-2011
03:57 PM
|
0
|
0
|
303
|
POST
|
I have a map service with a layer that is joined to an external SDE database. When I try to perform a query through the services directory I get the error message, "Unable to perform query. Please check your parameters." The server logs two error messages, "General GeoDatabase Error." & "Method failed.HRESULT = 0x80070057 : The parameter is incorrect. ." Here is my test: http://172.16.17.48/ArcGIS/rest/services/OilGasMining/MapServer/0/query?text=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&where=COMPANY_NAME+%3D+'BILL+BARRETT+CORP'&returnGeometry=true&outSR=&outFields=&f=html Just wondering if anyone else has had this problem.
... View more
02-09-2011
01:53 PM
|
0
|
3
|
2702
|
POST
|
I have a map service that has a layer within it that is joined to an outside (non-sde) SQL Server database. On our development server it works fine. But on one of our production servers when I try to run an IdentifyTask against it I get a 30 second delay. I've had our network guy do a trace on the process and he can see the request from my web app hit our server immediately, but then there is a 30 second delay (exactly the same time consistently) before our server makes the request to the joined SQL server and then returns the data back to my web app. Just wondering if anyone else has run into the same problem.
... View more
02-09-2011
11:42 AM
|
0
|
1
|
573
|
POST
|
I'm also experiencing the same problem with the JavaScript API. Did either of you ever figure this out?
... View more
02-08-2011
08:40 AM
|
0
|
0
|
691
|
POST
|
Is there anyway of getting your code for your printing solution on the map viewer on arcgis.com? It seems to work really well and I would love to incorporate it into my jsapi applications. Thanks!
... View more
12-01-2010
04:41 AM
|
0
|
1
|
394
|
POST
|
Just wondering what the best solution is for printing when using the JS API. I've seen a few options: http://www.arcgis.com/home/item.html?id=0a16abeca1d84ebda02efa4d0f1e0470 http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&scriptID=16092 http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&scriptID=16432 But I haven't found any clear winners yet. Anyone having success with these? What about the code for the Print button on the arcgis.com map application. Would ESRI be willing to share?
... View more
11-23-2010
04:50 AM
|
0
|
2
|
696
|
POST
|
Did you guys ever figure this out? We are trying to do the same thing.
... View more
10-27-2010
05:23 AM
|
0
|
0
|
258
|
POST
|
Thanks, Scott. I will give this a try. Do you know if this is an inherent problem with cached map services and IE8? I don't know. I've had very inconsistent results per machine when trying to debug IE.
... View more
10-19-2010
09:24 AM
|
0
|
0
|
405
|
POST
|
You can force IE8 to use compatibility mode with the following meta tag: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <!-- use compatibility mode in IE 8-->
... View more
10-13-2010
01:53 PM
|
0
|
0
|
405
|
POST
|
Just so I'm understanding you correctly, you tested the Dynamic Text feature with ArcView, right? That's correct.
... View more
10-12-2010
08:57 AM
|
0
|
0
|
874
|
Title | Kudos | Posted |
---|---|---|
1 | 06-21-2016 12:21 PM | |
28 | 04-09-2020 09:20 AM | |
1 | 06-13-2017 06:31 AM | |
1 | 09-20-2018 01:55 PM | |
5 | 01-04-2016 12:17 PM |
Online Status |
Offline
|
Date Last Visited |
02-24-2024
02:27 PM
|