|
| | Map (RendererFrontend &, MapObserver &, const MapOptions &, const ResourceOptions &, const ClientOptions &=ClientOptions()) |
| |
| | ~Map () |
| |
| void | renderStill (StillImageCallback) |
| |
| void | renderStill (const CameraOptions &, MapDebugOptions, StillImageCallback) |
| |
| void | triggerRepaint () |
| | Triggers a repaint. More...
|
| |
| style::Style & | getStyle () |
| |
| const style::Style & | getStyle () const |
| |
| void | setStyle (std::unique_ptr< style::Style >) |
| |
| void | cancelTransitions () |
| |
| void | setGestureInProgress (bool) |
| |
| bool | isGestureInProgress () const |
| |
| bool | isRotating () const |
| |
| bool | isScaling () const |
| |
| bool | isPanning () const |
| |
| CameraOptions | getCameraOptions (const std::optional< EdgeInsets > &=std::nullopt) const |
| |
| void | jumpTo (const CameraOptions &) |
| |
| void | easeTo (const CameraOptions &, const AnimationOptions &) |
| |
| void | flyTo (const CameraOptions &, const AnimationOptions &) |
| |
| void | moveBy (const ScreenCoordinate &, const AnimationOptions &={}) |
| |
| void | scaleBy (double scale, const std::optional< ScreenCoordinate > &anchor, const AnimationOptions &animation={}) |
| |
| void | pitchBy (double pitch, const AnimationOptions &animation={}) |
| |
| void | rotateBy (const ScreenCoordinate &first, const ScreenCoordinate &second, const AnimationOptions &={}) |
| |
| CameraOptions | cameraForLatLngBounds (const LatLngBounds &, const EdgeInsets &, const std::optional< double > &bearing=std::nullopt, const std::optional< double > &pitch=std::nullopt) const |
| |
| CameraOptions | cameraForLatLngs (const std::vector< LatLng > &, const EdgeInsets &, const std::optional< double > &bearing=std::nullopt, const std::optional< double > &pitch=std::nullopt) const |
| |
| CameraOptions | cameraForGeometry (const Geometry< double > &, const EdgeInsets &, const std::optional< double > &bearing=std::nullopt, const std::optional< double > &pitch=std::nullopt) const |
| |
| LatLngBounds | latLngBoundsForCamera (const CameraOptions &) const |
| |
| LatLngBounds | latLngBoundsForCameraUnwrapped (const CameraOptions &) const |
| |
| void | setNorthOrientation (NorthOrientation) |
| |
| void | setConstrainMode (ConstrainMode) |
| |
| void | setViewportMode (ViewportMode) |
| |
| void | setSize (Size) |
| |
| MapOptions | getMapOptions () const |
| |
| void | setProjectionMode (const ProjectionMode &) |
| |
| ProjectionMode | getProjectionMode () const |
| |
| ScreenCoordinate | pixelForLatLng (const LatLng &) const |
| |
| LatLng | latLngForPixel (const ScreenCoordinate &) const |
| |
| std::vector< ScreenCoordinate > | pixelsForLatLngs (const std::vector< LatLng > &) const |
| |
| std::vector< LatLng > | latLngsForPixels (const std::vector< ScreenCoordinate > &) const |
| |
| TransformState | getTransfromState () const |
| |
| void | addAnnotationImage (std::unique_ptr< style::Image >) |
| |
| void | removeAnnotationImage (const std::string &) |
| |
| double | getTopOffsetPixelsForAnnotationImage (const std::string &) |
| |
| AnnotationID | addAnnotation (const Annotation &) |
| |
| void | updateAnnotation (AnnotationID, const Annotation &) |
| |
| void | removeAnnotation (AnnotationID) |
| |
| void | setPrefetchZoomDelta (uint8_t delta) |
| |
| uint8_t | getPrefetchZoomDelta () const |
| |
| void | setDebug (MapDebugOptions) |
| |
| MapDebugOptions | getDebug () const |
| |
| bool | isFullyLoaded () const |
| |
| void | dumpDebugLogs () const |
| |
| void | setFreeCameraOptions (const FreeCameraOptions &camera) |
| |
| FreeCameraOptions | getFreeCameraOptions () const |
| |
|
| void | setBounds (const BoundOptions &options) |
| |
| BoundOptions | getBounds () const |
| | Returns the current map bound options. All optional fields in BoundOptions are set. More...
|
| |
Definition at line 34 of file map.hpp.