I was adapting the Satellite Explorer / D3 / Observable notebook to have some presets, allowing for free dragging of the latitude/longitude/etc. parameters with also the ability to pick from certain presets. I should be able to use the set function described in the “Synchronized Inputs” example, but I can’t seem to set the value of a view in my attempt: Satellite explorer with presets / Ahmed Fasih / Observable?
When I click on one of the buttons—all of which should set the rotation view to a hardcoded value, [200, 13, 0]—the form’s value don’t get updated, though I do see the map blur for a moment before returning to full accuracy, as if I’d changed the sliders.
This makes me think that I can’t mindlessly use the set function to set the HTML form’s value but I’m unsure how I should be tweaking it for this to work. I don’t think I need to encode the event that’s dispatched do I?