[gnome-maps/gnome-3-16] mapSource: Do not use Champlain enums



commit 35c5d6f3b84df2f965257c287119bc43ade831e0
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 43a5ba8..c79476a 100644
--- a/src/mapSource.js
+++ b/src/mapSource.js
@@ -60,7 +60,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]