MapView.h
739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// MapView.h
// Images
//
// Created by Joseph Gentle on 13/08/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
//#import "MapRenderer.h"
//#import "TileSource.h"
typedef struct {
CGPoint center;
float averageDistanceFromCenter;
} GestureDetails;
@protocol TileSource;
@class MapRenderer;
//@class TileSource;
//@class TileImageSet;
@interface MapView : UIView {
id<TileSource> tileSource;
MapRenderer *renderer;
bool enableDragging;
bool enableZoom;
GestureDetails lastGesture;
}
@property (assign, readwrite, nonatomic) bool enableDragging;
@property (assign, readwrite, nonatomic) bool enableZoom;
@property (retain, readwrite, nonatomic) id<TileSource> tileSource;
@end