wp-plugin-leaflet-map
wp-plugin-leaflet-map copied to clipboard
Add Gutenberg Block
I think it would be great to have a Gutenberg block which is based on the shortcode generator.
I looked into this a bit, and I'm not sure exactly how it should work. Any thoughts?
My idea was this:
- The users can add leaflet blocks in the gutenberg editor. When they do that,
- there is an interactive map in the editor (similar to the existing shortcode generator) where they can select a view / point of the map.
- They can toggle / check what features they want. E.g. a map marker.
- In the actual article the map is displayed with the selected features.
I looked into this a few times, and so far I have found Gutenberg block development to be difficult. More difficult than maintaining this plugin in the first place! Really cool idea but possibly out of my range in terms of time/experience
there's a block available (with fewer options) – maybe something can be included from that plugin. A bit above my wp level as well unfortunately :/
I kind of hate gutenberg blocks. I have a hard time believing I'd accept a PR for this. At the moment, I think I'll have to close this feature request