[nodebb-plugin-embed-gmap] My first plugin
Hi guys, I discovered nodebb two weeks ago, here is my first plugin (inspired by youtube-lite and imgbed): https://github.com/jenkin/nodebb-plugin-embed-gmap.
Once activated, it replaces strings such as [map <location>] (where <location> is a generic string) with a link to a Google Map with a pin on <location> (if found).
The plugin provides also an admin page where you can set an API Key for Google Maps Embed API. In this case, the plugin embeds at the end of the post an interactive map for each <location> found.
Comments are appreciated, so I can highlight errors or bad patterns and avoid them in the future... Thanks a lot for this great project!
Yes, I saw it, but my needs are different: interactive maps in posts...
I have a question: is a good idea to use a bbcode such as [map ...]? Maybe a [egmap]...[/egmap] is better? Or something else?
I want also to add a button for the editor to add the right markup to selection with a simple click... Have you an example to suggest me?
And when the plugin will reach a v1 stable version, how can I add it to the ACP? Ok, rtfm, I know...