- The
Fungio\GoogleMap\Helper\Utils\JsonBuilder
have been extracted to a dedicated library for reusability purpose. - The
Fungio\GoogleMap\Helper\MapHelper::renderJsContainerExtra
has been introduced in order to render method's calls after the JS container. - The
Fungio\GoogleMap\Helper\MapHelper::renderJsContainerMap
has been updated to only render the map and so, the method's calls have been moved to theFungio\GoogleMap\Helper\MapHelper::renderJsContainerExtra
. - The
Fungio\GoogleMap\Helper\MapHelper::renderJsContainerBoundsExtends
method has been removed/merged into theFungio\GoogleMap\Helper\MapHelper::renderJsContainerExtra
. - The method's calls present in the
Fungio\GoogleMap\Helper\MapHelper::renderAfter
has been moved to theFungio\GoogleMap\Helper\MapHelper::renderJsContainerExtra
.
- The
buzz
property/getter/setter of theAbstractService
has been removed in favor of the http adapter which allows to use buzz, curl, guzzle, stream, ... - The
AbstractService
constructor has been updated in order to replace the buzz argument by the http adapter one which is now first and mandatory.
- The
apiHelper
property/getter/setter of theMapHelper
has been removed and the constuctor has been updated accordingly. - The
MapHelper::getLibraries
method has been moved to theCoreExtensionHelper
class.
- The
markers
property of theMap
have been removed in favor of themarkerCluster
property. - The
MapHelper
constructor have been updated to now takes aMarkerClusterHelperInterface
as 14th arguments instead of theMarkerHelper
. - The
markerHelper
property/getter/setter of theMapHelper
has been removed in favor of themarkerClusterHelper
ones. - The
MapHelper::renderJsContainerMarkers
method has been removed in favor of therenderJsContainerMarkerCluster
one. - The
MapHelper::registerMarkerInfoWindowEvent
method have been moved to theDefaultMarkerClusterHelper
class and has been renamed toregisterInfoWindowEvent
.
- The
Distance
,Duration
,TravelMode
&UnitSystem
which lived in theFungio\GoogleMap\Services\Directions
namespace have been moved in theFungio\GoogleMap\Services\Base
one in order to be shared across services. - The
MapHelper
constructor now takes anApiHelper
as 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
TemplatingException
has been renamed toHelperException
to be consistent with the namespace.