[gnome-maps/gnome-3-14] mapSource: Do not use Champlain enums
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/gnome-3-14] mapSource: Do not use Champlain enums
- Date: Mon, 1 Aug 2016 05:17:25 +0000 (UTC)
commit 596c9ed867b7bede118bc56b28aa435c657b3c38
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Mon Aug 1 07:04:53 2016 +0200
mapSource: Do not use Champlain enums
Older libchamplain did not have introspectable enums.
Mercator is default anyway, so do not set it.
src/mapSource.js | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/mapSource.js b/src/mapSource.js
index d213874..a06f094 100644
--- a/src/mapSource.js
+++ b/src/mapSource.js
@@ -65,7 +65,6 @@ function _createTileSource(uri, name) {
min_zoom_level: _MIN_ZOOM,
max_zoom_level: _MAX_ZOOM,
tile_size: _TILE_SIZE,
- projection: Champlain.MapProjection.MERCATOR,
renderer: new Champlain.ImageRenderer(),
uri_format: uri
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]