|
POST
|
maybe i'm missing something, but wouldn't it be a lot easier to use our World Geocoding Service for this?
... View more
01-10-2014
12:39 PM
|
0
|
0
|
2115
|
|
POST
|
i adapted this sample to use urlUtils.addProxyRule() and didn't have any trouble POSTing the circle geometry to query for points. //esriConfig.defaults.io.proxyUrl = "/proxy/";
urlUtils.addProxyRule({
urlPrefix: "sampleserver1.arcgisonline.com",
proxyUrl: "/proxy/"
}); [ATTACH=CONFIG]30410[/ATTACH] can you provide your own simplified sample demonstrating the problem?
... View more
01-10-2014
12:29 PM
|
0
|
0
|
1169
|
|
POST
|
in the printWidget constructor, 'async' is set to 'false' by default. you can see this is the case by inspecting the web traffic launched when issuing a print request and confirming that the 'execute' operation is called (as opposed to 'submitJob'). something else must be going wrong on your side. do you have a valid proxy referenced in your application? can you post a simplified repro case (perhaps using jsfiddle)?
... View more
01-08-2014
06:46 AM
|
0
|
0
|
3708
|
|
POST
|
@ganesh, just a guess, but possibly the operation supported by your actual service (either 'execute' if the service is synchronous and 'submitJob' if asynchronous) doesn't match the operation which is being called from the application itself. if this is the case, you could set the 'async' property in the options of the Print Widget constructor as appropriate.
... View more
01-06-2014
08:12 AM
|
0
|
0
|
1627
|
|
POST
|
@benjamin the download is not available yet, but you can find the hosted version of 3.8 is already available for testing http://js.arcgis.com/3.8/
... View more
12-27-2013
11:37 AM
|
0
|
0
|
2241
|
|
POST
|
since you are using a raw WGS84 tiled map service rather than one in the more traditional Web Mercator projection, there is no need to reproject your WGS84 coordinates prior to adding them to the map. //create a WGS84 geometry var pt = new esri.geometry.Point(x, y, new esri.SpatialReference({wkid: 4326})); //because our tiled map service is 4326, we can add our new point directly to the map var wm = esri.geometry.geographicToWebMercator(pt); var graphic = new esri.Graphic(pt //... ...
... View more
12-26-2013
07:28 AM
|
0
|
0
|
1315
|
|
POST
|
just to clarify. the World Topo Map is one of the few tiled map services that i know of that actually exposes a few underlying layers to operations like Identify: http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/identify?geometryType=esriGeometryPoint&geometry=-117,34&sr=4326&layers=&time=&layerTimeOptions=&layerdefs=&tolerance=3&mapExtent=-13419896.181968385,3741133.9123886316,-12717898.514197363,4243783.810391926&imageDisplay=500,500,96&returnGeometry=true&maxAllowableOffset=&f=HTML [ATTACH=CONFIG]30076[/ATTACH]
... View more
12-23-2013
06:59 AM
|
0
|
0
|
4273
|
|
POST
|
yusuke, thanks for finding this fix. i have submitted a pull request to the repro on your behalf so that the change can be incorporated into the AGOL template in a future update. https://github.com/Esri/basic-viewer-template/pull/1 you could even do this yourself next time if you wanted. thanks again!
... View more
12-19-2013
12:59 PM
|
0
|
0
|
2800
|
|
POST
|
dave, glad to hear you have what you need. i agree with most of your comments with the exception of renaming the application registration process to call it 'OAuth Credential Generator'. while this is certainly true in your case, other people are writing apps that ask users to sign in to access subscription/secure content, and using a different OAuth technique to broker the authentication. either way, thanks for taking the time to convey what you learned back in this thread. it will certainly be helpful info for others.
... View more
12-16-2013
07:44 AM
|
0
|
0
|
1507
|
|
POST
|
hi dave, Is it possible to pass our AGOL credentials so public users will never have to log-in? its definitely possible to authenticate on behalf of end users to access subscription services so no one has to sign in when they use your app i haven't worked with the EsriCanada proxy specifically but ill try and breakdown the issues in play. Do I need to hardcode my AGOL username / password somewhere? there are several options. 1. you can store a hardcoded token in any old proxy and make sure to update it every two weeks 2. you can store a username, password and referrer and generate a user token on the fly 3. you can register your app with ArcGIS Online and store the appid and appsecret in your proxy so that the app itself can request a token and be charged credits directly. What do I use for the referer? the referrer you should be using is the url of your app, because requests from your app to route.arcgis.com will include this referrer to explain to the service where the request originated.
... View more
12-13-2013
07:16 AM
|
0
|
0
|
1507
|
|
POST
|
you are correct, graphics layers always draw on top of tiled/dynamic layers in the Esri JavaScript API http://gis.stackexchange.com/questions/20429/arcgis-javascript-api-a-way-to-position-dynamic-service-layer-on-top-of-graphic
... View more
12-12-2013
08:58 AM
|
0
|
0
|
1812
|
|
POST
|
no worries at all. i keep the closest eye on our JavaScript API forum, but i see the logic in posting here as well.
... View more
12-10-2013
07:40 AM
|
0
|
0
|
1019
|
|
POST
|
esri-leaflet doesn't support token secured services, but i know its on the radar for the future.
... View more
12-10-2013
07:28 AM
|
0
|
0
|
1019
|
|
POST
|
yeah, we'll have to correct the doc for the on style click event.
... View more
12-02-2013
08:26 AM
|
0
|
0
|
3243
|
| 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
|