Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

documentation: how to create a Plugin? #30

Open
squio opened this issue May 24, 2016 · 2 comments
Open

documentation: how to create a Plugin? #30

squio opened this issue May 24, 2016 · 2 comments
Labels

Comments

@squio
Copy link

squio commented May 24, 2016

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.

@tonydspaniard
Copy link
Member

You can see how they look here: https://github.com/2amigos/yii2-leaflet-makimarker-plugin

@tonydspaniard
Copy link
Member

tonydspaniard commented Oct 26, 2016

@squio I didn't see the file there :) checking it!

Edit: Seems quite easy to implement... are you going to implement it or?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants