VDS Technologies

 

tile layer with personal geodatabase layer

4/21/2012 5:04:11 AM
Total Posts 3

tile layer with personal geodatabase layer

Hi,

I got some question about Tilelayer. i want to use a tilelayer for the map that populate with some database layer (Esri Personal GDB).

i use  "Map1.AddShapeDataLayer(dataTable, "SHAPE")" method to add a gdb layer to map but tilelayer only use

tileLayer.AddLayer(LayerFolder &"County.shp") method.

now how can i add a database layer to tilelayer class

 

thanks

4/22/2012 1:58:29 AM
MVP
Total Posts 323

Re: tile layer with personal geodatabase layer

Only file-based layers can be added to a TileLayer currently.

5/4/2012 2:54:56 AM
Total Posts 3

Re: tile layer with personal geodatabase layer

thanks for ur reply. i've another question:

when i use a tile layer and googlemap as backgraundlayer in a map, tile layer makes googlemap unvisible. are there any way to make it visible?

regards.

5/8/2012 1:53:00 AM
MVP
Total Posts 323

Re: tile layer with personal geodatabase layer

First, make sure that the tile layer is set to the coordinate system of Google maps (PCS_PopularVisualisationMercator). Each layer within the tile layer must be set to its own coordinate system via Layer.CoordinateSystem or a .prj file.

Next, set the TileLayer.ImageOpacity property. This property is fully described in the documentation.