From 6b60ddf1029b912586f80b6b7727f8083fb122ea Mon Sep 17 00:00:00 2001 From: Bibiko Date: Sat, 9 Oct 2010 11:04:01 +0000 Subject: =?UTF-8?q?=E2=80=A2=20enabled=20thumbnail=20images=20of=20spatial?= =?UTF-8?q?=20geometry=20fields=20as=20tooltips=20-=20note:=20geometrycoll?= =?UTF-8?q?ection=20support=20will=20follow=20soon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTableContent.m | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Source/SPTableContent.m') diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 3aa154a7..760526c9 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -3350,14 +3350,14 @@ } } else if ([theValue isKindOfClass:[MCPGeometryData class]]) { - // SPGeometryDataView *v = [[SPGeometryDataView alloc] initWithCoordinates:[theValue coordinates]]; - // image = [v image]; - // if(image) { - // [SPTooltip showWithObject:image atLocation:pos ofType:@"image"]; - // [v release]; - // return nil; - // } - // [v release]; + SPGeometryDataView *v = [[SPGeometryDataView alloc] initWithCoordinates:[theValue coordinates]]; + image = [v thumbnailImage]; + if(image) { + [SPTooltip showWithObject:image atLocation:pos ofType:@"image"]; + [v release]; + return nil; + } + [v release]; } // Show the cell string value as tooltip (including line breaks and tabs) -- cgit v1.2.3