'Filtering Dates in Mapbox GL JS
I'm in need of a possible solution to filtering dates in my web application. This was a possible solution but, it still filters numerically. The rest of the code for filtering works just fine. Also, my dataset has the format "mm/dd/yyyy". Any ideas guys? (Btw, I have the date filter portion commented out so I can use my filter without it)
var crimeFilter=[
"all",
["in", "ZIP", zipCode],
//[">=", "Date", finishedFrom],
//["<=", "Date", finishedTo],
["in", "Crime", arson, assault, criminalDamage, dui, motorVehicleTheft, murder, resistingArrest, robbery, sexualAssault, theft, weaponsCharges]
]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
