Skip to content
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

Bookmark util functions #994

Closed
wants to merge 5 commits into from
Closed

Conversation

reckter
Copy link
Contributor

@reckter reckter commented May 1, 2015

Finished implementing #980:

Created utility functions (and docs) for the bookmarks plugins:

  • added folder ability to addPortalBookmark(guid, latlng, label, folder)
    added methods:
  • addMapBookmark(name, lat, lat, zoom, folder)
  • addFolder(name, isPortalFolder)
  • removePortalByGuid(guid)
  • removePortalFromFolder(folder, guid)
  • removeFolder(id)
  • removeMap(id)

Also used these methods in the addElement and removeElement method, so no duplicate code was crated.

@tillmanj
Copy link

tillmanj commented Jul 6, 2015

Nested folders would go a long way to improving bookmark handling as well

@reckter
Copy link
Contributor Author

reckter commented Nov 15, 2015

Yes you're right, but I guess that might need a major refactor of that plugin. I'm not sure I want to that though cause I'm not sure it will be heated :/ (a simple pull request as #993 has not heared response yet, and I don't want to put time into something that will not have any effect anyway)

@reckter reckter mentioned this pull request Nov 15, 2015
@reckter
Copy link
Contributor Author

reckter commented Jul 15, 2016

Updated, so this can be easily merged

@reckter
Copy link
Contributor Author

reckter commented Oct 23, 2020

Closing this for cleanup purposes of my open PRs

@reckter reckter closed this Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants