topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-TiMapRouteAnnotation.h / h



  
Appcelerator Titanium Mobile Copyright (c) 2010 by DerbyApp, Inc. All Rights Reserved. Licensed under the terms of the Apache Public License Please see the LICENSE included with this distribution for details. WARNING: This is generated code. Modify at your own risk and without support.

  
  #import <TiBase.h>
  
  ifdef USE_TI_MAP
  
  #import <MapKit/MapKit.h>
  
  @interface TiMapRouteAnnotation : NSObject<MKAnnotation> {
  @private
          // points that make up the route. 
          NSMutableArray* points; 
          // computed span of the route
          MKCoordinateSpan span;
          // computed center of the route. 
          CLLocationCoordinate2D center;        
          // color of the line that will be rendered. 
          UIColor* lineColor;
          // id of the route we can use for indexing. 
          NSString* routeID;
          // the width of the line
          CGFloat width;
  }
  
  @property (readonly) MKCoordinateRegion region;
  @property (nonatomic, assign) CGFloat width;
  @property (nonatomic, retain) UIColor* lineColor;
  @property (nonatomic, retain) NSMutableArray* points;
  @property (nonatomic, retain) NSString* routeID;
  
  -(id) initWithPoints:(NSArray*) points;
  
  @end
  
  endif


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.