|
POST
|
welcome to our forum! i'm not quite sure i understand your question. in your post you have supplied to code examples. the first loads an Esri WGS84 tiled basemap as an ArcGISTiledMapServiceLayer after the map object has been instantiated. the second specifies on of our default Web Mercator basemaps in the map constructor itself (which is actually just a shortcut to load a different specific ArcGISTiledMapServiceLayer immediately when the map loads. if you need a basemap in any JavaScript application you write, you are responsible for using one of the techniques above to add it to the map. hope that helps!
... View more
03-06-2014
08:34 AM
|
0
|
0
|
1474
|
|
POST
|
glad to hear you're sorted out Gary. please consider marking this thread as 'answered'.
... View more
03-04-2014
09:11 AM
|
0
|
0
|
1519
|
|
POST
|
Bill, this is unfortunately still considered a known limit. i went ahead and logged an issue requesting that it be revisited in the future on your behalf. [NIM099543: Add support for transparency in color's alpha value when printing feature layers.] sorry for the inconvenience.
... View more
03-04-2014
07:50 AM
|
0
|
0
|
2967
|
|
POST
|
i was able to add the lines below and confirm things were working in this sample identifyParams.layerDefinitions = []; identifyParams.layerDefinitions[2] = "OBJECTID > 0"; is your own service public?
... View more
03-03-2014
01:53 PM
|
0
|
0
|
1519
|
|
POST
|
hi dorothy, just a gentle reminder that our sample servers are not meant to be utilized in production applications and that individual services may go down temporarily or be moved/deleted permanently without notice. our newest generation producation elevation service doesn't burn credits, but requires an ArcGIS Organizational login to utilize. please check out the sample I provided in this forum thread to see how it works.
... View more
03-03-2014
08:16 AM
|
0
|
0
|
2017
|
|
POST
|
actually, it looks like the identifyParameters for that image service are a fair amount different than what we see for map services. i took the time to write up a sample which uses esriRequest to gather the info you're looking for. you'll have to sign in when running it in jsfiddle, but the same code could utilize a proxy on your own web server. let me know if i can be of any more help.
... View more
02-26-2014
11:55 AM
|
0
|
0
|
1406
|
|
POST
|
tammy, apparently the appropriate replacement service can actually be found here. its my understanding that even though the service requires an ArcGIS Online subscription (which is now included with the purchase of ArcGIS Desktop automatically) it doesn't actually burn credits. as a developer, what this means to you is that you'll have to authenticate on behalf of end users to access the content if you don't want anyone to have to sign in. this would entail setting up our new resource-proxy and either registering your app or storing hardcoded user credentials and routing traffic to the elevation service through your proxy. this is similar to what you'd do if you were interested in using other Esri services like traffic, batch geocoding or routing.
... View more
02-26-2014
07:53 AM
|
0
|
0
|
1406
|
|
POST
|
hi tammy, it looks like this has been documented. im not sure of the reason for the change. i know we have more robust elevation services in beta, but that seems a bit overkill compared to what you were doing before.
... View more
02-25-2014
01:54 PM
|
0
|
0
|
4211
|
|
POST
|
good catch tim. in the console, an uncaught exception was being thrown when trying to call grid.getItem() because 'grid' was not defined. comparing back to the original sample, i could see that we need to dig into the object returned by the event itself for our grid, so: var clickedTaxLotId = grid.getItem(evt.rowIndex).PARCELID;
//needs to be
var clickedTaxLotId = evt.grid.getItem(evt.rowIndex).PARCELID; sorry about that, not sure how i missed it the first time.
... View more
02-25-2014
01:38 PM
|
0
|
0
|
975
|
|
POST
|
perhaps because http://tasks.arcgisonline.com routing services were retired the other day?
... View more
02-14-2014
07:57 AM
|
0
|
0
|
1531
|
|
POST
|
here's a working fiddle of the original published sample AMD, new route task, and promise-ified. we'll be updating the live sample in the resource center shortly as well.
... View more
02-13-2014
11:15 AM
|
0
|
0
|
1531
|
|
POST
|
i actually rewrote this the other day. http://jsfiddle.net/jagravois/s5Y83/ we'll be updating the live sample at some point too.
... View more
02-13-2014
11:10 AM
|
0
|
0
|
975
|
|
POST
|
since the locator task itself already returns a Dojo.deferred (and because a promise is a property of that class), switching to promises would look like this: require(["dojo/promise/all"...
...
var fromAddress = locator.addressToLocations(optionsFrom);
...
all([fromAddress.promise, toAddress.promise]).then(configureRoute);
... View more
02-13-2014
07:34 AM
|
0
|
0
|
1531
|
|
POST
|
Martin, it looks like there are already plans for this to be included in a future release. https://github.com/driskull/arcgis-d...Button.js#L286
... View more
02-12-2014
10:48 AM
|
0
|
2
|
1703
|
| 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
|