// Copyright 2011 ESRI
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
//
// See the use restrictions at http://help.arcgis.com/en/sdk/10.0/usageRestrictions.htm
//
#import <UIKit/UIKit.h>
#import "ArcGIS.h"
@interface RoutingSampleViewController : UIViewController<AGSMapViewCalloutDelegate, AGSInfoTemplateDelegate, AGSMapViewTouchDelegate, AGSRouteTaskDelegate, UIAlertViewDelegate> {
AGSMapView *_mapView;
AGSGraphicsLayer *_graphicsLayer;
AGSSketchGraphicsLayer *_sketchLayer;
AGSStopGraphic *_currentStopGraphic;
AGSGraphic *_selectedGraphic;
AGSDirectionGraphic *_currentDirectionGraphic;
AGSRouteTask *_routeTask;
AGSRouteTaskParameters *_routeTaskParams;
AGSRouteResult *_routeResult;
int _numStops;
int _numBarriers;
int _directionIndex;
UIView *_stopCalloutView;
UIView *_directionsBannerView;
UILabel *_directionsLabel;
UISegmentedControl *_sketchModeSegCtrl;
UIBarButtonItem *_prevBtn;
UIBarButtonItem *_nextBtn;
UIBarButtonItem *_addBtn;
UIBarButtonItem *_clearSketchBtn;
}
@property (nonatomic, retain) IBOutlet AGSMapView *mapView;
@property (nonatomic, retain) IBOutlet UISegmentedControl *sketchModeSegCtrl;
@property (nonatomic, retain) IBOutlet UIView *directionsBannerView;
@property (nonatomic, retain) IBOutlet UILabel *directionsLabel;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *prevBtn;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *nextBtn;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *addBtn;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *clearSketchBtn;
@property (nonatomic, retain) AGSGraphicsLayer *graphicsLayer;
@property (nonatomic, retain) AGSSketchGraphicsLayer *sketchLayer;
@property (nonatomic, retain) AGSRouteTask *routeTask;
@property (nonatomic, retain) AGSRouteTaskParameters *routeTaskParams;
@property (nonatomic, retain) AGSStopGraphic *currentStopGraphic;
@property (nonatomic, retain) AGSGraphic *selectedGraphic;
@property (nonatomic, retain) AGSDirectionGraphic *currentDirectionGraphic;
@property (nonatomic, retain) UIView *stopCalloutView;
@property (nonatomic, retain) AGSRouteResult *routeResult;
- (AGSCompositeSymbol*)stopSymbolWithNumber:(NSInteger)stopNumber;
- (AGSCompositeSymbol*)barrierSymbol;
- (AGSCompositeSymbol*)routeSymbol;
- (AGSCompositeSymbol*)currentDirectionSymbol;
- (void)respondToGeomChanged: (NSNotification*) notification ;
- (IBAction)addStopOrBarrier:(id)sender;
- (IBAction)resetBtnClicked:(id)sender;
- (IBAction)stopsBarriersValChanged:(id)sender;
- (IBAction)routeBtnClicked:(id)sender;
- (IBAction)clearSketchLayer:(id)sender;
- (IBAction)nextBtnClicked:(id)sender;
- (IBAction)prevBtnClicked:(id)sender;
- (void)reset;
- (void)removeStopClicked;
- (void)updateDirectionsLabel:(NSString*)newLabel;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
IOS应用源码之开发者大会demo .zip
共199个文件
png:42个
m:31个
xib:29个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 53 浏览量
2022-07-09
14:51:27
上传
评论
收藏 396KB ZIP 举报
温馨提示
IOS应用源码之开发者大会demo .zip
资源推荐
资源详情
资源评论
收起资源包目录
IOS应用源码之开发者大会demo .zip (199个子文件)
.DS_Store 15KB
.DS_Store 12KB
.DS_Store 12KB
.DS_Store 12KB
.DS_Store 12KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
polygon.gif 909B
point.gif 866B
savesketchX.gif 325B
clearsketch.gif 322B
savesketch.gif 315B
clearsketchX.gif 111B
selectfeature.gif 110B
line.gif 92B
redo.gif 85B
undo.gif 85B
undoX.gif 85B
redoX.gif 85B
RoutingSampleViewController.h 3KB
FeatureDetailsViewController.h 2KB
FeatureLayerEditingSampleViewController.h 1KB
RootViewController.h 1KB
WeatherInfoSampleViewController.h 1KB
SketchToolbar.h 1KB
GeocodingDemoViewController.h 1KB
DetailsViewController.h 873B
SketchLayerSampleViewController.h 849B
SketchLayerSampleAppDelegate.h 823B
WeatherInfoSampleAppDelegate.h 823B
ResultsViewController.h 813B
RoutingSampleAppDelegate.h 807B
FeatureLayerEditingSampleAppDelegate.h 795B
GeocodingDemoAppDelegate.h 781B
QueryTaskDemoAppDelegate.h 749B
MoviePlayerViewController.h 748B
FeatureTypeViewController.h 708B
ImageViewController.h 702B
GPTaskDemoViewController.h 587B
GPTaskDemoAppDelegate.h 492B
FirstMapAppDelegate.h 480B
FirstMapViewController.h 338B
FeatureDetailsViewController.m 31KB
RoutingSampleViewController.m 23KB
GeocodingDemoViewController.m 10KB
FeatureLayerEditingSampleViewController.m 8KB
GPTaskDemoViewController.m 7KB
SketchToolbar.m 6KB
RootViewController.m 6KB
FeatureTypeViewController.m 6KB
WeatherInfoSampleViewController.m 6KB
SketchLayerSampleViewController.m 4KB
DetailsViewController.m 3KB
FeatureLayerEditingSampleAppDelegate.m 3KB
ResultsViewController.m 3KB
MoviePlayerViewController.m 3KB
FirstMapViewController.m 2KB
ImageViewController.m 2KB
QueryTaskDemoAppDelegate.m 1KB
WeatherInfoSampleAppDelegate.m 965B
SketchLayerSampleAppDelegate.m 961B
RoutingSampleAppDelegate.m 951B
GeocodingDemoAppDelegate.m 914B
main.m 674B
main.m 653B
main.m 653B
GPTaskDemoAppDelegate.m 628B
FirstMapAppDelegate.m 618B
main.m 388B
main.m 387B
main.m 385B
main.m 359B
main.m 357B
iphone4.mode1v3 40KB
iphone4.mode1v3 40KB
ipiphone42.mode1v3 39KB
ipiphone42.mode1v3 39KB
ipiphone42.mode1v3 39KB
ipiphone42.mode1v3 39KB
ipiphone42.mode1v3 39KB
ipiphone42.mode1v3 39KB
iphone4.mode1v3 39KB
ipiphone42.mode1v3 39KB
ipiphone42.mode1v3 39KB
project.pbxproj 22KB
project.pbxproj 22KB
project.pbxproj 22KB
project.pbxproj 19KB
project.pbxproj 19KB
project.pbxproj 18KB
project.pbxproj 17KB
project.pbxproj 16KB
iphone4.pbxuser 14KB
iphone4.pbxuser 9KB
ipiphone42.pbxuser 8KB
ipiphone42.pbxuser 7KB
共 199 条
- 1
- 2
资源评论
reg183
- 粉丝: 1811
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功