<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hey Folks,<br>
<br>
Sorry about putting this on both users and dev at the same time, but I
am new here and don't really know where it belongs.<br>
<br>
I have the requirement to be able to consume/display an ArcGIS server
map cache as a base layer in OL. Tooling around in the sandboxes I
found one that belongs to STVN.&nbsp; I have incorporated it into our test
app which can be found at:<br>
<a class="moz-txt-link-freetext" href="http://199.20.64.48/ags/arcgis/server/appTests/OL/popup_georss/index_external.html">http://199.20.64.48/ags/arcgis/server/appTests/OL/popup_georss/index_external.html</a><br>
<br>
I know sandboxes aren't production code, etc. but I would like to
enhance it and then contribute the resulting code. How does that work?
I will be registering soon as a contributer by signing the license
agreement and getting a username, etc.<br>
<br>
Do I need to contact STVN for permission first or is the fact that it
is in the SVN good enough?<br>
<br>
BTW:&nbsp;&nbsp; STVN, if you are still out there please contact me. I would like
to collaborate a bit on your AGS class.<br>
<br>
On to the technical/dev issue:<br>
In the test app above the AGS map cache is set as the base layer. In
the LayerSwitcher there is an overlay of a single tile WMS service.
When checked on, you will see that there is a overlay problem. The WMS
is correct and the AGS layer is not. New Jersey should be centered in
the map. The reason why this is not the case is that the AGS cache is
created statically with a specified upper-left origin and tile size and
the WMS image is dynamic based on the viewport's extent, etc. When you
load a prerendered tile into the grid, the grid's tile boundaries
aren't geographically where they should be, thus the image is offset.<br>
<br>
Is it possible to specify a origin/upper-left position of just one
grid/tile layer without affecting the other layers that work correctly?
Since I know the tile origin of the AGS map cache, I would like to
shift the AGS layer so that the first image loaded starts at that
position (geographically correct) and not where the WMS tiles are
starting from.<br>
<br>
Can someone give me some ideas on where to get started with this? Any
amount of help on this would be great.<br>
<br>
PS- Also, check out the LayerSwitcher in above app in IE. It's got some
funky striping on the top and bottom. Anyone have ideas on why that's
happening or how to fix it?<br>
<br>
Thanks,<br>
Dejung<br>
<br>
<div class="moz-signature">-- <br>
<font color="#000000"><b>Dejung Gewissler</b></font><br>
New Jersey Office of Information Technology<br>
<font color="#006600">Office of Geographic Information Systems</font><br>
200 Riverview Plaza<br>
PO Box 212, Trenton, NJ 08625-0212<br>
<br>
609.777.3754
</div>
</body>
</html>