[OpenLayers-Users] Use of MBTIles with openlayers
Tac Tacelosky
tacman at gmail.com
Wed Jan 25 12:33:33 EST 2012
Wow, what a cool tool! Am I correct in my (brief) reading of the license
that it is more permissive than GPL?
http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
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.
The license mentions "External Modules". Is their documentation or a
mailing list for developing those?
Thanks, and thanks again for a great tool, is it on the OpenLayers example
page somewhere? (http://openlayers.org/dev/examples/) It's a great site
for showcasing OpenLayers' capabilities.
Tac
On Wed, Jan 25, 2012 at 9:28 AM, jrom <jerome.gasperi at gmail.com> wrote:
> Hi Robert,
>
> You can do this through the OpenLayers.Layer.XYZ() class with some
> code server side to mimic a standard XYZ grid.
> I've done this within the mapshup framework (http://mapshup.info).
>
> Server side, you need to create a script that converts XYZ requests to
> mbtiles requests.
> See
> http://code.google.com/p/mapshup/source/browse/server/utilities/mbtsrv.php
> for an example of this script.
>
> Suppose that you access this script on http://localhost/mbtsrv.php,
> you should set your layer like this client side :
>
> var newLayer = new OpenLayers.Layer.XYZ("mbtile",
> 'http://localhost/mptsrv.php', {isBaseLayer:true});
>
> Regards
>
> Jerome
>
> --
> http://mapshup.info
>
> 2012/1/25 Robert Buckley <robertdbuckley at yahoo.com>:
> > Hi,
> >
> > Has anyone successfully used MBTiles to server basemaps in Openlayers?
> > Do any live example exist if yes?
> >
> > yours,
> >
> > Rob
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
> >
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120125/8c9e00ac/attachment-0001.html
More information about the Users
mailing list