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

Multiple Pins #19

Open
pixelninja opened this issue Jan 25, 2017 · 3 comments
Open

Multiple Pins #19

pixelninja opened this issue Jan 25, 2017 · 3 comments

Comments

@pixelninja
Copy link

Not an issue, I'm just wondering if anyone has attempted to add multiple pin support before? Entries in my Section will have multiple locations, so at the moment I'm thinking of creating a separate Maps section and using Association field to create multiple.

But ideally, this beautiful extension would manage the lot and have multiple markers.

Keep up the great work!

@nitriques
Copy link
Member

@pixelninja Delegating the relationship (one to many) to a specialized field is the way to go IHMO. This concept scales better and allows adding extra information (i.e. fields) in the future, while scarifying a bit of the user experience. I'll leave open for future discussion!

@pixelninja
Copy link
Author

Yea I agree that in most cases a one to many works best. In my current use case, it's quite simple though. Just multiple pins, no other fields needed, so having to open, create, close, open create, close etc is a but tedious for the user. A simple 'add another pin' button and dragging it seems more intuitive.

But, like I said, in most cases one to many is the better/more elegant solution making this request more effort than it's worth perhaps.

@nitriques
Copy link
Member

You are also right. Software is always about trade offs :) And PR are welcome :)

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

No branches or pull requests

2 participants