 
   _drawLayers: ->
     for layer in @config.drawOrder
+      if layer.indexOf(':') isnt -1
+        [layer, filter] = layer.split /:/
+        [filterField, filterValue] = filter.split /=/
+      else
+        filter = false
+
       continue unless @features?[layer]
 
       scale = Math.pow 2, @zoom

      features = @features[layer].tree.search box
      @notify "rendering #{features.length} #{layer} features.."
      for feature in features
        @_drawFeature layer, feature, scale

  _drawFeature: (layer, data, scale) ->
    feature = data.data


    #"poi_label", "water",
    drawOrder: [
      "admin"
      "building"
      "road"
      "water"
      "road:structure=bridge"

      "place_label"
      "poi_label"
