|
POST
|
correct. if the services themselves are freely accessible, you won't have to worry about authenticating to ArcGIS Server.
... View more
03-26-2013
03:56 PM
|
0
|
0
|
1688
|
|
POST
|
if you don't have security enabled for ArcGIS Server, what resource would require authentication from a client?
... View more
03-26-2013
11:02 AM
|
0
|
0
|
1688
|
|
POST
|
you'll definitely need to update the WKID to buffer in a coordinate system that is appropriate for Rio de Janiero (like WGS_1984_UTM_Zone_23S (WKID 32723)) in order to get valid results.
... View more
03-25-2013
11:01 AM
|
0
|
0
|
856
|
|
POST
|
i was suggesting that you test using our own sample secured service first. in this application the token is not stored in the application or in a proxy, but rather allows you to authenticate onLoad of the application by passing the credentials user1/user1. first try printing our sample service, then switch to your own secure service (and after that, your own print service)
... View more
03-22-2013
12:52 PM
|
0
|
0
|
869
|
|
POST
|
not sure why you responded to this thread then, but ok.... you can use the same sample app to test sending a print request without making a selection on the layer.
... View more
03-22-2013
12:19 PM
|
0
|
0
|
2591
|
|
POST
|
even with the OOTB sample server 6 print service, i can't reproduce the error anymore in this sample app... (update the proxy reference and use the identity manager to login with the credentials user1/user1) hopefully, after you confirm that the same works on your end you can work backwards to see whether its your featureLayer or your print service.
... View more
03-22-2013
12:10 PM
|
0
|
0
|
2591
|
|
POST
|
nice work! thanks for taking the time to outline the approach.
... View more
03-22-2013
10:15 AM
|
0
|
0
|
1806
|
|
POST
|
have you followed these instructions to publish a print service specifically for secure content?
... View more
03-22-2013
09:50 AM
|
0
|
0
|
2591
|
|
POST
|
try this... function init() { var options = { basemap : "gray", center : [115.246, 5.25803], zoom : 11 }; // Create map map = new esri.Map("mapDiv", options); var p1 = new esri.geometry.Point(115.246, 5.25803); var p2 = new esri.geometry.Point(115.2462, 5.22964); var line = new esri.geometry.Polyline(); line.addPath([p1, p2]); var pointSym = new esri.symbol.SimpleMarkerSymbol(); var lineSym = new esri.symbol.SimpleLineSymbol().setColor(new dojo.Color("blue")); var infoTemplate = new esri.InfoTemplate("title","content"); var gLayer = new esri.layers.GraphicsLayer({ "id" : "scratch" }); // create a graphic var pt1Graphic = new esri.Graphic(p1, pointSym); var pt2Graphic = new esri.Graphic(p2, pointSym); pt1Graphic.setInfoTemplate(infoTemplate); pt2Graphic.setInfoTemplate(infoTemplate) var lineGraphic = new esri.Graphic(line, lineSym); // add it to the graphics layer gLayer.add(lineGraphic); gLayer.add(pt1Graphic); gLayer.add(pt2Graphic); // add the graphics layer to the map map.addLayer(gLayer); }
... View more
03-21-2013
03:36 PM
|
0
|
0
|
4335
|
|
POST
|
i take that back. derek used a web mercator basemap in his sample as well, so there must be something else going on.
... View more
03-21-2013
12:07 PM
|
0
|
0
|
3309
|
|
POST
|
since the coordinates of your polyline are in a different coordinate system than the Web Mercator basemap, you will have to specify the spatial reference of the polyline explicitly. this is a little confusing, because the map constructor option "center" will translate latitude and longitude to web mercator values automatically, but the polyline object does not. new esri.geometry.Polyline(new esri.SpatialReference({wkid:4326}));
... View more
03-21-2013
11:56 AM
|
0
|
0
|
3309
|
|
POST
|
in the sample you just linked to, none of the geometries which represent the paths of hurricanes are written into the code of the web application. rather, they are retrieved from a running map service based on the time extent.
... View more
03-21-2013
09:37 AM
|
0
|
0
|
3309
|
|
POST
|
NIM080359 was not acknowledged as a valid bug by our development team. They explained that a dijit.layout.BorderContainer or a dijit.layout.ContentPane can be used to position the map with absolute values and provided the following application as an example of a viable approach to resolve the error.
... View more
03-21-2013
08:29 AM
|
0
|
1
|
2265
|
|
POST
|
NIM080359 was not acknowledged as a valid bug by our development team. They explained that a dijit.layout.BorderContainer or a dijit.layout.ContentPane can be used to position the map with absolute values and provided the following application as an example of a viable approach to resolve the error.
... View more
03-21-2013
08:28 AM
|
0
|
0
|
1663
|
| 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
|