POST
|
Mike, I've just run into this myself. While your solution looks like it will work for me, you mention that this was on the roadmap for the runtime sdk. As it's been a couple years since this post, I was wondering what the current status of this is? Thanks, -Chris
... View more
04-03-2015
11:53 AM
|
0
|
1
|
826
|
POST
|
In Blend, in the tree view, you can hide the initialization element "LoadingOverlay" by clicking on the "Eye" icon to the right of the name, next to the lock. This only toggles the design-time visibility of the element, then you can see what's "Under" it. In VS - I just use the XAML view anyway, so it doesn't matter. -Chris Pyle
... View more
02-07-2012
11:53 AM
|
0
|
0
|
143
|
POST
|
I figured it out - just needed another cup of coffe I guess. The MapPrintingControls.dll also needed a reference to System.Windows.Controls.Toolkit - including it in the XAP build and ignoring the upload warning on the duplicate assemblies fixed it, must be a slightly different version of the Toolkit, which makes sense. -Chris
... View more
02-01-2012
07:03 AM
|
0
|
0
|
142
|
POST
|
Hi all, First off, just want to say I like the design & flexibility of the viewer. I've successfully created a few simple add-ins following the extensibility samples so far w/out problems. However, I just took the MapPrinting control developed by Dominique Broux (http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3) and put it into an addin - it works great in my local Visual Studio environment, but once I compile the XAP and upload it into Builder, the new tool doesn't show up in the list of addin tools. No errors are thrown, but the tool simply doesn't show up. If I manually add the tool to a generated App's Tools.xml configuration on the server, no errors are thrown, and the tool just doesn't load. I'm guessing that since it references the MapPrintingControls.dll, that might have something to do with it - as that's about the only difference I can see between this tool and the others I've done that show up in the builder successfully. I've checked the references, and the "Copy Local" is set to true, and if I open up the XAP file that I upload to the Builder, I can see the referenced dll is included in it. Anyway, I've run out of ideas for the moment, if anyone can suggest anything else to check, I'd appreciate it. Does the Builder have any logs that might provide clues? Thanks, -Chris Pyle, San Diego Data Processing
... View more
02-01-2012
04:54 AM
|
0
|
1
|
439
|
POST
|
Is it possible to use the ArcGIS.com javascript templates w/out ArcGIS.com hosted maps? We're trying to edit a feature service that's on our intranet, and so it is not accessible via ArcGIS.com. I've seen how to add a map definition using JSON instead of just a mapID. I've been able to load a map hosted on Arcgis.com via the JSON definitition, but when I try to point to our internal services, the map fails to initialize. When initializing, the layer objects under each map layer are all undefined. So, using the Editor_Chrome template, this works to define the ConfigOptions.webmap:
var webmap = {}; webmap.item = { "title": "Soil Survey Map of USA", "snippet": "Detailed description of data", "extent": [[-139.4916, 10.7191], [-52.392, 59.5199]] };
webmap.itemData = { "operationalLayers": [{
"url": "http://server.arcgisonline.com/ArcGIS/rest/services/Specialty/Soil_Survey_Map/MapServer",
"visibility": true,
"opacity": 0.75,
"title": "Soil Survey Map",
"itemId": "204d94c9b1374de9a21574c9efa31164"
}],
"baseMap": {
"baseMapLayers": [{
"opacity": 1,
"visibility": true,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer"
}, {
"isReference": true,
"opacity": 1,
"visibility": true,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer"
}],
"title": "World_Terrain_Base"
},
"version": "1.1" };
But this does not:
var webmap = {}; webmap.item = {
"title": "San Diego Special Events",
"snippet": "Special Events Locations",
"extent": [[6171671, 1760860], [6621931, 2102353]] };
webmap.itemData = { "operationalLayers": [{
"url": "http://vmgisprod3/ArcGIS/rest/services/SEPS_Edit/FeatureServer",
"visibility": true,
"opacity": 1,
"title": "Special Events Map",
"itemId": "204d94c9b1374de9a21574c9efa31164"
}],
"baseMap": {
"baseMapLayers": [{
"opacity": 1,
"visibility": true,
"url": "http://citymaps.sannet.gov/ArcGIS/rest/services/SanGIS_Basemap/MapServer"
}, {
"isReference": true,
"opacity": 1,
"visibility": true,
"url": "http://citymaps.sannet.gov/ArcGIS/rest/services/SanGIS_Basemap/MapServer"
}],
"title": "San Diego Basemap"
},
"version": "1.1"
};
Is there a definition of the JSON webmap syntax somewhere that might give me a clue? Thanks, -Chris
... View more
11-17-2011
01:46 PM
|
1
|
19
|
7506
|
Title | Kudos | Posted |
---|---|---|
1 | 11-17-2011 01:46 PM |
Online Status |
Offline
|
Date Last Visited |
03-10-2022
01:46 PM
|