django-mbtiles

Serve maps from MBTiles files using Django
Download

django-mbtiles Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Mathieu Leplatre
  • Publisher web site:
  • http://mathieu-leplatre.info

django-mbtiles Tags


django-mbtiles Description

django-mbtiles is a Django app that serves maps from MBTiles files using Django. It mainly relies on landez.INSTALLpip install -r requirements.txtpython setup.py installUSAGE- Add mbtilesmap to your INSTALLED_APPS- Make sure you have 'django.core.context_processors.static' in your context processors- Include mbtilesmap urls into your projecturlpatterns = patterns('', ... ... url(r'^', include('mbtilesmap.urls', namespace='mb', app_name='mbtilesmap')),) Add the HTML header and call the template tag{% load mbtilesmap_tags %}...{% block head %}{% include "mbtilesmap/head.html" %}{{ block.super }}{% endblock head %}......{% mbtilesmap filename %}ExampleFind a working demo project (MBTiles maps browser livembtiles) in the example/ folder (see dedicated README.rst file).Product's homepage


django-mbtiles Related Software