drupal / locations
Provides a location content type and related configuration.
2.0.0-rc1
2024-11-16 10:31 UTC
Requires
- drupal/add_content_by_bundle: ^1.2
- drupal/address: ^1.11 || ^2.0
- drupal/core: >=10.3
- drupal/geocoder: ^4.10
- drupal/geofield: ^1.47
- drupal/leaflet: ^10.2
- drupal/metatag: ^1.25 || ^2.0
- drupal/pathauto: ^1.13
- geocoder-php/nominatim-provider: ^5.7
This package is auto-updated.
Last update: 2024-11-16 10:38:32 UTC
README
This recipe creates a content type and related configuration (including views) for managing and displaying location information. The intended use is to use a geocoding service (such as Google Maps or Mapbox) so that content creators can simply provide the address information, and then the latitude and longitude will be determined automatically, and displayed on a map.
For a full description of the recipe, visit the project page.
Submit bug reports and feature suggestions, or track changes in the issue queue.
Table of contents (optional)
- Requirements
- Installation
- Configuration
- Maintainers
Requirements (required)
This recipe makes use of the following modules:
Installation
- Install the Quick Links recipe as you would normally install a contributed Drupal recipe. See the Recipes Getting Started Guide for further information. We strongly recommend using composer to ensure all dependencies will be handled automatically.
Configuration
- Enable the module at Administration > Extend.
- If the locations being managed for your site are typically within a single
country, you can make content creation easier by setting a default country in
the form by going to
/admin/structure/types/manage/location/fields/node.location.field_location_address
and then enabling the "Set default value" checkbox, and providing whatever default values make sense for your website. - If you want to capture and display other information for locations, you can
add additional fields to the content type at
/admin/structure/types/manage/location/fields
.
Maintainers
- Martin Anderson-Clutz - mandclu