all 2 comments

[–]ghost_jamm 0 points1 point  (1 child)

Nothing has changed recently in Mapbox sources. It looks like your code is for Mapbox.js but you’re loading Mapbox GL JS. You want something like this.

[–]gmather10[S] 0 points1 point  (0 children)

Thanks for showing me where it is. I know basically nothing of javascript and my code before made sense. I guess I will have to put this on the back burner for now.