Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addCache, RMTileCache
 addLineToLatLong, RMPath
 addLineToScreenPoint, RMPath
 addLineToXY, RMPath
 addMarker, RMMarkerManager
 addTile, RMTileCache
 addTiles, RMTileImageSet
 addTileSource, RMMapContents
C
 cachedImage, RMTileCache
 calculateDpi, RMSMLayerInfo
 castToDict
 changeLabelUsingText, RMMarker
 closePath, RMPath
 constrainPointToBounds, RMProjection
 createTempLayer, RMSMLayerInfo
D
 defaultFont, RMMarker
 deleteTempLayer, RMSMLayerInfo
G
 getResolutionFromScaleDpi, RMSMLayerInfo
 getScaleFromResolutionDpi, RMSMLayerInfo
H
 hideAllMarkers, RMMarkerManager
 hideLabel, RMMarker
I
 initStrParams, RMSMLayerInfo
L
 latitudeLongitudeBoundingBoxFor, RMMapContents
 latLongToPoint, RMProjection
 latLongToProjectedPoint, RMMapContents
 layerInfo, RMSMLayerInfo
M
 mapViewRegionDidChange, RMMapViewDelegate
 markers, RMMarkerManager
 movePoint, RMMercatorToScreenProjection
 moveRect, RMMercatorToScreenProjection
 moveScreenBy, RMMercatorToScreenProjection
 moveToLatLong
 moveToProjectedPoint
 moveToScreenPoint, RMPath
 moveToXY, RMPath
O
 orderLayers, RMLayerCollection
P
 pixelToProjectedPoint, RMMapContents
 pointToLatLong, RMProjection
 processAsync
 processAsync4PathWithPoints:transferLines:finishBlock:, TransferSolutionService
 processAsync4SolutionWithParam:param:finishBlock:, TransferSolutionService
 ProcessAsync4StopsWithKeyWord:returnPosition:finishBlock:, TransferSolutionService
 projectedBounds, RMMercatorToScreenProjection
 projectedPointToLatLong, RMMapContents
 projectXYPoint, RMMercatorToScreenProjection
 projectXYRect, RMMercatorToScreenProjection
R
 refreshMap, RMMapContents
 removeAllCachedImages
 removeMarker, RMMarkerManager
 removeMarkers, RMMarkerManager
 removeSublayer, RMLayerCollection
 removeSublayers, RMLayerCollection
 removeTileSource, RMMapContents
 RMTileHash
 RMTileKey
 RMTileRectRound
