Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::MapSubLayer Class Referenceabstract

#include <MMapSubLayer.h>

Inheritance diagram for Maria::MapSubLayer:
Maria::TiledMapLayer Maria::TiledShadingLayer

Public Member Functions

 MapSubLayer (const std::string &id, const std::shared_ptr< STK::ShaderProgramManager > &shaderManager, const std::shared_ptr< Maria::TileCache > tileCache, const std::shared_ptr< Maria::GridIndexBuffer > &idxBuffer, const std::shared_ptr< STK::FontManager > &fontManager)
 
const std::string & getId () const
 
void setName (const std::string &name)
 
const std::string & getName () const
 
void setOpacity (float opacity)
 
float getOpacity () const
 
void setMinScale (double minScale)
 
double getMinScale () const
 
void setMaxScale (double maxScale)
 
double getMaxScale () const
 
const Maria::MapContentQuerygetMapContentQuery () const
 
void cleanupCaches (bool keepCurrentFrame)
 
bool needsRedraw () const
 
virtual bool update (const std::shared_ptr< RasterProjector > &viewport, double scale, float pixelScale, bool syncTileLoading=false, long timeout=0)
 
virtual void redraw (const std::shared_ptr< RasterProjector > &vp, const STK::Camera &cam, const STK::Viewport &glViewport, float layerOpacity)=0
 

Protected Attributes

std::string _id
 
std::string _name
 
std::shared_ptr< STK::ShaderProgramManager_shaderManager
 
std::shared_ptr< Maria::TiledLayerRenderer_tiledRenderer
 
std::shared_ptr< STK::ShaderProgram_shader
 
bool _hasPendingTiles = false
 
float _opacity = 1.0f
 
double _minScale = 0
 
double _maxScale = 999999999
 

Detailed Description

MapSubLayer - A MapLayer GeoLayer conists of sublayers like these. They typically correspond with map template layers or IRasterLayerData in the managed API.


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