Wow, what a cool tool! Am I correct in my (brief) reading of the license that it is more permissive than GPL? <div><br></div><div><a href="http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html">http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html</a> </div>
<div><br></div><div>I have a client that needs a map to integrate with some of our tools, although I'm guessing that I'd be able to do this without actually modifying the mashup code, simply configuring the widgets and search, etc.</div>
<div><br></div><div>The license mentions "External Modules". Is their documentation or a mailing list for developing those?</div><div><br></div><div>Thanks, and thanks again for a great tool, is it on the OpenLayers example page somewhere? (<a href="http://openlayers.org/dev/examples/">http://openlayers.org/dev/examples/</a>) It's a great site for showcasing OpenLayers' capabilities.</div>
<div><br></div><div>Tac </div><div><br><div class="gmail_quote">On Wed, Jan 25, 2012 at 9:28 AM, jrom <span dir="ltr"><<a href="mailto:jerome.gasperi@gmail.com">jerome.gasperi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Robert,<br>
<br>
You can do this through the OpenLayers.Layer.XYZ() class with some<br>
code server side to mimic a standard XYZ grid.<br>
I've done this within the mapshup framework (<a href="http://mapshup.info" target="_blank">http://mapshup.info</a>).<br>
<br>
Server side, you need to create a script that converts XYZ requests to<br>
mbtiles requests.<br>
See <a href="http://code.google.com/p/mapshup/source/browse/server/utilities/mbtsrv.php" target="_blank">http://code.google.com/p/mapshup/source/browse/server/utilities/mbtsrv.php</a><br>
for an example of this script.<br>
<br>
Suppose that you access this script on <a href="http://localhost/mbtsrv.php" target="_blank">http://localhost/mbtsrv.php</a>,<br>
you should set your layer like this client side :<br>
<br>
var newLayer = new OpenLayers.Layer.XYZ("mbtile",<br>
'<a href="http://localhost/mptsrv.php" target="_blank">http://localhost/mptsrv.php</a>', {isBaseLayer:true});<br>
<br>
Regards<br>
<br>
Jerome<br>
<br>
--<br>
<a href="http://mapshup.info" target="_blank">http://mapshup.info</a><br>
<br>
2012/1/25 Robert Buckley <<a href="mailto:robertdbuckley@yahoo.com">robertdbuckley@yahoo.com</a>>:<br>
<div><div class="h5">> Hi,<br>
><br>
> Has anyone successfully used MBTiles to server basemaps in Openlayers?<br>
> Do any live example exist if yes?<br>
><br>
> yours,<br>
><br>
> Rob<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br></div>