Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.16 KB

UPGRADE.md

File metadata and controls

24 lines (19 loc) · 1.16 KB

Upgrade notices

to 3.x

  • replaced ListGoogleMapBeforeRenderEvent with GoogleMapsPrepareExternalItemEvent
  • replaced ReaderGoogleMapBeforeRenderEvent with GoogleMapsPrepareExternalItemEvent

to 2.1

  • Remove heimrichhannot/contao-google-maps-list-bundle dependency
  • Update your list configs to don't use HeimrichHannot\GoogleMapsListBundle\DefaultList and HeimrichHannot\GoogleMapsListBundle\DefaultItem anymore

1.x to 2.x

  • Renamed Bundle class from HeimrichHannotContaoGoogleMapsBundle to HeimrichHannotGoogleMapsBundle. You may need to update loadAfter setup, twig paths and file paths (public folder)
  • DlhMigrationModifyMapEvent: legacyMap parameter is now type stdClass instead of Model
  • DlhMigrationModifyOverlayEvent: legacyOverlay and legacyMap parameters are now type stdClass instead of Model
  • Templates:
    • gmap_map template: mapGoogleJs variable removed. Update your custom templates accordingly
  • List bundle:
    • refactored list config type to GoogleMapConfigElementType
    • added templateVariable field support
  • Reader bundle:
    • refactored reader config type to GoogleMapConfigElementType
    • added templateVariable field support