Last active
April 30, 2021 08:58
-
-
Save squio/21616c5d5c1d43f181941dd2619d52f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Insert geoseach JS after leaflet JS files from yii2-leaflet-extension | |
// https://github.com/2amigos/yii2-leaflet-extension | |
// https://github.com/smeijer/leaflet-geosearch | |
$this->registerJsFile('https://unpkg.com/[email protected]/dist/geosearch.umd.js', [ | |
'depends' => [\dosamigos\leaflet\LeafLetAsset::class] | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment