-
Notifications
You must be signed in to change notification settings - Fork 1
/
BSGoogleV3KmlParser.h
39 lines (33 loc) · 1 KB
/
BSGoogleV3KmlParser.h
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
//
// Created by Björn Sållarp on 2010-03-14.
// NO Copyright 2010 MightyLittle Industries. NO rights reserved.
//
// Use this code any way you like. If you do like it, please
// link to my blog and/or write a friendly comment. Thank you!
//
// Read my blog @ http://blog.sallarp.com
//
#import <Foundation/Foundation.h>
#import "BSKmlResult.h"
#import "BSAddressComponent.h"
#import "BSForwardGeocoder.h"
@interface BSGoogleV3KmlParser : NSObject {
NSMutableString *contentsOfCurrentProperty;
int statusCode;
NSMutableArray *results;
NSMutableArray *addressComponents;
NSMutableArray *typesArray;
BSKmlResult *currentResult;
BSAddressComponent *currentAddressComponent;
BOOL ignoreAddressComponents;
BOOL isLocation;
BOOL isViewPort;
BOOL isBounds;
BOOL isSouthWest;
}
@property (nonatomic, readonly) int statusCode;
@property (nonatomic, readonly) NSMutableArray *results;
- (BOOL)parseXMLFileAtURL:(NSURL *)URL
parseError:(NSError **)error
ignoreAddressComponents:(BOOL)ignore;
@end