Cleaned up a syntax error and added in files and default search code to hardcode for now
A little bit of stabliziation, no errors on load now, redefined hte URIs and variables for data store better on the airport. Page loads without error now but searchign doesn't trigger any events.
Got it working, then it started not working when i commented out singlesearchresults.subscribe, but now works at least for properly launching the ajax request, even though there's nothing happening in the method, and in addition the singlesearchresults lazyobservable isn't even used anywhere anymore because I cut over to the extenders version
Fixed random input variable mismatch in airport. need to commit more often
It's fetching a code when you enter the airport code now without errors, as it has before. now it replots the markers, which I didn't do anything for but I'm assuming is happening because of something to do with updating airportData or the format of how the results are stored in teh underlying data driving variables. Need to now make the data trigger the HTML tables
Fixed the data display in the html table, and added in some comments. Also added in panning logic, though it needs to be consolidated into a single subscribe method that fires every time an airport is changed, and uses the delta logic to determine where to pan the map
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