title: Android Mapbox - Filering from GeoJson file so that only points with certain property show
body: <p>Browsed and looked for an answer but was not able - hopefully this isnt a double.</p>
  <p>Basically an activity in the app i'm developing would only show points (on a circlelayer) on the mapbox map - BUT only if they have a feature property set to true (boolean - which can have its value changed from another activity on the same app, depending if you have visited the location or not).</p>
  <p>Here is the Json</p>
  <pre><code>{
    &quot;features&quot;: [
      {
        &quot;type&quot;: &quot;Feature&quot;,
        &quot;properties&quot;: {
          &quot;title&quot;: &quot;name of place&quot;,
          &quot;Country&quot;: &quot;countryname&quot;,
          &quot;Region&quot;: &quot;regionname&quot;,
          &quot;poi&quot;: &quot;Monument&quot;,
          &quot;selected&quot;: false,
          &quot;Visited&quot;: false, //This value here is to be filtered
          &quot;Visityear&quot;: &quot;No&quot;,
          &quot;Visitmonth&quot;: &quot;No&quot;,
        },
        &quot;geometry&quot;: {
          &quot;coordinates&quot;: [
            25.588019,
            45.641036
          ],
          &quot;type&quot;: &quot;Point&quot;
  
  ...etc, more values, etc
  </code></pre>
  <p>Now, the boolean can be set from another activity as true or false, but on this particular map - i would only need to have the simple map, but showing only the points where the &quot;Visited&quot; is &quot;true&quot;</p>
  <pre><code>            private void addPointsLayer(@NonNull Style loadedMapStyle) {
                  CircleLayer Seenlayer = new CircleLayer(&quot;points&quot;, GEOJSON_SOURCE_ID);
                  Seenlayer.setProperties(
                          PropertyFactory.circleColor(Color.RED),
                          PropertyFactory.circleRadius(2f),
                          PropertyFactory.circleOpacity(0.4f));
                  Seenlayer.setFilter(
                          Expression.all(
                                  eq(literal(&quot;$type&quot;), literal(&quot;Point&quot;)),
                                  eq(get(&quot;Visited&quot;), true))); //Im sure its something here!
                  loadedMapStyle.addLayer(Seenlayer);
              }
  </code></pre>
  <p>Tried several options - but either no points show up at all, or they show up regardless of the value of &quot;Visited&quot;</p>