I tried making my own custom tile layer using MapCruncher and it looks very good when I view it using the samplepage.html that comes with MapCruncher.
However, when I tried to use my own html page by modifying the custom tile layer code in the sdk it looks a little blended.
Does any one know why this is happening
I made the following modifications to the custom tile layer sample code:
function GetMap()
{
map = new VEMap('myMap');
Changed the default Lat Long to centre where my custom layer is.
map.LoadMap(new VELatLong(43.7706272357647,-79.5549744612714),11,'r' ,false);
GetTiles();
}
function GetTiles()
{
Modified boundary box to be in the general location of the map
var bounds = [new VELatLongRectangle(new VELatLong(42,-80),new VELatLong(44,-78))];
var tileSourceSpec = new VETileSourceSpecification();
tileSourceSpec.ID = "test"; Modified id name
tileSourceSpec.TileSource = "http://localhost/newlayer/%4.png"; Modified path to images
tileSourceSpec.NumServers = 1;
tileSourceSpec.Bounds = bounds;
tileSourceSpec.MinZoom = 10;
tileSourceSpec.MaxZoom = 16; Modified max zoom level
map.AddTileSource(tileSourceSpec);
var tileLayer = new VELayerSpecification(VELayerType.VETileSource,"1", "test");
tileLayer.ZIndex = 100;
tileLayer.Opacity=0.5;
map.AddLayer(tileLayer);
}

MapCruncher customer tile layer looks a little MapBlended ...
Thad213
Thanks again,
Penny
jam281
VDBA
They say a picture is worth a thousand words so I will show you what I meant by "blended" - I think the map cruncher site uses the word "tortured"
Normal : Map Cruncher Sample Page JPG
Blended : Map Control V3 Custom Layer JPG
Any help is very much appreciated.
Thanks,
Penny
Price Brattin
Ah, yes. Sorry for my assumption.
I think your problem is related to this one (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=813197&SiteID=1&mode=1). We're looking into it now, and I'll keep you posted.
Cheers,
Caleb