Skip to main content

Google Maps plugin with multiple Locations, info boxes and navigations.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aldryn-locations-1.0.1.tar.gz (24.2 kB view details)

Uploaded Source

File details

Details for the file aldryn-locations-1.0.1.tar.gz.

File metadata

File hashes

Hashes for aldryn-locations-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bd8a348faee40c21a595b4ddad983659a8d3cad81f57c82e5d6261cb31b09cc1
MD5 7186bd1df736ec63a40f56223677e07a
BLAKE2b-256 e582fe1ab7400e57afc7af290aebbc17a37fc5382f7305068cfe5a89f71e7f9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page