Sha256: e18a8c3514a781043ca6ba59529e07f4cc547b619eb43d51516568329d86d79d

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 KB

Contents

//
//  MapViewController.h
//
//  Created by Vlad on 9/16/09.
//  Copyright 2009 Rhomobile, Inc. All rights reserved.
//

#ifdef __IPHONE_3_0

#import <MapKit/MapKit.h>
#import <MapKit/MKAnnotation.h>
#import <MapKit/MKReverseGeocoder.h>
#import "GoogleGeocoder.h"
#import "RhoViewController.h"

#include "ruby/ext/rho/rhoruby.h"


 

@interface MapViewController : RhoViewController <MKMapViewDelegate, MKReverseGeocoderDelegate> {
    MKMapView *mapView;
    MKReverseGeocoder *geoCoder;
    GoogleGeocoder* ggeoCoder;
    UIToolbar* toolbar;
    MKMapType mapType;
    BOOL zoomEnabled;
    BOOL scrollEnabled;	
    BOOL showsUserLocation;
    BOOL region_set;	
    MKCoordinateRegion region;
    NSString *region_center;
    CLLocationDegrees region_radius;
    NSString *gapikey;
	UIView* savedMainView;
    //IBOutlet UISegmentedControl *mapType;
}

// 
@property (copy) NSString *region_center;
@property (copy) NSString *gapikey;
@property (nonatomic,retain) UIView *savedMainView;

+ (void)createMap:(rho_param*)params;
+ (void)closeMap;

- (void)setParams:(rho_param*)params;
- (void)close;

@end

#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rhodes-2.2.6 platform/iphone/Classes/MapView/MapViewController.h
rhodes-2.2.6.beta.1 platform/iphone/Classes/MapView/MapViewController.h
rhodes-2.2.5 platform/iphone/Classes/MapView/MapViewController.h
rhodes-2.2.5.beta.3 platform/iphone/Classes/MapView/MapViewController.h
rhodes-2.2.5.beta.2 platform/iphone/Classes/MapView/MapViewController.h
rhodes-2.2.5.beta.1 platform/iphone/Classes/MapView/MapViewController.h
rhodes-2.2.4.beta.1 platform/iphone/Classes/MapView/MapViewController.h