Jinja2_maps

jinja2_maps is a set of Jinja2 filters for embed maps and location URLs.

Install

With pip:

[sudo] pip install jinja2_maps

Guide

API Reference

jinja2_maps

jinja2_maps.activate_filters(env)[source]

Activate all filters on a given environment. If using Flask calling activate_filters(app.jinja_env) at the top of your app.py should be sufficient.

Changes

v0.3.0 (upcoming version)

  • URL filters added for ArcGIS, Yandex Maps, HERE Maps, and Wikimapia
  • google_maps_url alias added for gmaps_url

v0.2.0 (2016/03/23)

  • URL filters added for Apple Maps, Bing Maps, and Mappy
  • URL filter crash when the zoom is not provided fixed

v0.1.1 (2016/03/19)

Bugfixes.

v0.1.0 (2016/03/18)

Initial release.