LocationResources
LocationResources is an extra by digitalpenguin, first released on 2019-11-27.
Package Description
**Google Maps Custom Resource Class Extra for MODX Revolution** There is no need to use multiple template variables to achieve a similar result. LocationResources includes a slick drag and drop interface users will love. Both simple and customizable.
Usage/Installation Instructions
LocationResources ================= ***Google Maps Custom Resource Class Extra for MODX Revolution*** LocationResources is a basic integration between the Google Maps API and MODX Resources. It allows drag and drop in the MODX manager to position maps and set markers which is then reflected on the web context (or others). 27/11/2019 - **Version 1.4.0** NEW - Usage with getResources ---- _Note: If you're not familiar with getResources, start with the "Normal Usage" instructions further below._ Make sure you have the getResources extra installed from the MODX package manager and your Google Maps API key is in the system settings. Create your location resource(s). Make a normal getResources snippet call and include your location resource(s). For example if I have resource (id: 18) which is a parent and includes a list of location resources then I might call getResources like this: ``` ``` Create a chunk called `myCustomTpl` or whatever you fancy. Inside the chunk you can call the location values directly as placeholders with a `location_` prefix. ```
This chunk displays the values of this location resource.
- Latitude:
- Longitude:
- Zoom Level:
- Does the Map Have a Marker?:
- Marker Latitude:
- Marker Longitude:
- Marker Title:
- Marker Description:
- Marker Link (href):
- Marker Link Text :
Details
- Developer(s)
- digitalpenguin
- Released
- 2019-11-27
- First seen
- 2019-11-27
- License
- GPLv2
- Supported databases
- Minimum MODX Requirement
- 2.3
LocationResources Releases
Vendor | Signature | Released on |
---|---|---|
MODX.com | 1.4.0-pl | 2019-11-27 (4 years ago) |
MODX.com | 1.3.2-pl | 2017-08-18 (7 years ago) |
We've also seen 8 unverified versions of LocationResources in use, but don't list those as we've been unable of confirming they are official releases from an official source.