2amigos / yii2-leaflet-extension

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

Please release version with bounds client option #37

Closed squio closed 7 years ago

squio commented 7 years ago

Just noticed that the option to set map bounds is not yet released. Could you please release this version?

$leaflet->clientOptions['bounds'] = $myPolyLine->bounds->encode();

I desperately want to be able to do this!

squio commented 7 years ago

Quick work around for now, in composer.json:

"require": {
    "2amigos/yii2-leaflet-extension": "dev-master",
    ...
},
"repositories": [
    {
        "type": "git",
        "url": "https://github.com/2amigos/yii2-leaflet-extension.git"
    }
]

Followed by your regular composer update on the command line.

tonydspaniard commented 7 years ago

done @squio Thanks!