Commit Graph

16768 Commits

Author SHA1 Message Date
Konstantin Käfer
afc54b7956 add translate-anchor for fills 2014-05-14 16:51:27 +02:00
Konstantin Käfer
b167a79c22 always use std:: namespace for math functions
fixes #201
2014-05-14 16:40:24 +02:00
Konstantin Käfer
5e65734630 better text halos for street names
refs #194
2014-05-14 15:36:29 +02:00
Konstantin Käfer
790b6cbdb3 add strokeBlur property (default 1.0, larger values blur more) to achieve a gradient effect
fixes #194
2014-05-14 15:27:49 +02:00
Konstantin Käfer
b8d88600b8 cemetary => cemetery 2014-05-14 15:09:13 +02:00
Konstantin Käfer
24617da3ff don't factor in the pixelratio to achieve the same look
refs #189
2014-05-14 15:06:31 +02:00
Konstantin Käfer
a812f37c60 make sure to premultiply the colors during stylesheet parsing
fixes #193
2014-05-14 15:05:59 +02:00
Konstantin Käfer
2d938f2ec2 make sure to premultiply the colors during stylesheet parsing
fixes #193
2014-05-14 15:04:33 +02:00
Konstantin Käfer
028ae4f256 make offsets less extreme 2014-05-14 14:53:11 +02:00
Konstantin Käfer
22f70f9569 don't factor in the pixelratio to achieve the same look
refs #189
2014-05-14 14:52:37 +02:00
Konstantin Käfer
c93af5cfb3 Merge branch 'master' into outdoors-style 2014-05-14 13:44:49 +02:00
Konstantin Käfer
ac9a678ce5 fix lock initialization
background: for non-debug builds, assert() gets compiled away, so the locks are not initialized
2014-05-14 13:41:55 +02:00
Konstantin Käfer
d89df4042f Merge branch 'master' into outdoors-style 2014-05-14 13:01:26 +02:00
Konstantin Käfer
164aef8b26 add hipchat notifications for build status 2014-05-14 13:01:07 +02:00
Konstantin Käfer
16ccb08f13 switch back to std::pair, tuples are breaking on travis 2014-05-14 12:38:57 +02:00
Konstantin Käfer
007b27088f add tuple include 2014-05-14 12:24:37 +02:00
Konstantin Käfer
6e0533a355 switch to r*tree and use tuples and bulk inserts 2014-05-14 12:18:51 +02:00
Konstantin Käfer
3514538719 make text layers respect the translate-anchor
you can now specify "translate-anchor": "viewport" to have the text translated
in screen coordinates rather than relative to the tile. The default value
remains "translate-anchor": "map"

refs #189
2014-05-14 10:31:57 +02:00
Konstantin Käfer
32b21b050f do not define variables until they're needed 2014-05-14 10:31:57 +02:00
Konstantin Käfer
d97e8899ae add translate-anchor property 2014-05-14 10:31:57 +02:00
Konstantin Käfer
05a330f347 make translate property zoom independent
if you want a zoom-dependent translation, you can use a function

refs #189
2014-05-14 10:31:57 +02:00
Eden Halperin
b2c4a90058 less yellow hillshade highlight 2014-05-13 16:27:24 -07:00
Eden Halperin
ee230c1c98 revert pixel ratio multiplier 2014-05-13 16:11:45 -07:00
Eden Halperin
017cf45ee2 new tile endpoint, fix landcover 2014-05-13 16:04:47 -07:00
Eden Halperin
471dd484b9 maxAngleDelta for road labels 2014-05-13 15:04:20 -07:00
Will Snook
61f2a9972d Merge pull request #200 from mapbox/outdoors-issue195
Fix for issue #195, WWDC outdoors maxAngleDelta
2014-05-13 15:56:51 -06:00
Eden Halperin
2e419f1de1 darken road label halos, bigger airport poi 2014-05-13 14:25:46 -07:00
Eden Halperin
0df79ddc0c bump motorway width stops by 1 z level 2014-05-13 13:31:19 -07:00
Will Snook
e2ee8abce1 use std::fabs instead of fabs 2014-05-13 13:53:30 -06:00
Justin R. Miller
7447b03ee7 remove accidental duplicate target 2014-05-13 12:35:24 -07:00
Justin R. Miller
9e04643727 Merge branch 'master' of github.com:mapbox/llmr-native 2014-05-13 12:34:49 -07:00
Eden Halperin
7b21de8c51 update street and street casing widths 2014-05-13 12:32:50 -07:00
Justin R. Miller
3a7914261e fix erroneous abort of raster rendering 2014-05-13 12:28:54 -07:00
Dane Springmeyer
ae2a8e00a5 Merge pull request #180 from mapbox/clear-caches
Clear caches
2014-05-13 12:26:59 -07:00
Dane Springmeyer
854de24055 push improvement for smart cache clearing from @wsnook 2014-05-13 12:12:12 -07:00
Dane Springmeyer
d7f9470c2f Merge branch 'master' of github.com:mapbox/llmr-native into clear-caches 2014-05-13 12:08:08 -07:00
Will Snook
8d2627e5ef Fix for #195, native maxAngleDelta 2014-05-13 13:07:39 -06:00
Justin R. Miller
5c89488429 hide more API 2014-05-13 11:05:18 -07:00
Justin R. Miller
6668b9b303 keep view controller self-contained for state save/restore 2014-05-13 11:01:32 -07:00
Konstantin Käfer
c8a3b916b3 make text layers respect the translate-anchor
you can now specify "translate-anchor": "viewport" to have the text translated
in screen coordinates rather than relative to the tile. The default value
remains "translate-anchor": "map"

refs #189
2014-05-13 19:02:22 +02:00
Konstantin Käfer
2135f855d1 do not define variables until they're needed 2014-05-13 18:41:37 +02:00
Konstantin Käfer
b3a1e35f44 add translate-anchor property 2014-05-13 18:41:22 +02:00
Konstantin Käfer
632c5f982c make translate property zoom independent
if you want a zoom-dependent translation, you can use a function

refs #189
2014-05-13 16:48:23 +02:00
Konstantin Käfer
5135c59b71 Merge branch 'master' into outdoors-style
Conflicts:
	bin/style.js
	src/map/map.cpp
2014-05-13 16:18:52 +02:00
Konstantin Käfer
7bfcde4025 split up painter into multiple files 2014-05-13 15:37:45 +02:00
Konstantin Käfer
b096373b71 abort rendering early if the style is disabled
refs #184
2014-05-13 15:15:54 +02:00
Konstantin Käfer
72c0410a4d save/restore state on ios 2014-05-13 13:16:47 +02:00
Konstantin Käfer
ab71db336c move tiles to std::map for faster lookups 2014-05-13 12:20:59 +02:00
Konstantin Käfer
d8fa9aa322 move weak_ptr list of tile_data objects to a map for faster lookups 2014-05-13 12:01:29 +02:00
Justin R. Miller
654520ea34 Revert "refs #166: fix for std::stoll et al. not handling strings"
This reverts commit bc29ed5a9c.
2014-05-12 17:14:28 -07:00