|
POST
|
Hi Ekaitz, I think I understand what you're saying. The issue is that you are comparing default Esri map basemaps from the JavaScript API to basemaps from ArcGIS.com. Using the map constructor, valid basemap options from the JavaScript API are: "streets" , "satellite" , "hybrid", "topo", "gray", "oceans", "national-geographic", "osm". These are the default Esri basemaps that the JavaScript API can access and return. The Basemap gallery sample uses the: "BasemapGallery widget to update the map's basemap. This widget presents a gallery of base maps that can be user-defined or generated by a query from ArcGIS.com. In this snippet a new BasemapGallery widget is created that contains basemaps from ArcGIS.com". Thus, these basemaps may not have the same name as the basemaps from the map constructor. If you look at the Basemap Toggle sample, you can see that the "map.getBasemap()" method returns the actual name of the current basemap when you switch between them. That being the case, you have several options moving forward, depending on what you wish to accomplish. You could create your own custom basemaps, and call them whatever you want. You could use the Esri basemaps that the JavaScript API can access and return in a basemap gallery dijit or basemap toggle dijit style, and have the names be the same there as they are in the map constructor. -Noah
... View more
01-22-2014
06:51 AM
|
0
|
0
|
1114
|
|
POST
|
Hmm, is the URL of the raster dataset publicy accessible? Looking at the Geoprocessing with result map service sample, it looks like raster data can be included in a legend.
... View more
01-21-2014
02:36 PM
|
0
|
0
|
2609
|
|
POST
|
Alright then. And what happens if you swap in your service into a different sample, like the Legend sample? Can you see the Legend now?
... View more
01-21-2014
01:03 PM
|
0
|
0
|
2609
|
|
POST
|
Hmm, if you try a different map service, does that work any better? Try a different Esri service, and then a different internal one that you (or the client) host (if possible). Just checked the service you indicated, and it appears to be functional.
... View more
01-21-2014
12:56 PM
|
0
|
0
|
940
|
|
POST
|
Hi Peter, Not sure exactly, but one good thing to check would be the Legend in the Map Service at REST. The soil survey sample you indicated has a legend that is visible at REST. Is this the same for your raster dataset? -Noah
... View more
01-21-2014
12:52 PM
|
0
|
0
|
2609
|
|
POST
|
Hi Ekaitz, Welcome to Esri Forum! Thank you for posting your question here. I looked at our Basemap gallery sample, and you are correct, the map.getBasemap() returns the same basemap that the map was initialized with (e.g. "topo"). I think what you need to do to return the basemap from the basemap gallery widget is to use the getSelected() method. Here is a code snippet that should work for that.
dojo.connect(basemapGallery,"onSelectionChange",function(){
var basemap = basemapGallery.getSelected();
alert(basemap.title);
});
Hope this helps! -Noah
... View more
01-21-2014
06:23 AM
|
0
|
0
|
1114
|
|
POST
|
Hi Joong, 1) You can register maps to ArcGIS Server by publishing them as a service. Here is a link to documentation about how to publish a service. 2) There are a couple ways that you can register data, or a file gdb, with ArcGIS Server. Here is a link to documentation about registering your data with the server. 3) Editing depends on how you allow access to your services, and if you are working with a feature service, which will allow edits to be made and saved. Here is a link to documentation about working with services you've published. Spend some time with the documentation and the tutorials that come with ArcMap, they are very useful. Hope this helps! -Noah
... View more
01-16-2014
07:00 AM
|
0
|
0
|
637
|
|
POST
|
Sorry you had trouble with this Archie. I'd try: 1) sign-up for a free ArcGIS for Developers account 2) then go to the ArcGIS Runtime SDK for iOS page and try to download the SDK again 3) then login to your account when prompted See if this method helps. -Noah
... View more
01-16-2014
05:54 AM
|
0
|
0
|
618
|
|
POST
|
Hi Craig, I haven't used that app before, but I would check the references to the service fields in the application's config.js file. There may be an issue with the field names. -Noah
... View more
01-16-2014
05:43 AM
|
0
|
0
|
1335
|
|
POST
|
My gut reaction to your code is that you are trying to apply edits to a map service feature layer. I don't think this is possible. You need to use a feature service feature layer to apply edits. If you go to REST and look at the Supported Operations, only the feature service feature layer will have the option of Apply Edits. Does this help?
... View more
01-15-2014
01:13 PM
|
0
|
0
|
5204
|
|
POST
|
Hello Virginie, and welcome to Esri Forums! It is possible to use the Home button with a webmap. I found a small syntax error in the code you posted, but here is a slightly modified version, see if it works for you. -Noah
... View more
01-15-2014
06:47 AM
|
0
|
0
|
926
|
|
POST
|
Hmm, hard to say. If you are able, feel free to post a sample app that exhibits this behavior. Alternatively, have you looked through our editing samples for examples of a similar workflow? Edit without editor widget sample
... View more
01-14-2014
12:44 PM
|
0
|
0
|
5204
|
|
POST
|
Do you see any error message in Fiddler with the POST request through the proxy? Or are you just getting unexpected results?
... View more
01-14-2014
12:32 PM
|
0
|
0
|
5204
|
|
POST
|
Just downloaded the latest version of Opera, and the slider seems fine. Version: 18.0.1284.68 Update stream: Stable System: Windows 7 64-bit (WoW64) [ATTACH=CONFIG]30503[/ATTACH]
... View more
01-14-2014
12:30 PM
|
0
|
0
|
1433
|
|
POST
|
Hi Dave, Does the POST request work without the proxy? I would suggest you watch the web traffic when you make GET and POST requests to see what parameters you are passing (make sure these are valid) and what the error message is. -Noah
... View more
01-14-2014
11:56 AM
|
0
|
0
|
5204
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 11:59 AM | |
| 1 | 05-13-2026 10:29 AM | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM | |
| 1 | 03-23-2026 09:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|