Working data-wise but zooming is a bit weird, and gotta combine marker and map bounding logic
Working pannign to all the different airports and for when 2 airports are selected. bug when you go from 2 airports selected to a different 2 airprots elected, just changing one of them, it doesn't trigger the oneAirportSelected subscribe that currently controls that logic. Need to have a method for setting 1 marker, plotting flight between 2 markers, and setting initial position, and call each of those in the update handler of each airport, using a sequence of if statements for each to call the same helper methods
FINALLY THINGS WORK NOW. Reworked how the markers and rendering was updated, needed to consolidate all of the map display rendering logic in the viewmodel into something extensible and generic, and then come up with a more generic way, but not completely generic way, to deal with the 3 different markers that we display on the screen. ideally later this should become a collection of markers / points, so that additional airports in a trip can be added, but for now we'll just hardcode it to the 3 that we have, and add minor logic to deal with how rendering happens as a result of different situations. eventually this should be easy to make generic as i reduce the rest of the code into something more consolidated and straightforward. need to delete commented code now and implement the typeahead and airport search by name service.
Removed all the random commented code I had kept in just to have record of what I'd previously tried
Random binary difference
Fetches correct search results and pushes those results to autocomplete options. Now that that integration is working, need to just clean up the organization of everything, add better templates for display of the different typeahead states, and fix the knockout observable-ness that went away, probably due to the typeahead now managing when the searchterm actually changes and when results are actually fetched
Random nonworking state halfway to getting typeahead + bloodhound