Override interestingTagsExclude in GML layer - improve databrowser in US by ignoring...
authorAndy Allan <gravitystorm@gmail.com>
Fri, 22 May 2009 14:20:22 +0000 (14:20 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Fri, 22 May 2009 14:20:22 +0000 (14:20 +0000)
app/views/browse/start.rjs

index 8c8d622606c71910156540a8c01cd1f1de3c5afc..1cf423163f7e2b08ef274e7d5572226348bfe3f5 100644 (file)
@@ -210,7 +210,10 @@ page << <<EOJ
 
       browseDataLayer = new OpenLayers.Layer.GML("Data", url, {
         format: OpenLayers.Format.OSM,
-        formatOptions: { checkTags: true },
+        formatOptions: {
+          checkTags: true, 
+          interestingTagsExclude: ['source','source_ref','source:ref','history','attribution','created_by','tiger:county','tiger:tlid','tiger:upload_uuid']
+        },
         maxFeatures: 100,
         requestSuccess: customDataLoader,
         displayInLayerSwitcher: false,