<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I haven't worked with MapBox tiles, but I've added MapCache and other OSM like tile services to GeoMoose.<div><br></div><div>The important part is that your projection and scales exactly match that of the tileset.  I think max_extent needs to match too, but I don't remember off the top of my head.  Then define a <map-source type="tms" ...> and use it like any other map-source.</div><div><br></div><div><div class="line" style="color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="webkit-html-tag"><mapbook<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">version</span>="<span class="webkit-html-attribute-value">2.0</span>"</span>></span></div><div class="collapsible-content" style="margin-left: 1em; color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="text"></span><div class="collapsible" id="collapsible1"><div class="expanded"><div class="line"><span class="button collapse-button" style="-webkit-user-select: none; cursor: pointer; display: inline-block; margin-left: -10px; width: 10px; vertical-align: bottom; background-image: -webkit-canvas(arrowDown); height: 10px; background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></span><span class="webkit-html-tag"><configuration></span></div><div class="collapsible-content" style="margin-left: 1em; "><span class="text"></span><div class="collapsible" id="collapsible2"><div class="expanded"><div class="line"><span class="button collapse-button" style="-webkit-user-select: none; cursor: pointer; display: inline-block; margin-left: -10px; width: 10px; vertical-align: bottom; background-image: -webkit-canvas(arrowDown); height: 10px; background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></span><span class="webkit-html-tag"><param<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">scales</span>"</span>></span></div><div class="collapsible-content" style="margin-left: 1em; "><span class="text">156543.03392804099712520838,78271.51696402048401068896,39135.75848201022745342925,19567.87924100512100267224,9783.93962050256050133612,4891.96981025128025066806,2445.98490512564012533403,1222.99245256282006266702,611.49622628141003133351,305.74811314070478829308,152.87405657035250783338,76.43702828517623970583,38.21851414258812695834,19.10925707129405992646,9.55462853564703173959,4.77731426782351586979,2.38865713391175793490,1.19432856695587897633,0.59716428347793950593</span></div><div class="line"><span class="webkit-html-tag"></param></span></div></div></div><span class="text"></span><div class="line"><span class="webkit-html-tag"><param<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">max_extent</span>"</span>></span><span class="text">-20037508, -20037508, 20037508, 20037508</span><span class="webkit-html-tag"></param></span></div><span class="text"></span><div class="line"><span class="webkit-html-tag"><param<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">initial_extent</span>"</span>></span><span class="text">-10385454,5100000,-8301000,6435000</span><span class="webkit-html-tag"></param></span></div><span class="text"></span><div class="line"><span class="webkit-html-tag"><param<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">projection</span>"</span>></span><span class="text">EPSG:3857</span><span class="webkit-html-tag"></param></span></div><div class="line"><span class="webkit-html-tag"><br></span></div><div class="line"><span class="webkit-html-tag">...</span></div><div class="line"><span class="webkit-html-tag"><br></span></div></div></div></div></div></div><div><div class="line" style="font-family: monospace; font-size: 13px; "><span class="webkit-html-tag">  </configuration></span></div><div class="collapsible-content" style="margin-left: 1em; font-family: monospace; font-size: 13px; "><span class="text"></span><div class="collapsible" id="collapsible2"><div class="expanded"><div class="line"><span class="button collapse-button" style="-webkit-user-select: none; cursor: pointer; display: inline-block; margin-left: -10px; width: 10px; vertical-align: bottom; background-image: -webkit-canvas(arrowDown); height: 10px; background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></span><span class="webkit-html-tag"></span></div></div></div></div></div><div><div class="line" style="color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="webkit-html-tag">  ...</span></div><div class="line" style="color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="webkit-html-tag"><br></span></div><div class="line" style="color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="webkit-html-tag">  <map-source<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">osm-lal</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">tiled</span>="<span class="webkit-html-attribute-value">true</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">type</span>="<span class="webkit-html-attribute-value">tms</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">width</span>="<span class="webkit-html-attribute-value">256</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">height</span>="<span class="webkit-html-attribute-value">256</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">reference</span>="<span class="webkit-html-attribute-value">on</span>"</span>></span></div><div class="collapsible-content" style="margin-left: 1em; color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="text"></span><div class="line"><span class="webkit-html-tag">  <layer<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">lines_and_labels@grid</span>"</span>/></span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">  <url></span><span class="text"><a href="http://xxx.xxx.xxx.xxx/mapcache/tms/">http://xxx.xxx.xxx.xxx/mapcache/tms/</a></span><span class="webkit-html-tag"></url></span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">  <param<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">layername</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">value</span>="<span class="webkit-html-attribute-value">lines_and_labels@grid</span>"</span>/></span></div><span class="text"></span></div><div class="line" style="color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="webkit-html-tag">  </map-source></span></div></div><div class="line" style="color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">  ...</div><div class="line" style="color: rgb(0, 0, 0); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "></mapbook></div><div><br><div><div>On Nov 27, 2012, at 2:40 PM, Paul Wickman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br></div>Anybody work with <a href="http://openlayers.org/dev/examples/mapbox.js">adding MapBox tiles (via OpenLayer XYZ layer)</a> into GeoMoose?<div><br clear="all"><div><br></div>-- <br>Paul Wickman<br>CTO | Flat Rock Geographics<br>
612.280.5850 | <a href="mailto:paul@flatrockgeo.com" target="_blank">paul@flatrockgeo.com</a><br><a href="http://www.flatrockgeo.com/" target="_blank">www.flatrockgeo.com</a> | <a href="http://twitter.com/flatrockgeo" target="_blank">twitter.com/flatrockgeo</a><br>

</div>
_______________________________________________<br>Geomoose-users mailing list<br><a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/geomoose-users<br></blockquote></div><br></div></body></html>