Django-easy-maps v.0.7.2

Advertisement
Advertisement

This app makes it easy to display a map for given address in django templates. No API keys, manual geocoding, html/js copy-pasting or django model changes is needed.Installationpip install geopypip install django-easy-mapsThen add 'easy_maps' to INSTALLED_APPS and run ./manage.py syncdb (or ./manage.py migrate easy_maps if South is in use)UsageThis app provides an easy_map template tag:{% easy_map [ ] [] [using ] %}Examples:{% load easy_maps_tags %}{% easy_map "Russia, Ekaterinburg, Mira 32" 300 400 %}{% easy_map address 200 200 5 using 'map.html' %}The coordinates for map will be obtained using google geocoder on first access. Then they'll be cached in DB. Django's template caching can be used later in order to prevent DB access on each map render:{% load easy_maps_tags cache %}{% cache 600 my_map firm.address %} {% easy_map firm.address 300 400 %}{% endcache %}

This app makes it easy to display a map for ... This app makes it easy to display a map for a given address.

 
  • Django-easy-maps
  • 0.7.2
  • Mikhail Korobov
  • Linux
  • Freeware
  • 10 Kb
  • 292
  • Free
 
 

Review Django-easy-maps

  • captcha
 

Other software of Mikhail Korobov

New Miscellaneous software
  • MindMaster for Mac  v.7.2MindMaster is a cross-platform and multi-functional mind mapping software. It provides effective mind mapping solutions for brainstorming, knowledge management, business planning and note-taking.
  • MindMaster  v.7.2MindMaster is a cross-platform and multi-functional mind mapping software. It provides effective mind mapping solutions for brainstorming, knowledge management, business planning and note-taking.
  • Galaxies 3D  v.1.1Galaxy, as your personal 3D telescope, allows the virtual exploration of the most beautiful galaxies in the Universe.