Commit Graph

3 Commits

Author SHA1 Message Date
Minh Nguyễn
a6c8a76694 Replace regex usage with basic string manipulation
Apparently we can’t rely on the existence of <regex> yet.

Fixes #919.
2015-03-06 13:51:19 -08:00
Minh Nguyễn
41c01373d5 Load 2× raster tiles on HiDPI screens
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.
2015-03-06 13:51:19 -08:00
Konstantin Käfer
abafb52f37 make most headers private 2014-12-04 20:02:50 +01:00