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 map overlays #12

Open
IanMayo opened this issue Mar 8, 2019 · 4 comments
Open

Multiple map overlays #12

IanMayo opened this issue Mar 8, 2019 · 4 comments
Assignees

Comments

@IanMayo
Copy link
Collaborator

IanMayo commented Mar 8, 2019

We don't expect the coastline map to change (yellow land & light blue sea).

But, we can expect the above & beneath water environments to change,

We should probably also include support for switching either environment on/off, like layers.

In order to allow both layers to be viewed at once, they'll have to be semi-transparent. So, I guess the datafiles (json) that represent them will have to include:

  • series of cell references, each with the category
  • key of categories, with: 'name', 'color', 'alpha'

We can also then put a key on the map, potentially at the bottom-left.

If we do have a layer manager, maybe it will be implemented in HTML. But, until we get some momentum in HTML side, d3 will do.

You mentioned the concept of pan/zoom #8 . If this was on a toolbar (floating or not) we could include a drop-down with checkboxes to switch layers on and off.

Much later on, that drop-down menu could include "Command Intent" - large simple labelled shapes that describe their rough intent, or the range of courses of action being considered.

@BMPMS
Copy link
Collaborator

BMPMS commented Mar 8, 2019 via email

@BMPMS
Copy link
Collaborator

BMPMS commented Mar 11, 2019

Not sure where we are with this one? My suggestion:

  • instead of overlays allow white cell to redefine the "type" of the hex data at the start of a Turn
  • allow white cell to mark certain "types" as inaccessible (by vessel type? ie a helicopter could go on land but a submarine couldn't)

These can just be programmed into the current code quite easily.

@IanMayo
Copy link
Collaborator Author

IanMayo commented Mar 13, 2019

@BMPMS - I've just gone back through my emails, and found this:
type was (i think), 0 for sea, 1 for land, the rest for types of sea.

There are three blue shades. To give us something to go on, I'll label them (from lightest to darkest):

  • Shallow Water
  • Deep Water
  • Ocean Front

@BMPMS
Copy link
Collaborator

BMPMS commented Mar 14, 2019 via email

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

No branches or pull requests

2 participants