Open kfarr opened 11 months ago
I'm thinking about how the user will add street selectors to the component. Other intersection parameters can be changed in the right panel. Another question - is it assumed that the width of the opposite streets of the intersection (south-north or east-west) is the same or not necessarily?
I'm also going to allow for cases where there are only 2 or 3 streets in intersection. Like this example: https://github.com/3DStreet/3dstreet/blob/main/intersection.html
As an advocate creating an alternative design for streets that approach an intersection, I'd like to be able to define an intersection that automatically sets its dimensions to match the 4 streets that I specify. I'd also like to be able to specify whether or not the intersection has crosswalks, stop signs, signals, and any other feature from the existing intersection component.
This could be described as a "wrapper" component that adds extra logic to the existing intersection component: https://github.com/3DStreet/3dstreet/blob/main/src/index.js#L126