-(void)addCache: (id<RMTileCache>)cache
Add another cache to the chain
- (void) addLineToLatLong: (RMLatLong) point
设置线段的终点,创建了一条线段,起点是设置的起点或所创建的前一条线段的终点。此终点为RMLatLong。
- (void) addLineToScreenPoint: (CGPoint) point
设置线段的终点,创建了一条线段,起点是设置的起点或所创建的前一条线段的终点。此终点为CGPoint。
- (void) addLineToXY: (RMProjectedPoint) point
设置线段的终点,创建了一条线段,起点是设置的起点或所创建的前一条线段的终点。此终点为RMProjectedPoint。
- (
   void
)addMarker:(RMMarker *)marker atProjectedPoint:(RMProjectedPoint)projectedPoint
在一地理坐标上添加Marker
-(void)addTile: (RMTile)tile WithImage: (RMTileImage*)image
Add tile to cache
-(CGRect) addTiles: (RMTileRect)rect ToDisplayIn:(CGRect)bounds
Add tiles inside rect protected to bounds.
- (void)addTileSource:(id <RMTileSource>)newTileSource
添加叠加图层
-(RMTileImage*) cachedImage:(RMTile)tile
Returns the cached image if it exists.
- (
   double
)calculateDpi:(double)viewBoundsWidth rvbheight:(double)viewBoundsHeight rvWidth:(int)nWidth rcHeight:(int)nHeight scale:(double)dScale
计算当前地图服务DPI。
-(NSDictionary *)castToDict
返回一个字典,用于转换为json格式数据。
-(NSMutableDictionary *)castToDict
转换为字典,只返回endStopIndex,lineID,startStopIndex三个键值对,用做Path服务请求参数
-(NSDictionary *)castToDict
将对象转换为一个字典,用于转换为json格式数据。
- (void) changeLabelUsingText: (NSString*)text
改变marker上的UILabel所显示的文本内容,即改变属性label的值。
- (void) closePath
闭合多边形,连接多边形的起点和最后一个点为一条线段。
- (RMProjectedPoint) constrainPointToBounds: (RMProjectedPoint) aPoint
applies #wrapPointHorizontally to aPoint, and then clamps northing (Y coordinate) to projection’s planetBounds
-(BOOL) createTempLayer
创建临时图层
+ (UIFont *)defaultFont
labels默认的字体,其值是[UIFont systemFontOfSize:15]。
- (BOOL) deleteTempLayer
根删除临时图层
-(NSString*) getResolutionFromScaleDpi:(double)dScale
根据指定的比例尺,返回对应的分辨率。
-(NSString*) getScaleFromResolutionDpi:(double)dResolution
根据指定的分辨率,返回对应的比例尺。
- (void) hideAllMarkers
隐藏所有的Marker
- (void) hideLabel
隐藏marker上的UILabel
- (void) initStrParams:(NSMutableDictionary*) params
初始化StrParams参数
- (RMSphericalTrapezium) latitudeLongitudeBoundingBoxForScreen
返回包含整个屏幕的最小边界框
- (RMProjectedPoint)latLongToPoint:(RMLatLong)aLatLong
forward project latitude/longitude, return meters deprecated: rename pending after 0.5
- (RMProjectedPoint)latLongToProjectedPoint:(CLLocationCoordinate2D)latlong
将经纬度坐标转换为投影坐标
- (BOOL)layerInfo
临时图层信息,主要用于初始化tempLayerInfo变量。
- (void)mapViewRegionDidChange:(RMMapView *)mapView
Tells the delegate that the region displayed by the map view just changed.
- (NSArray *)markers
获取所有的Marker
- (RMProjectedPoint)movePoint: (RMProjectedPoint)aPoint by:(CGSize) delta
Deltas in screen coordinates.
- (RMProjectedRect)moveRect: (RMProjectedRect)aRect by:(CGSize) delta
Deltas in screen coordinates.
- (void) moveScreenBy: (CGSize) delta
Move the screen.
- (void)moveToLatLong: (CLLocationCoordinate2D)latlong
重置地图的中心点,该中心点为经纬度坐标。
- (void) moveToLatLong: (RMLatLong) point
设置点,或设置线、多边形的起点。此点为RMLatLong。
- (void)moveToProjectedPoint: (RMProjectedPoint)aPoint
重置地图的中心点,该中心点为平面坐标。
- (void)moveToProjectedPoint: (RMProjectedPoint)aPoint
用于重置地图的中心点
- (void) moveToScreenPoint: (CGPoint) point
设置点,或设置线、多边形的起点。此点为CGPoint。
- (void) moveToXY: (RMProjectedPoint) point
设置点,或设置线、多边形的起点。此点为RMProjectedPoint。
- (void)orderLayers
图层排序。根据图层在map的位置排序,但优先RMMarker的实例或其子类。
- (RMProjectedPoint)pixelToProjectedPoint:(CGPoint)aPixel
将像素坐标转换为当前地图的地理坐标
- (RMLatLong)pointToLatLong:(RMProjectedPoint)aPoint
inverse project meters, return latitude/longitude deprecated: rename pending after 0.5
-(void) processAsync:(FindPathParameters*)parameters
负责将客户端的查询参数传递到服务端。 请求成功通知标识为”findPathCompleted”
-(void) processAsync:(GenerateSpatialDataParameters*)parameters
负责将客户端的查询参数传递到服务端。 请求成功通知标识为”generateSpatialCompleted”,失败为”generateSpatialFailed”
-(void) processAsync:(QueryParameters*)params
负责将客户端的量算参数传递到服务端。 请求成功通知标识为”queryCompleted”
- (void) processAsync:(RMSMMeasureParameters*)para
负责将客户端的量算参数传递到服务端。 请求成功通知标识为”measureComplete”,失败为”measureError”
-(void) processAsync:(ThemeParameters*)parameters
负责将客户端的专题图参数传递到服务端。 请求成功通知标识为”themeCompleted”,失败为”themeFailed”
向服务器发送的起始-终止站点信息以及线路信息,返回线路引导 Parameters: points - 乘车方案的起始和终止点组成的数组,可以起始或终止点的地理坐标 即{Point2D}类型数组,也可以是站点id组成的Integer数组 transferLines - 换乘分段数组,其中存放的元素为{TransferLine}对象。 finishBlock - 请求成功后执行的回调 failedBlock - 请求失败执行的回调
向服务器发送公交换乘分析的参数,并返回{TransferSolutionResult}类型数据 Parameters: param - {TransferSolutionParameter}公交换乘方案参数类 finishBlock - 请求成功后执行的回调 failedBlock - 请求失败执行的回调
向服务器发送查询关键字,返回站点信息列表 Parameters: keyWord - 站点查询关键字 returnPosition - 是否返回查询站点的地理坐标 finishBlock - 请求成功后执行的回调 failedBlock - 请求失败执行的回调
- (RMProjectedRect) projectedBounds
视图内地理范围
- (
   CLLocationCoordinate2D
)projectedPointToLatLong:(RMProjectedPoint)projectedPoint
将投影坐标转换为经纬度坐标
- (
   CGPoint
)projectXYPoint:(RMProjectedPoint)aPoint withMetersPerPixel:(float)aScale
Project -> screen coordinates.
- (CGRect) projectXYRect: (RMProjectedRect) aRect
Project -> screen coordinates.
- (void)refreshMap
刷新瓦片地图
-(void)removeAllCachedImages
删除tileSource缓存机制所缓存的所有图片。
-(void)removeAllCachedImages
removes all tile images from the memory and disk subcaches
- (void) removeMarker:(RMMarker *)marker
移除marker
- (void) removeMarkers
移除所有的Marker
- (void)removeSublayer:(CALayer *)layer
移除图层
- (void)removeSublayers:(NSArray *)layers
移除图层集合
- (void)removeTileSource:(id <RMTileSource>)tileSource
移除叠加图层 底图不能被移除。
uint64_t RMTileHash(RMTile tile)
Return a hash of the tile, used to override the NSObject hash method for RMTile.
uint64_t RMTileKey(RMTile tile)
Returns a unique key of the tile for use in the SQLite cache
RMTileRect RMTileRectRound(RMTileRect rect)
Round the rectangle to whole numbers of tiles
Close