Closed mohanadarafe closed 4 years ago
Overall
You are very good and you make this feature looks very easy. Though, I think your solution is hard to extend. How hard would it be for someone who doesn't know your code to do it? If the answer is easy, You're the man. 🥇 From what I'm seeing, it's tedious.
Steps to add a floor map: 1) Convert SVG Map to React Native SVG function using playground 2) Create node graph & layout coordinates of classrooms
This is simple, but, if we had an AI detecting coordinates for us (such as checkpoints & what-not), this would be easy to extend. For now, we stick to writing out the graph ourself.
In this PR, I am adding H9 floor map, directions from & to it + small modifications to algorithms. #162
Test