From 4d31a3ed3a5e5120327337d8f83a85ac5b8e3675 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 28 Feb 2012 05:37:28 -0700 Subject: [PATCH] Method for getting both feature id and data. Having to call two methods to get complete feature information (id and data) is cumbersome. The `getFeatureInfo` method returns an object with both feature id and data. --- examples/utfgrid.html | 25 +++++++++++++------------ examples/utfgrid_twogrids.html | 17 +++++++++-------- lib/OpenLayers/Control/UTFGrid.js | 12 ++++++------ lib/OpenLayers/Layer/UTFGrid.js | 27 ++++++++++++++++----------- lib/OpenLayers/Tile/UTFGrid.js | 29 ++++++++++++++++++++--------- tests/Tile/UTFGrid.html | 19 +++++++++++-------- 6 files changed, 75 insertions(+), 54 deletions(-) diff --git a/examples/utfgrid.html b/examples/utfgrid.html index 4f9dd83064..c176c987b3 100644 --- a/examples/utfgrid.html +++ b/examples/utfgrid.html @@ -8,8 +8,8 @@ @@ -21,11 +21,11 @@
This page demonstrates the use of the OpenLayers UTFGrid Controls.
-

When the selected event is triggered, the underlying feature attributes are shown below.

+