Version: 0.6.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
drawingmap.h
1
/******************************************************************************
2
* Project: wxGIS
3
* Purpose: wxGISDrawingMapView class.
4
* Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5
******************************************************************************
6
* Copyright (C) 2014 Dmitry Baryshnikov
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
****************************************************************************/
21
#pragma once
22
23
#include "wxgis/cartoui/mapview.h"
24
#include "wxgis/carto/drawinglayer.h"
25
26
34
class
WXDLLIMPEXP_GIS_CTU
wxGISDrawingMapView
:
35
public
wxGISMapView
36
{
37
DECLARE_CLASS(
wxGISDrawingMapView
)
38
public
:
39
wxGISDrawingMapView
(
void
);
40
wxGISDrawingMapView
(wxWindow* parent, wxWindowID
id
= wxID_ANY,
const
wxPoint& pos = wxDefaultPosition,
const
wxSize& size = wxDefaultSize,
long
style = wxTAB_TRAVERSAL | wxCLIP_CHILDREN | wxNO_FULL_REPAINT_ON_RESIZE);
41
virtual
~
wxGISDrawingMapView
(
void
);
42
//wxGISMap
43
virtual
void
ChangeLayerOrder(
size_t
nOldIndex,
size_t
nNewIndex);
44
//wxGISExtentStack
45
virtual
bool
AddLayer(
wxGISLayer
* pLayer);
46
//wxGISDrawingMapView
47
virtual
short
GetCurrentDrawingLayer(
void
)
const
;
48
virtual
void
SetCurrentDrawingLayer(
short
nCurrentDrawingLayer);
49
virtual
bool
AddShape(
const
wxGISGeometry
&Geom, wxGISEnumShapeType eType);
50
protected
:
51
short
m_nCurrentDrawingLayer;
52
};
wxGISMapView
Definition:
mapview.h:36
wxGISGeometry
Definition:
gdalinh.h:333
wxGISDrawingMapView
Definition:
drawingmap.h:34
wxGISLayer
Definition:
layer.h:35
include
wxgis
cartoui
drawingmap.h
Generated on Fri Sep 26 2014 01:10:55 for ngm by
1.8.6