|
POST
|
Hi Ben, Sounds intriguing. I'm not 100% sure what the issue is, but I have a couple of ideas of things to look at and think about. 1) Is the URL of the application publicly accessible? It would be neat if you could share that here. 2) Are you using a proxy? If so, verify that the proxy is working properly. 3) What happens if you change the initial zoom level in the code when the application loads? 4) What is different between the dev and deployment environments? Hope this helps, -Noah
... View more
02-12-2014
01:44 PM
|
0
|
0
|
728
|
|
POST
|
If anyone else is curious, there is a new knowledge base technical article covering this topic: HowTo: Consume open source (WMS and WMTS) services with the ArcGIS Runtime SDK for iOS
... View more
01-23-2014
07:05 AM
|
0
|
0
|
1279
|
|
POST
|
Hi Brett, We have some JavaScript documentation about working with WMS layers, and a couple of samples that demonstrate the ability. I'd say give these resources a shot and post back here if you run into any issues. -Noah
... View more
01-22-2014
10:07 AM
|
0
|
0
|
5219
|
|
POST
|
Hi Ekaitz, When I sign-in to ArcGIS Online and try to access the item, I get this error: [ATTACH=CONFIG]30713[/ATTACH] I think the issue is that the item is not shared or publicly accessible. Please check your settings. Is this a webmap or a web application? Can you view it without signing-in to ArcGIS Online? If I add "?f=json" to the end of your URL, I see this: [ATTACH=CONFIG]30714[/ATTACH] It seems to be accessible to the public, but I still feel there is something not working with it if I cannot access it either. After checking your settings, I would also try publishing the item again. -Noah
... View more
01-22-2014
07:46 AM
|
0
|
0
|
1330
|
|
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
|
1122
|
|
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
|
2620
|
|
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
|
2620
|
|
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
|
954
|
|
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
|
2620
|
|
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
|
1122
|
|
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
|
642
|
|
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
|
626
|
|
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
|
1353
|
|
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
|
5249
|
| 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 |
Friday
|