I'll like to add this service
https://rest.parcelatlas.com/Tiles/D3342484-32CD-DD11-AF04-0003FF70C8AE/0320210202001111
(description here: https://rest.parcelatlas.com/HowTo.aspx )
/Tiles/{contract ID}/{quad key}
as another layer .. can that be done? I know it can be added with Virtual Earth like
http://www.parcelatlas.com/ParcelAltasServices/
Any idea or hint?
Take a look at the WebTiledLayer class - it allows you to add map tiles to a map. Here's a link to a sample showing how this class works:
I checked it but couldn't figure the quadtree parameter nor where to put the contractID etc.. will keep trying
Sorry to bother you since you are the only one to reply.. checking the info I cannot figure out if the service provided by parcelatlas has all the features I need to setup as a web tiled layer..
Do I have to set the parameters like the contractID as part of attributes?
I have 2 different options to access the data:
(https://rest.parcelatlas.com/HowTo.aspx like)
https://rest.parcelatlas.com/Tiles/D3342484-32CD-DD11-AF04-0003FF70C8AE/0320210202001111
and
http://www.parcelatlas.com/ParcelAltasServices/
as a layer over bing maps
<head> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2"></script> | |
<script type="text/javascript"> | |
var map = null; | |
var tileLayer; | |
function GetMap() | |
{ | |
map = new VEMap('myMap'); | |
map.LoadMap(new VELatLong(30.52,-84.37),17,'r' ,false); | |
GetTiles(); | |
} | |
function GetTiles() | |
{ | |
var bounds = [new VELatLongRectangle(new VELatLong(32,-85),new VELatLong(30,-83))]; | |
var tileSourceSpec = new VETileSourceSpecification("Parcel", "MapTileHandler.ashx?qkey=%4&contractid=D3342484-32CD-DD11-AF04-0003FF70C8AE"); | |
tileSourceSpec.NumServers = 1; | |
tileSourceSpec.Bounds = bounds; | |
tileSourceSpec.MinZoomLevel = 10; | |
tileSourceSpec.MaxZoomLevel = 18; | |
tileSourceSpec.Opacity = 1; | |
tileSourceSpec.ZIndex = 100; | |
map.AddTileLayer(tileSourceSpec, true); | |
} | |
function DeleteTileLayer() | |
{ | |
map.DeleteTileLayer("Parcel"); | |
} | |
</script> | |
</head> |
I might be a little confused where to start reading/finding out how to access this using the javascript api