CustomArcGISService

Topics: General
Dec 28, 2012 at 8:38 PM

I'm looking at the 'hot' build and see that CustomArcGISService has been removed. Is this planned to come back at all, or do any custom map providers have to be completed hard coded now?

Coordinator
Jan 7, 2013 at 10:30 AM

in what version it was? You can use whatever provider custom or not without rebuilding

Jan 10, 2013 at 4:13 PM

This was in the latest hot build. In the stable build you had a map type available - Custom_Arcgis_Service. You could specify the URL, projection, authenticaiton etc.

In the 'hot build' this custom map type is no longer available, just all the predefined ArcGIS maptypes (for ex ArcGIS_Imagery_World2D_Map).

So to access some custom GIS server, do we need to create a new class inheriting from one of the existing ArcGIS base providers, or is there some way similar to the stable build to just specify a custom URL etc?

Coordinator
Jan 10, 2013 at 5:03 PM

somehow i don't found it, which file exactly?

Jan 14, 2013 at 6:52 PM

I'm sorry, I'm workign on a project that someone else had started... I think the 'CustomArcGisService' is something they had added. I had assumed it was part of the original source...!

In any case, using the hot build how would you specify a custom arc GIS service at run time? If you have a URL and a projection type...?

Coordinator
Jan 14, 2013 at 7:19 PM

map.MapProvider = new CustomArcGisService();

Jan 15, 2013 at 6:17 PM

Sorry, I guess I'm not being clear. Forget about 'customarcgisservice' for a second.

In the GMaps demo all the map providers are hard coded. The servers they talk to, providers they use etc. Is it possible to create an ArcGIS provider at runtime, based on some inputs from a user (such as server address, projection used etc)?

For example, this server:

http://webmaps.gurnee.il.us:6080/arcgis/rest/services/2010_Aerial/MapServer

Or would a specific provider class for that particular server have to be created ahead of time?

 

Coordinator
Jan 15, 2013 at 6:27 PM

you can try make it dynamic, but thats even more hard to do ;}

Jan 23, 2013 at 1:22 AM

Ok right... so currently 'dynamic' creation of an ArcGis provider at run time isn't supported. Are there any plans to add something like that?

Or even some way to script the provider details? Seems like anyone we talk to has a different ArcGIS configuration, so supporting all the possibilities is a nightmare.

Coordinator
Jan 23, 2013 at 9:39 AM

exactly ;}