Skip to content

Commit

Permalink
Merge pull request tangrams#451 from tangrams/fix-client-data-max-zoom
Browse files Browse the repository at this point in the history
Client data source uses max zoom set by View
  • Loading branch information
tallytalwar committed Dec 29, 2015
2 parents 32c3c31 + a10c1ff commit b76df7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/data/clientGeoJsonSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
#include "data/propertyItem.h"
#include "data/tileData.h"
#include "tile/tile.h"
#include "view/view.h"

using namespace mapbox::util;

namespace Tangram {

const double extent = 4096;
const uint8_t maxZoom = 18;
const uint8_t indexMaxZoom = 18;
const uint8_t maxZoom = (uint8_t)View::s_maxZoom;
const uint8_t indexMaxZoom = maxZoom;
const uint32_t indexMaxPoints = 100000;
double tolerance = 1E-8;

Expand Down

0 comments on commit b76df7e

Please sign in to comment.