google-maps-builder
google-maps-builder copied to clipboard
Provide an intuitive way to remove mashup groups from maps in the builder
Tested locally with all plugins disabled except Maps Builder Pro.

There will always be a single mashup item in the group - perhaps we should remove the "X" when there is a single mashup. @sstruemph can you expand on why you were trying to remove the single mashup?
Oops good point @DevinWalker . My question is, once mashups have been added, how can they be removed? There's a "Remove" button in the Mashup settings but it's greyed out.
Good point @sstruemph there needs to be a better way to remove mashups.
Right now you'd have to just select a CPT that is NOT a mashup and then click "Load Markers" - it will then remove all the current mashup markers. This is confusing and hardly ideal.
@DevinWalker I'd suggest a button like this:

And clicking that would automate the process you describe above.
I'd also suggest that the "Remove All Mashups" button only appears if a Mashup exists. And that after the Mashups are cleared out, that the remaining mashup metabox have "inactive" appended to its label so the user knows that there is actually no Mashups on the map currently.

@mathetos nice mockups! I agree.
- When no mashups are on the map, no empty group should appear
- When you click "Remove All Mashups" on an existing mashup group, the group is removed.
- When only 1 mashup group present and is removed that group is removed and the button is deactivated
@DevinWalker ,
I have some confusion on this issue. So I have prepared my query video so can you please review video when you get a chance and let me know your feedback.
Video: https://www.useloom.com/share/6e12358d7ac74025b44f71d735651ea2
Thanks