Select to view content in your preferred language

custom TiledMapServiceLayer documentation or help!!

692
3
11-12-2010 12:09 AM
DmitryAleshkovsky
Deactivated User
Where can i get good documentation about implementation of TiledMapServiceLayer/TiledLayer?
I need to add tiledlayer from my own  URL and from tiles in WorldMercator projection(WKID = 54004).
a few questions:
1/Is it possible combine in the map tiled layers with different projection (WebMercator 102113 and WorldMercator 54004)?
2/what is the Origin property in the TileInfo?
3/ if I create function
public override string GetTileUrl(int level, int row, int col){}
where are parameters(level,row,col) come from? From the ESRI map in WebMercator projection?
so I must recalculate them in my row,col values?
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
0 Kudos
DmitryAleshkovsky
Deactivated User
Thank you, Jennifer!
I know this links, but I can't get answer for my questions there :confused:
the main question is about possibility to have 2 tiled layers in the map with different coordinate systems - WorldMercator and Web Mercator.
0 Kudos
JenniferNery
Esri Regular Contributor
Different SpatialReference will not work because the projection of the Map is determined by the first visible layer with a SpatialReference defined. If the SpatialReference of the Map is different than a Tiled Layer, the Tiled Layer will not be displayed.
0 Kudos