|
POST
|
use query layer http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_is_a_query_layer/00s50000000n000000/ http://blogs.esri.com/Dev/blogs/geodatabase/archive/2010/04/14/Query-Layers-_4000_-ArcGIS-10.aspx
... View more
06-20-2010
09:11 AM
|
0
|
0
|
595
|
|
POST
|
see http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Designing_a_map_to_overlay_ArcGIS_Online_services_Google_Maps_and_Bing_Maps/009300001571000000/
... View more
06-18-2010
01:36 AM
|
0
|
0
|
454
|
|
POST
|
I have made this custom utility from print to server http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&scriptID=16934 You can simply it creating images using rest calling ExportImage client-side (http://services.arcgisonline.com/ArcGIS/SDK/REST/exportimage.html). It return url. you use this code http://rexdotnet.blogspot.com/2009/11/using-arcgis-server-rest-api-in-net.html for call rest from client. then send urls image to ws for custom utility and in custom utility edit code and create world file :
ESRI.ArcGIS.Carto.IRasterLayer rasterLayer = new ESRI.ArcGIS.Carto.RasterLayerClass();
rasterLayer .CreateFromFilePath(physicalpathimagegeneratefromexportimage);
templateMap.AddLayer((ILayer)rasterLayer);
... View more
06-16-2010
07:48 AM
|
0
|
0
|
420
|
|
POST
|
You can create (with 10 version) a rest soe http://proceedings.esri.com/library/userconf/devsummit10/papers/tech/extending_ags_services_using_.net.pdf and on server work with spatial index (every square have list of ids contained) then you try nearest from ids in square.
... View more
06-16-2010
12:52 AM
|
0
|
0
|
787
|
|
POST
|
see http://forums.arcgis.com/threads/4983-ArcGIS-Server-and-Google-Maps-API-v3
... View more
06-14-2010
11:08 PM
|
0
|
0
|
1072
|
|
POST
|
if you are interested I have posted this sample http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&scriptID=16934 for print template mxd you can use: - PrintClient.dll on soc - wsPrintClient (web service wcf) In wsPrintClient you must do edit source code for graphics SL because it's for graphics javascript (if you need it) wsPrintClient is service rest so you create your UI and call your code from sl. if you don't need print template mxd you can use: http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&scriptID=16697 in sl4 you also can use code ( see http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/04/Take-advantage-of-new-Silverlight-4.0-features-in-ArcGIS-Silverlight-API-2.0.aspx ) :
PrintDocument doc = new PrintDocument();
doc.PrintPage += (s, e) => {
e.PageVisual = MyMap;
e.HasMorePages = false;
};
doc.Print("Map");
... View more
06-14-2010
11:00 PM
|
0
|
0
|
397
|
|
POST
|
you try see http://o.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dijit-tree-data-collision-error-help
... View more
06-10-2010
11:51 AM
|
0
|
0
|
724
|
|
POST
|
you can change this sample with: identifyParameters.layerIds = [2]; //layer 2 and in function addResultToMap layers = { "2": [] }; //layer 2
... View more
06-09-2010
10:38 PM
|
0
|
0
|
501
|
|
POST
|
In widgetManager.js -> in onMapLoad setTimeout(dojo.hitch(this, function(){
//add these two rows
var w = this.getWidget("About"); //set label widget
dojo.publish("showWidget", );
.....
}), 1000);
... View more
06-09-2010
12:29 AM
|
0
|
0
|
521
|
|
POST
|
ExtensionManagerClass is a singleton class see http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/interacting_with_singleton_objects/00010000043p000000/ If you have this error is because you yet have a instance ExtensionManagerClass that could be RCW generic System.__ComObject (in your case is so) so you cannot cast 'System.__ComObject' to ExtensionManagerClass and ExtensionManagerClass is a singleton. you can resolve with Type t = Type.GetTypeFromProgID("..."); System.Object obj = Activator.CreateInstance(t);
... View more
06-08-2010
11:54 AM
|
0
|
0
|
461
|
|
POST
|
see all comments in http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&scriptID=15987 you also can see http://resources.geocortex.com/essentials/apis/javascript/samples/build/default/Instructions.html (Update the API Version) so you can run with version 1.6 and I advise use firebug so you can see future problem
... View more
06-07-2010
09:01 AM
|
0
|
0
|
724
|
|
POST
|
for identify see http://forums.esri.com/Thread.asp?c=158&f=2396&t=282905&mc=0 ( http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&scriptID=16085 ) for scalebar see http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&scriptID=16945 for logo you can use about widget in sample viewer
... View more
06-07-2010
08:33 AM
|
0
|
0
|
420
|
|
POST
|
The problem that I say you however there is (cache). I advise you do debug or set message (in source code) in log so you can understand where is the problem. I don't know how help you.
... View more
06-03-2010
04:36 AM
|
0
|
0
|
1038
|
|
POST
|
here there is a wrapper class for finalization com library http://msdn.microsoft.com/en-us/magazine/cc163316.aspx
... View more
06-02-2010
03:05 AM
|
0
|
0
|
1327
|
|
POST
|
I have seen the code of #gis. I think that the problem is here: Layer[] legend = null;
if (context.Cache[soapUrl] != null)
legend = context.Cache[soapUrl] as Layer[];
if(legend == null)
{
legend = LegendGenerator.GetLegend(soapUrl);
context.Cache.Insert(soapUrl, legend, null, System.Web.Caching.Cache.NoAbsoluteExpiration, TimeSpan.FromMinutes(15), System.Web.Caching.CacheItemPriority.AboveNormal, null);
}
if (isJson)
{
GenerateJson(context, legend, isPrettyJson);
} If cache is used until 15 minutes, it uses legend in cache without regenerate legend image. So your 10 minutes can have an interval of 5 minutes without images because they are clean from server! In code should be set value <=MaxFileAge .
... View more
06-01-2010
08:19 AM
|
0
|
0
|
1452
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-20-2024 11:20 AM | |
| 1 | 05-25-2017 10:11 AM | |
| 1 | 06-20-2023 12:09 AM | |
| 1 | 10-14-2022 05:14 AM | |
| 1 | 06-14-2023 02:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-10-2025
05:25 AM
|