MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::MapProjection Class Reference

#include <map_projection.hpp>

Inheritance diagram for mbgl::MapProjection:
mbgl::util::non_copyable_::noncopyable

Public Member Functions

 MapProjection (const Map &)
 
 ~MapProjection ()
 
ScreenCoordinate pixelForLatLng (const LatLng &) const
 
LatLng latLngForPixel (const ScreenCoordinate &) const
 
void setCamera (const CameraOptions &)
 
CameraOptions getCamera () const
 
void setVisibleCoordinates (const std::vector< LatLng > &, const EdgeInsets &)
 Set the underneath camera so the requested coordinates are visible with the inset. More...
 

Detailed Description

Definition at line 12 of file map_projection.hpp.

Constructor & Destructor Documentation

◆ MapProjection()

mbgl::MapProjection::MapProjection ( const Map )
explicit

◆ ~MapProjection()

mbgl::MapProjection::~MapProjection ( )

Member Function Documentation

◆ getCamera()

CameraOptions mbgl::MapProjection::getCamera ( ) const

◆ latLngForPixel()

LatLng mbgl::MapProjection::latLngForPixel ( const ScreenCoordinate ) const

◆ pixelForLatLng()

ScreenCoordinate mbgl::MapProjection::pixelForLatLng ( const LatLng ) const

◆ setCamera()

void mbgl::MapProjection::setCamera ( const CameraOptions )

◆ setVisibleCoordinates()

void mbgl::MapProjection::setVisibleCoordinates ( const std::vector< LatLng > &  ,
const EdgeInsets  
)

Set the underneath camera so the requested coordinates are visible with the inset.


The documentation for this class was generated from the following file: