RMLayerSet.h
1006 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
39
40
41
//
// RMLayerSet.h
// MapView
//
// Created by Joseph Gentle on 1/10/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RMFoundation.h"
#import "RMMapLayer.h"
@class RMMapRenderer;
@class RMMapContents;
@interface RMLayerSet : RMMapLayer
{
// This is the set of all sublayers, including those offscreen.
// It is ordered back to front.
NSMutableArray *set;
// We need this reference so we can access the projections...
RMMapContents *mapContents;
}
- (id)initForContents: (RMMapContents *)contents;
//- (void)insertSublayer:(RMMapLayer*) layer below:(RMMapLayer*)sibling;
//- (void)insertSublayer:(RMMapLayer*) layer above:(RMMapLayer*)sibling;
//- (void)removeSublayer:(RMMapLayer*) layer;
- (void)moveToXYPoint: (RMXYPoint)aPoint;
- (void)moveBy: (CGSize) delta;
- (void)zoomByFactor: (float) zoomFactor near:(CGPoint) center;
- (void) correctPositionOfAllSublayers;
//-(void) drawRect: (CGRect)rect;
//-(CALayer*) layer;
@end