Skip to main content

Build status Code health Python versions Software license Gitter chat room

A universal maps plugin for django CMS, supporting all major map providers.

Supported online map providers:

  • Mapbox OpenStreetMap powered by Leaflet.js

  • Bing Maps

  • Google Maps

  • HERE WeGo

  • ViaMichelin

All map providers require an API key, which you usually get for free by creating a developer account (using the links below).

Installation

This plugin requires django CMS 3.3 (and Django 1.8) or above.

  • In your project’s virtualenv, run pip install djangocms-maps.

  • Add 'djangocms_maps' to your INSTALLED_APPS setting.

  • Run manage.py migrate djangocms_maps.

Configuration

MAPS_PROVIDERS = [ ('<str>', '<str>'), ... ]

Optional. Allows you to specify the providers you want to offer, their display labels and sort order in the user interface. Put a provider on top of the list to make it the default. Default:

MAPS_PROVIDERS = [
    ('mapbox', _('Mapbox OSM (API key required)')),
    ('bingmaps', _('Bing Maps (API key required)')),
    ('googlemaps', _('Google Maps (API key required)')),
    ('here', _('HERE WeGo (API key required)')),
    ('viamichelin', _('ViaMichelin (API key required)')),
]

MAPS_BINGMAPS_API_KEY = '<str>'

API key for Bing Maps (required for using Bing Maps).

MAPS_GOOGLEMAPS_API_KEY = '<str>'

API key for Google Maps (required for using Google Maps).

MAPS_HERE_API_KEY = {'app_id': '<str>', 'app_code': '<str>'}

APP_ID and APP_CODE for HERE WeGo (required for using HERE maps).

MAPS_MAPBOX_API_KEY = '<str>'

Access token for Mapbox (required for using OSM maps with Mapbox tile layers).

MAPS_VIAMICHELIN_API_KEY = '<str>'

API key for ViaMichelin (required for using ViaMichelin maps).

Examples

Organice Demo:

https://demo.organice.io/about/directions/

Your maps plugin playground! Allows you to directly edit and view (albeit not to publish) changes on the maps plugin after authenticating.

Translations

If you want to help translate the plugin please do it on transifex.

Developer Resources

CHANGELOG

0.13.0 (2021-03-21)

  • Run tests with a test project against all modern Python + Django + CMS combinations

  • Remove u-strings and dependency on six (backward-compatibility for Python 2)

  • Fix ImportError on django CMS 3.8.0 (thanks @arnodeceuninck)

0.12.0 (2020-02-04)

  • Adjust migrations for Django 2+ (thanks @macolo)

  • Fix some code smell in JS reported by Codacy

  • Allow jshint to run locally (via tox)

0.11.0 (2019-05-08)

  • Add aldryn_config.py to make plugin visible on Divio marketplace

  • Reformat code (inital migrations, models, forms, templatetags)

0.10.0 (2019-01-30)

  • Convert float to string before evaluating (thanks @mireq)

0.9.0 (2019-01-12)

  • Don’t show map title when it’s blank (thanks @adrien-delhorme)

0.8.0 (2018-03-04)

  • Fix float rounding error for map coordinates on German sites (which use a colon instead of a period)

  • Configure HERE WeGo to use HTTPS by default

0.7.0 (2016-09-14)

  • Implement ViaMichelin provider

0.6.0 (2016-09-02)

  • Allow to display or hide layers control and scale bar

  • Implement HERE WeGo provider

  • Bugfix: Allow keyboard navigation (Mapbox)

  • Run static code analysis for all supported Python versions

  • Implement Bing Maps provider

0.5.0 (2016-09-01)

  • Fork djangocms-googlemap plugin, remove legacy burden

  • Refactor template structure for multi-provider support

  • Remove routing options from plugin UI (plan: re-implement on the map)

  • Reorganice plugin UI to avoid excessive scrolling

  • Add settings (API keys) for Google Maps and all future providers

  • Implement Mapbox provider

  • Add stubs for Bing, HERE, ViaMichelin

before 0.5.0

Release files for djangocms-maps 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djangocms-maps 0.13.0
File Size Uploaded
djangocms-maps-0.13.0.tar.gz 67.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for djangocms-maps 0.13.0
File Interpreter ABI Platform
djangocms_maps-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 284.4 kB

Release files / djangocms-maps-0.13.0.tar.gz

Download URL djangocms-maps-0.13.0.tar.gz
Size 67.5 kB
Tags Source
SHA-256 checksum
How to use checksums
182f11eaee12d544e194b08b98c49c26159c172a8c824154744aa81fda821c04
BLAKE2b-256 checksum
How to use checksums
306d135773bb2c1ea4d55d477650134456d1eb2de243f75e4601d995adef0fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

Release files / djangocms_maps-0.13.0-py3-none-any.whl

Download URL djangocms_maps-0.13.0-py3-none-any.whl
Size 216.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a3a1c4825e14d699966a1e0fbfe8ae6c109d254e074d3702c326aa10ad99f2d
BLAKE2b-256 checksum
How to use checksums
cbd441bcce4da5b57a77e530ba2b5c29365617ac022d6b897b271355dbe5f89b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files

0.10.0

3 release files

0.9.0

3 release files

0.8.0

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page