Files
MapLibreParticleLab/platform/macos/src/MGLMapView_Private.h
Minh Nguyễn a66b1f7599 [ios, macos] Fixed iosbench build
Fixed a stale include in iosbench. MGLMapView(Private) forward-declares mbgl::Map instead of including mbgl.hpp, which iosbench has no access to.
2016-12-23 15:17:03 -08:00

33 lines
1.0 KiB
Objective-C

#import "MGLMapView.h"
namespace mbgl {
class Map;
}
@interface MGLMapView (Private)
/// True if the view or application is in a state where it is not expected to be
/// actively drawing.
@property (nonatomic, readonly, getter=isDormant) BOOL dormant;
// These properties exist because initially, both the latitude and longitude are
// NaN. You have to set both the latitude and longitude simultaneously. If you
// set the latitude but reuse the current longitude, and the current longitude
// happens to be NaN, there will be no change because the resulting coordinate
// pair is invalid.
/// Center latitude set independently of the center longitude in an inspectable.
@property (nonatomic) CLLocationDegrees pendingLatitude;
/// Center longitude set independently of the center latitude in an inspectable.
@property (nonatomic) CLLocationDegrees pendingLongitude;
/// Asynchronously render a frame of the map.
- (void)setNeedsGLDisplay;
/// Synchronously render a frame of the map.
- (void)renderSync;
- (mbgl::Map *)mbglMap;
@end