-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin interface #1392
Comments
So, in light of recent news about feature extraction plugin, is there a plugin API now? Can anyone make some example plugins? |
Hi! Is there any progress on plugins? If I want to extend an editor, is JOSM a better choice at the moment? |
@bhousel I looked at the PR #3503 to understand the interface you were thinking for this. When you mention events for plugins to hook into, did you imagine these as new events or existing ones used inside iD? If existing, are these events documented anywhere? For example, I'm trying to add a plugin to the inspector when someone selects (or hovers) on a node in the map, but I'm having trouble finding the correct object to listen on and event to listen for. |
Existing events, unless we think of other ones that a plugin might need. For example, the intro walkthrough uses events on the history and map objects to watch for everything a user does, prompt them, advance them through the tutorial steps. As far as documentation goes, we don't have anything yet, sorry! Tracking this task on #3743. Unfortunately I need to balance a lot of different things in this project - and bugfixes and features that help new mappers have taken priority over features for power users or iD developers.
Nice, you might want to look at the info panels that I just added in v2.3.0 - this might be a good way to extend iD right now until we figure out plugins. If your code matches the interface of the other info panels, you could probably inject it directly into the |
Thanks for the pointers! The panels look useful, so I'll try that, but I'll have to see if they are useful as an editing interface (instead of just info display). |
I think some small additions to iD that maybe not everyone would want would be neat as plugins: |
Split off from #1391.
Essentially: what types of functional plugins should iD support and how? Should it be a js interface? How should they be installed?
The text was updated successfully, but these errors were encountered: