summaryrefslogtreecommitdiff
path: root/src/mbgl/util/mapbox.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core, android] Factor JSON string conversionsJohn Firebaugh2017-05-081-0/+6
| | | | | | | | | | | This adds a `convertJSON` template, to be used like: Error error optional<Foo> foo = convertJSON<Foo>(string, error); Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`. While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-5/+5
| | | add runloop to test
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] Limit total number of offline Mapbox tilesJohn Firebaugh2016-02-241-0/+2
|
* Allow using tileSize: 512 as a switch to trade retina support for 512px ↵Young Hahn2016-02-111-1/+1
| | | | raster tiles
* [core] Cache with mapbox:// tile URLsJohn Firebaugh2016-02-101-6/+3
|
* [core] move raster tile URL normalization to source parsingKonstantin Käfer2016-01-131-1/+1
|
* [core] unify URL prefix detection (asset:// and mapbox://)Konstantin Käfer2016-01-081-0/+2
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-3/+3
|
* [core] include api.mapbox.com in canonicalizationKonstantin Käfer2015-09-281-0/+6
| | | | and move the canonicalization to mapbox.cpp since it's not specific to the SQLiteCache
* Support v8 sprite, glyph, and style mapbox:// urlsLucas Wojciechowski2015-08-211-0/+1
|
* fixes #892: support mapbox:// style URLsJustin R. Miller2015-03-301-0/+1
|
* Only add {ratio} to raster tile URLsMinh Nguyễn2015-03-061-1/+2
| | | | Thanks to @mb12 for the suggestion.
* Load 2× raster tiles on HiDPI screensMinh Nguyễn2015-03-061-0/+1
| | | | | | Based on mapbox.normalizeTileURL() in mapbox/mapbox-gl-js, but insert a “{ratio}” placeholder instead of “@2x” in order to keep the pixelRatio logic in TileData::request(). Fixes #919.
* make most headers privateKonstantin Käfer2014-12-041-0/+17