I found a possible starting point under tests: tests/functional/views/map-leaflet-config.php
But the referenced tests\TestPlugin; is missing in the GitHub repository.
I would like to use or create the Leaflet.heat Javascript plugin as a real Yii2 Leaflet plugin. I created a quick and dirty solution based on a regular Yii2 component LeafletHeatmap.php.zip but would really like a more robust "official" solution and it looks like a Leaflet Plugin is the intended way to do so.
Hi there,
Question: how does one create a Leaflet Plugin?
I found a possible starting point under tests:
tests/functional/views/map-leaflet-config.php
But the referenced
tests\TestPlugin;
is missing in the GitHub repository.I would like to use or create the Leaflet.heat Javascript plugin as a real Yii2 Leaflet plugin. I created a quick and dirty solution based on a regular Yii2 component LeafletHeatmap.php.zip but would really like a more robust "official" solution and it looks like a Leaflet Plugin is the intended way to do so.