]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/start.rjs
Include node coordinates on the data browser view for a node. Fixes #1856.
[rails.git] / 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,
 
       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,
         maxFeatures: 100,
         requestSuccess: customDataLoader,
         displayInLayerSwitcher: false,