- The
Ivory\GoogleMap\Helper\Utils\JsonBuilder
have been extracted to a dedicated library for reusability purpose.
- 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 theIvory\GoogleMap\Services\Directions
namespace have been moved in theIvory\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.