MapboxGLJS’s popup placed in the middle of two coordinates is never correct
I’m building an Angular app that will visualize a list of flights a user has taken. I’m drawing a line on the globe projection between two coordinates and whenever the line is clicked I’d like to display a popup with flight’s details.
MapboxGLJS’s popup placed in the middle of two coordinates is never correct
I’m building an Angular app that will visualize a list of flights a user has taken. I’m drawing a line on the globe projection between two coordinates and whenever the line is clicked I’d like to display a popup with flight’s details.