- The
Ivory\GoogleMap\Helper\Utils\JsonBuilderhave been extracted to a dedicated library for reusability purpose. - The
Ivory\GoogleMap\Helper\MapHelper::renderJsContainerExtrahas been introduced in order to render method's calls after the JS container. - The
Ivory\GoogleMap\Helper\MapHelper::renderJsContainerMaphas been updated to only render the map and so, the method's calls have been moved to theIvory\GoogleMap\Helper\MapHelper::renderJsContainerExtra. - The
Ivory\GoogleMap\Helper\MapHelper::renderJsContainerBoundsExtendsmethod has been removed/merged into theIvory\GoogleMap\Helper\MapHelper::renderJsContainerExtra. - The method's calls present in the
Ivory\GoogleMap\Helper\MapHelper::renderAfterhas been moved to theIvory\GoogleMap\Helper\MapHelper::renderJsContainerExtra.
- The
buzzproperty/getter/setter of theAbstractServicehas been removed in favor of the http adapter which allows to use buzz, curl, guzzle, stream, ... - The
AbstractServiceconstructor has been updated in order to replace the buzz argument by the http adapter one which is now first and mandatory.
- The
apiHelperproperty/getter/setter of theMapHelperhas been removed and the constuctor has been updated accordingly. - The
MapHelper::getLibrariesmethod has been moved to theCoreExtensionHelperclass.
- The
markersproperty of theMaphave been removed in favor of themarkerClusterproperty. - The
MapHelperconstructor have been updated to now takes aMarkerClusterHelperInterfaceas 14th arguments instead of theMarkerHelper. - The
markerHelperproperty/getter/setter of theMapHelperhas been removed in favor of themarkerClusterHelperones. - The
MapHelper::renderJsContainerMarkersmethod has been removed in favor of therenderJsContainerMarkerClusterone. - The
MapHelper::registerMarkerInfoWindowEventmethod have been moved to theDefaultMarkerClusterHelperclass and has been renamed toregisterInfoWindowEvent.
- The
Distance,Duration,TravelMode&UnitSystemwhich lived in theIvory\GoogleMap\Services\Directionsnamespace have been moved in theIvory\GoogleMap\Services\Baseone in order to be shared across services. - The
MapHelperconstructor now takes anApiHelperas first argument (all the other parameters have been moved forward).
- All helpers classes have been refactored in order to generate a JS container by map.
- The
TemplatingExceptionhas been renamed toHelperExceptionto be consistent with the namespace.