|
|
@@ -6,6 +6,7 @@ use marker_layer::MarkerLayer;
|
|
6
|
6
|
use mercator_tile_layer::MercatorTileLayer;
|
|
7
|
7
|
use mercator_view::MercatorView;
|
|
8
|
8
|
use ortho_tile_layer::OrthoTileLayer;
|
|
|
9
|
+use orthografic_view::OrthograficView;
|
|
9
|
10
|
use projection::Projection;
|
|
10
|
11
|
use session::Session;
|
|
11
|
12
|
use texture::{Texture, TextureFormat};
|
|
|
@@ -122,9 +123,7 @@ impl MapViewGl {
|
|
122
|
123
|
pub fn map_covers_viewport(&self) -> bool {
|
|
123
|
124
|
match self.projection {
|
|
124
|
125
|
Projection::Mercator => MercatorView::covers_viewport(&self.map_view),
|
|
125
|
|
- //TODO uncomment
|
|
126
|
|
- //Projection::Orthografic => OrthograficView::covers_viewport(&self.map_view),
|
|
127
|
|
- Projection::Orthografic => false,
|
|
|
126
|
+ Projection::Orthografic => OrthograficView::covers_viewport(&self.map_view),
|
|
128
|
127
|
}
|
|
129
|
128
|
}
|
|
130
|
129
|
|