Closed davidjeddy closed 8 years ago
@davidjeddy it does handle more than one plugin, the problem with your code is the concatenation of methods on the first example. See here: https://github.com/2amigos/yii2-leaflet-extension/blob/master/src/LeafLet.php#L238.
The second should work. Maybe there is a plugin conflict issue?
After setting up the map (working) my project requires the usage of both the geoSearch and another plugin. However, this does not seem to be implemented at the moment. Exp:
This results in a ' PHP Fatal Error – yii\base\ErrorException Call to a member function installPlugin() on a non-object' error. So I broke the
installPlugin()
method call out.Only the LAST plugin is displayed in the map element.
How can the Leaflet extension be extended to handle more than one plugin?