agrc / kitchen-sink

UGRC spatial react components.
https://gis.utah.gov/developers
MIT License
4 stars 0 forks source link

sandwich workflow #16

Open stdavis opened 8 years ago

stdavis commented 8 years ago

We need to allow users to sandwich their data in between the base and overlay layers.

One way to do it would be to accept a new construction parameter (sandwich or cheese) that would accept a reference to the layer that the user wants to sandwich. The user would then be responsible to control visibility of the layer independent of the layer-selector widget.

steveoh commented 8 years ago

we would have to return a reference to the layer or accept an already created layer object.

stdavis commented 8 years ago

I think that accepting an already created layer object is the best bet. Seems the most simple workflow.