This project has moved and is read-only. For the latest updates, please go here.

ArcGis Server /ArcGis online layers

Aug 22, 2010 at 6:50 AM

Does anybody try to use an ArcGis Server or ArcGis Online layers? I notice that there is a EnumBruTileLayer.ESRI type of layer, and I began to practice with it. Any helps or ideas?

Carlos

Aug 22, 2010 at 10:22 AM

Hi,

The process is as follows:

- Create a new command in the commands directory

- In the OnClick event create the new layer with the EnumBruTileLayer.ESRI enum:

BruTileLayer brutileLayer = new BruTileLayer(application, EnumBruTileLayer.ESRI);

brutileLayer.Name =

"ESRI";

This should work for any ArcGIS Server service. In the file ConfigEsri.cs the url to the service is specified.

Aug 23, 2010 at 2:45 AM

Ok, I discovered a bug:

In ConfigEsri.cs: line 44

    string format = "jpeg";

And when theh library generate the pictures generate something like 31.jpeg and another file called 31 that ArcMap doesn´t recognize. I replace with

    string format = "jpg";

and everithing works. it can generate all the files 31.jgw, 31.jpg, etc

So seems to need to be changed on your code

Carlos

 

 

 

 

Aug 23, 2010 at 9:05 AM

Ok thanks for noticing this. Its fixed in 56317 http://arcbrutile.codeplex.com/SourceControl/changeset/changes/56317

Sep 13, 2010 at 3:44 PM

One more question, do you have plans to support Google Satellite aditional to Google Maps?

Carlos

 

Sep 13, 2010 at 11:59 PM

good suggestion, i've added a workitem (Id #7176), you can vote there.

Oct 7, 2010 at 12:45 PM

Google/Bing Satellite is added, will be in next release