Closed aaronbrethorst closed 1 week ago
@aaronbrethorst
Done
@Ahmedhossamdev I think this is looking great! The one big change I'd like to see here is for you to move the
switch
driven logic for determining behavior depending on Google Maps or OSM into the map provider files GoogleMapProvider.js and OpenStreetMapProvider.js using a common 'interface'.
Nice idea; I will refactor it
Hello @aaronbrethorst,
I’ve encapsulated everything in the code now. The stop markers and info windows are properly managed within the GoogleMapProvider and OpenStreetProvider classes. Both adding and removing stop markers, as well as handling the info windows, are now fully self-contained.
Please feel free to review and let me know if there’s anything else you’d like to adjust.
@Ahmedhossamdev I see a couple merge conflicts on this PR. Can you resolve them? Let me know if I can help you with that.
Done
@aaronbrethorst
Remaining Tasks