Skip to main content

Aldryn Locations is the easiest way to integrate Google Maps into Aldryn and django CMS sites via Google’s API.

It’s fully featured, and includes several plugins to provide support for:

  • multiple locations

  • location information

  • routes and directions

  • searching

Aldryn Platform Users

Choose a site you want to install the add-on to from the dashboard. Then go to Apps -> Install app and click Install next to Locations app.

Redeploy the site.

Manual Installation

pip install aldryn-locations

Add aldryn_locations to INSTALLED_APPS and run manage.py migrate aldryn_locations.

Add ALDRYN_LOCATIONS_GOOGLEMAPS_APIKEY to your settings.py using the provided key from google

Configure aldryn-boilerplates (https://pypi.python.org/pypi/aldryn-boilerplates/).

To use the old templates, set ALDRYN_BOILERPLATE_NAME='legacy'. To use https://github.com/aldryn/aldryn-boilerplate-standard (recommended, will be renamed to aldryn-boilerplate-bootstrap3) set ALDRYN_BOILERPLATE_NAME='bootstrap3'.

Plugins

Aldryn Locations offers five different plugins to use. First one is the Map which works with the Google Maps JavaScript API. The other four, Place, Directions, Search and View, are based on [Google’s embed maps](https://developers.google.com/maps/documentation/embed/guide).

  • Place Place mode displays a map pin at a particular place or address, such as a landmark, business, geographic feature, or town.

  • Directions Directions mode displays the path between two or more specified points on the map, as well as the distance and travel time.

  • Search Search mode displays results for a search across the visible map region. It’s recommended that a location for the search be defined, either by including a location in the search term (record stores in Seattle) or by including a center and zoom parameter to bound the search.

  • View View mode returns a map with no markers or directions baed on the search term.

Release files for aldryn-locations 1.0.1

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

Source distribution (sdist)

Source distribution for aldryn-locations 1.0.1
File Size Uploaded
aldryn-locations-1.0.1.tar.gz 24.2 kB Details

Release files / aldryn-locations-1.0.1.tar.gz

Download URL aldryn-locations-1.0.1.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bd8a348faee40c21a595b4ddad983659a8d3cad81f57c82e5d6261cb31b09cc1
BLAKE2b-256 checksum
How to use checksums
e582fe1ab7400e57afc7af290aebbc17a37fc5382f7305068cfe5a89f71e7f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

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