3dstreet icon indicating copy to clipboard operation
3dstreet copied to clipboard

automatic intersection component

Open kfarr opened this issue 1 year ago β€’ 2 comments

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

kfarr avatar Dec 27 '23 02:12 kfarr

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?

Algorush avatar Jun 18 '24 16:06 Algorush

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

Algorush avatar Jun 21 '24 01:06 Algorush