Closed Richtermeister closed 10 years ago
Ok, I got it this time. For the dependencies, I would prefer to maintain a compatibility with Symfony 2.*, so your second proposal seems the good solution. Btw, can you make your PR against the 2.0 branch? Thx
Backwards Compatible version here: https://github.com/egeloen/IvoryGoogleMapBundle/pull/93
Thanks.
Closing for #95
This PR disables the distance_matrix and direction sections by default, so there is no default dependency on http adapter. Default section settings can be enabled via
directions: true
.Note that this makes use of a Symfony 2.2 feature. If this is a no-go, we can also not set sections defaults and watch for the presence of sections in extension via isset().