Closed sergeantjonas closed 7 years ago
@sergeantjonas sorry for the delay. Do you mind fix tests?
What happened to this? Did it get merged?
@markebjones needs tests to be fixed
Ahh ok. Seems to be a problem with composer and fxp/composer-asset-plugin
? Looks like a common problem for many Pull Requests. Is it something specific that needs to be done to setup the tests correctly before they are run?
Give me a few min and I'll fix it
Cool. Thank you.
In our project we wanted to call fitBounds on our map to fit the view based on an array of LatLngBounds (coming from a drawn polygon) but since this code:
was being called at the end regardless, we couldn't. So I extended the registerScript function in Map to use an extra parameter in ClientOptions to use fitBounds instead of setView if it is set. The parameter should be a JsExpression of LatLngBounds::getBoundsOfLatLngs().