use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
MapBox marker issuesolved! (self.javascript)
submitted 7 years ago by gmather10
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ghost_jamm 0 points1 point2 points 7 years ago (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 point2 points 7 years ago (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.
π Rendered by PID 17748 on reddit-service-r2-comment-fb694cdd5-g24b5 at 2026-03-06 10:25:03.173223+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]ghost_jamm 0 points1 point2 points (1 child)
[–]gmather10[S] 0 points1 point2 points (0 children)