Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alpha-premult and y-flip are deprecated for non-DOM-Element uploads in mapbox

Hello i try to use Mapbox for my web app, but when i try set lng 34.0544779, and -118.2443409 i have problems Invalid LngLat latitude value: must be between -90 and 90

When i remove center and create marker. texImage2D: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.

This is my all code

like image 667
xeso Avatar asked Oct 18 '25 20:10

xeso


1 Answers

when i try set lng 34.0544779, and -118.2443409 i have problems Invalid LngLat latitude value: must be between -90 and 90

You are most likely setting the parameters in the wrong order. It must be [longitude, latitude]. So, [-118.244.409, 34.0544779].

When i remove center and create marker. texImage2D: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.

You can ignore this. I don't know the cause, but I see this message all the time.

like image 191
Steve Bennett Avatar answered Oct 22 '25 08:10

Steve Bennett



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!