heimrichhannot / contao-google-maps-list-bundle
This bundle acts as a bridge between heimrichhannot/contao-list-bundle and heimrichhannot/contao-google-maps-bundle in order render lists as a google map.
Installs: 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^7.1
- contao/core-bundle: ^4.4
- heimrichhannot/contao-google-maps-bundle: ^2.0
- heimrichhannot/contao-list-bundle: ^1.27
Requires (Dev)
- contao/manager-plugin: ^2.0
- contao/test-case: 1.1.*
- friendsofphp/php-cs-fixer: ^2.2
- php-http/guzzle6-adapter: ^1.1
- php-http/message-factory: ^1.0.2
- phpunit/php-token-stream: ^1.4|^2.0|^3.0
- phpunit/phpunit: >=6.0 <6.5
- phpunit/phpunit-mock-objects: ^4.0|^5.0
- satooshi/php-coveralls: ^2.0
- symfony/phpunit-bridge: ^3.2
This package is auto-updated.
Last update: 2021-10-27 09:47:03 UTC
README
This bundle is discontinued. It's functionality was moved directly into google-maps-bundle.
This bundle acts as a bridge between heimrichhannot/contao-list-bundle and heimrichhannot/contao-google-maps-bundle in order render lists as a google map.
Installation
Install via composer: composer require heimrichhannot/contao-google-maps-list-bundle
and update your database.
Configuration
Render a list as a Google Map
- Create a Google map as you would normally.
- Create a list config as you would normally and activate the option
Render items as map
. Afterwards select the map you created before. - Switch the List class to
HeimrichHannot\GoogleMapsListBundle\Lists\DefaultList
Item class toHeimrichHannot\GoogleMapsListBundle\Item\DefaultItem
- You can also add an ordinary textual list containing the items as links for triggering click events on the markers in the map (which are representing the same items as mentioned before).
- For this activate
Add map control list
in the list config. - Switch the list template to
list_google_maps_default.html.twig
and the item template tolist_item_google_maps_default.html.twig
.
- For this activate