<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>not 100% on all the Arc stuff, however we do have a few options that can be seen in the demo examples:</span></div><div><br><span></span></div><div><span> <map-source name="metbase" type="ags" ><br> <url>http://gis.metc.state.mn.us/ArcGIS/rest/services/BaseLayer/UTMBaseMap/MapServer/export</url><br> <layer name="Met Council Base Map Layers" /><br> <param name="FORMAT" value="JPG"/><br>
</map-source><br></span></div><div><span>And:</span></div><div><br><span></span></div><div><span> <map-source name="OSM" type="xyz"><br> <layer name="TilesAtHome" /><br> <url>http://tah.openstreetmap.org/Tiles/tile/${z}/${x}/${y}.png</url><br> <param name="numZoomLevels" value="20"/><br> <param name="sphericalMercator" value="true"/><br> </map-source><br></span></div><div><span>Not sure which version of that works best for the ArcGIS Rest implementation. IIRC, the "ags" source type
is used for the cached version.<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> "Lund, Brent (ADM)" <brent.lund@state.mn.us><br> <b><span style="font-weight: bold;">To:</span></b> "geomoose-users@lists.osgeo.org" <geomoose-users@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, April 4, 2012 2:54 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Geomoose-users] adding ArcGIS service to geomoose 2.4 Mercator<br> </font> </div> <br>
<div id="yiv208489561">
<style><!--
#yiv208489561
#yiv208489561 p.yiv208489561MsoNormal, #yiv208489561 li.yiv208489561MsoNormal, #yiv208489561 div.yiv208489561MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv208489561 a:link, #yiv208489561 span.yiv208489561MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv208489561 a:visited, #yiv208489561 span.yiv208489561MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv208489561 pre
        {margin:0in;margin-bottom:.0001pt;font-size:10.0pt;font-family:"Courier New";}
#yiv208489561 span.yiv208489561EmailStyle17
        {font-family:"sans-serif";color:windowtext;font-weight:normal;font-style:normal;text-decoration:none none;}
#yiv208489561 span.yiv208489561HTMLPreformattedChar
        {font-family:"Courier New";}
#yiv208489561 .yiv208489561MsoChpDefault
        {font-family:"sans-serif";}
_filtered #yiv208489561 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv208489561 div.yiv208489561WordSection1
        {}
--></style>
<div>
<div class="yiv208489561WordSection1">
<pre><span style="font-size:12.0pt;">I’d like to add an ArcGIS rest service to a Geomoose 2.4 Mercator app (http://www.mngeo.state.mn.us/structures_ro/).</span></pre>
<pre><span style="font-size:12.0pt;"> </span></pre>
<pre><span style="font-size:12.0pt;">I use the ArcGIS rest service in OpenLayers apps like http://www.mngeo.state.mn.us/glo/index.html. Here’s how I define the layer</span></pre>
<pre><span style="font-size:12.0pt;"> </span></pre>
<pre>var esriStreets = new OpenLayers.Layer.XYZ("ESRI Streets", "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/${z}/${y}/${x}", {</pre>
<div class="yiv208489561MsoNormal"><span style="font-size:10.0pt;"> sphericalMercator: true,</span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:10.0pt;"> attribution: "Tiles courtesy of <a href='http://www.arcgis.com/home/item.html?id=3b93337983e9436f8db950e38a8629af' target='_blank'>arcgis.com</a>",</span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:10.0pt;"> numZoomLevels: 20</span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:10.0pt;">});</span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;"> </span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;"> </span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;">So I guess the question is: How do I add an ArcGIS rest service to my mapbook?</span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;"> </span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;">Thanks,</span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;"> </span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;">Brent</span></div>
<div class="yiv208489561MsoNormal"><span style="font-size:12.0pt;"> </span></div>
</div>
</div>
</div><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.osgeo.org" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br><br> </div> </div> </blockquote></div> </div></body></html>