JakovTomasic / RitehMaps

Indoor navigation project for the Faculty of Engineering, Rijeka
Apache License 2.0
3 stars 1 forks source link

Map component new architecture #63

Closed JakovTomasic closed 6 months ago

JakovTomasic commented 7 months ago

I have created branch draw_elements and in one commit defined all types that define how the Map component should be built. See the changes and fix the code so everything works as intended. The goal is to have these MapDrawElement types that are specialized only to carry data necessary to draw the corresponding shape/UI object on the map.

Try to make this as flexible as possible. Map accepts list of elements (polymorphism/heterogeneous list). The main goal is to be able to easily add new draw element types, change their behaviors and/or appearances, change their types and more. All these changes should be small and simple in the future.