#include "MapToolsExamples.h"#include <terralib/common.h>#include <terralib/geometry.h>#include <terralib/dataaccess.h>#include <terralib/maptools.h>#include <terralib/qt/widgets/canvas/MapDisplay.h>#include <terralib/qt/widgets/canvas/MultiThreadMapDisplay.h>#include <cassert>#include <iostream>#include <list>#include <memory>#include <QApplication>Go to the source code of this file.
Functions | |
| void | MapDisplay () |
| It retrieves data from a data source, create a set of layer and show map display. More... | |
| void MapDisplay | ( | ) |
It retrieves data from a data source, create a set of layer and show map display.
Definition at line 20 of file examples/maptools/MapDisplay.cpp.
References te::qt::widgets::MapDisplay::Center, te::common::Convert2String(), dt, G_ID, te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::common::Singleton< DataSourceManager >::getInstance(), te::dt::Property::getName(), te::gm::LineStringType, MarkPointStyle(), te::gm::PointType, te::gm::PolygonType, te::map::AbstractLayer::setDataSetName(), te::map::AbstractLayer::setDataSourceId(), te::map::AbstractLayer::setExtent(), te::map::DataSetLayer::setRendererType(), te::map::AbstractLayer::setStyle(), te::map::AbstractLayer::setVisibility(), SimpleLineStyle(), SimplePolygonStyle(), te::gm::Envelope::Union(), and te::map::VISIBLE.
Referenced by DisplayWindow::DisplayWindow(), main(), te::qt::af::BaseApplication::makeDialog(), te::qt::widgets::MixtureModelDialog::MixtureModelDialog(), te::qt::widgets::TiePointsLocatorDialog::TiePointsLocatorDialog(), and te::qt::widgets::MapDisplay::updateLayer().