27 #include "../../../qt/af/ApplicationController.h" 28 #include "../../../qt/af/BaseApplication.h" 29 #include "../../../qt/widgets/canvas/MapDisplay.h" 34 #include <QtCore/QObject> 41 createAction(tr(
"GeoPackage Builder...").toUtf8().data(),
"terraMobile");
51 std::list<te::map::AbstractLayerPtr> list =
getLayers();
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
virtual ~GeoPackageBuilderAction()
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
An Envelope defines a 2D rectangular region.
virtual int getSRID() const
It return the Spatial Reference System used by the Map Display.
virtual const te::gm::Envelope & getExtent() const
It returns the world extent showned by the MapDisplay.
void setExtent(const te::gm::Envelope &extent)
This is an abstract class used to register actions into rp pluging.
te::qt::widgets::MapDisplay * getMapDisplay()
virtual void onActionActivated(bool checked)
GeoPackageBuilderAction(QMenu *menu)
void setLayerList(std::list< te::map::AbstractLayerPtr > list)
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.
This interface is used to get the input parameters for GeoPackage Builder wizard operation.