2amigos / yii2-leaflet-extension

Yii 2 Extension library to display interactive maps with Leaflet .
http://yiiwheels.com
Other
30 stars 26 forks source link

Fix map load event #15

Closed sheershoff closed 8 years ago

sheershoff commented 9 years ago

The load event function in config was not fired because it is fired on setting map zoom/location, and it was set before events binding section. However, postponing setting zoom/location after events are bound allows the code to execute.

See https://github.com/Leaflet/Leaflet/issues/3560

sheershoff commented 9 years ago

Scrutinizer error is timeout for external code coverage

tonydspaniard commented 8 years ago

do tests run successfully?

tonydspaniard commented 8 years ago

Hi @sheershoff Do you mind fixing conflicts and tests? I would like to merge it

tonydspaniard commented 8 years ago

done https://github.com/2amigos/yii2-leaflet-extension/commit/dcc0ae87af133f37a403ddd3c07fca9a45efb8d0