Serve maps from MBTiles files using Django. #Serve maps #Django MBTiles #Django #Serve #Maps #MBTiles
django-mbtiles is a Django app that serves maps from MBTiles files using Django. It mainly relies on landez.
pip install -r requirements.txt python setup.py install
- Add mbtilesmap to your INSTALLED_APPS - Make sure you have 'django.core.context_processors.static' in your context processors - Include mbtilesmap urls into your project
urlpatterns = 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 %}
Find a working demo project (MBTiles maps browser livembtiles) in the example/ folder (see dedicated README.rst file).
django-mbtiles 1.0
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- django-mbtiles-1.0.tar.gz
- main category:
- Internet
- developer:
- visit homepage
ShareX 16.0.1
Windows Sandbox Launcher 1.0.0
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
Zoom Client 6.0.3.37634
calibre 7.9.0
Bitdefender Antivirus Free 27.0.35.146
Context Menu Manager 3.3.3.1
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
7-Zip 23.01 / 24.04 Beta
IrfanView 4.67
- 4k Video Downloader
- 7-Zip
- IrfanView
- ShareX
- Windows Sandbox Launcher
- Microsoft Teams
- Zoom Client
- calibre
- Bitdefender Antivirus Free
- Context Menu Manager