mezerotm / cmv

CMV is a citySDK based map visualizatoin tool
5 stars 5 forks source link

Add indicator for active map #28

Open NJTuley opened 7 years ago

NJTuley commented 7 years ago

It got removed somewhere in the changes, it is just a minor change, but right now there is no indication that I saw of which map is active at the current moment

NJTuley commented 7 years ago

Me and carlos were discussing the necessity of even having an active map indicator, and wanted to hear any thoughts on the topic, so we can decide this before going forward with the issue.

hardnett commented 7 years ago

Idea A: Colored Border Around Active Map

screen shot 2017-04-21 at 12 54 00 am

hardnett commented 7 years ago

Idea B: Shade all of the inactive maps

screen shot 2017-04-21 at 1 04 18 am

mezerotm commented 7 years ago

I lean towards ideas around A; shading unused maps may make it difficult to juxtupose maps and may give the wrong impression that they are useless when not active.

NJTuley commented 7 years ago

I would go with the colored outline, a quick question though. Is there any way to manipulate the color of the google maps built-in UI, or maybe put an indicator on the google map that would show active map? So we don't have the mess with the spacing that would come with putting a thin border around the active map? Just a thought

mezerotm commented 7 years ago

CSS is pretty flexible when it comes to borders, the solution may be there without needing to look further. link to code image I recall being able to change border align stroke in css, but can't seem to find what it's properly called. image

NJTuley commented 7 years ago

We tried that earlier (briefly), and it was not showing up when we made the border go within the box, I believe that is because the border is being applied to the div, then the google map is being put on top of said div, which hides the border.