Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 93656

A WebGL JavaScript interactive maps library that can render Mapbox Vector Tiles.

2 votes
Accepted

Mapbox expression to return greater of two values

I would interpret 'greater of two values' as the (PG) SQL equivalent of SELECT GREATEST(column_1, column_2) ... However, the query you posted would simply translate to "filter": [">", ["get", "col …
geozelot's user avatar
  • 30.9k
2 votes
Accepted

Multiple Criteria in Mapbox Expressions

Try concatenating the values: ["match", ["concat", ["get", "title"], ["get", "marker-symbol"], ], "Social Kitchen and BreweryRestaurant", "#f9a951", "#000000" //fallback ] You may w …
geozelot's user avatar
  • 30.9k
4 votes

Creating a popup when hovering a line in Mapbox

You'd need to add the closing as part of a mouseleave event map.on('mouseleave', 'routeThree', function() { popup.remove(); }); Note that this assumes a template popup var above function scope to …
geozelot's user avatar
  • 30.9k