nearby-javascript icon indicating copy to clipboard operation
nearby-javascript copied to clipboard

Center the search button at bottom of map view

Open mikewilburn opened this issue 7 years ago • 4 comments

The Search button is currently centered at the bottom of the entire application window. It would demonstrate a better practice to show how to center it at the bottom of just the map view.

It appears a bit oddly when it becomes offset: image

mikewilburn avatar Jan 15 '19 19:01 mikewilburn

This would make it consistent with how Google Maps behaves when we pan or otherwise move the initial searched map extent.

image

mikewilburn avatar Jan 15 '19 19:01 mikewilburn

This will require I build a custom snackbar component rather than use the one that comes with @rmwc that I use. I can do this at a later date.

odoe avatar Jan 15 '19 23:01 odoe

Good to know @odoe. I don't think it's imperative that it's done right away anyway.

mikewilburn avatar Jan 15 '19 23:01 mikewilburn

It would also be nice for the snackbar (when/if implemented) to not auto-dismiss from view if the the user doesn't interact with it immediately. Google's "SEARCH THIS AREA" button remains visible until clicked.

mikewilburn avatar Feb 12 '19 18:02 mikewilburn