Commit Graph

8640 Commits

Author SHA1 Message Date
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
Justin R. Miller
23382f9267 Revert "refs #166: fix for std::stoll et al. not handling strings"
This reverts commit 54d5f474c8.
2014-05-12 17:09:06 -07:00
Justin R. Miller
160a02bb51 Merge branch 'outdoors-style' of github.com:mapbox/llmr-native into outdoors-style 2014-05-12 16:57:47 -07:00
Eden Halperin
9dc164f064 update contour lines 2014-05-12 16:35:32 -07:00
Eden Halperin
ec90ccd358 update sprite pointer and fix marine_label 2014-05-12 15:42:18 -07:00
Justin R. Miller
54d5f474c8 refs #166: fix for std::stoll et al. not handling strings 2014-05-12 14:07:07 -07:00
Justin R. Miller
38e7682302 Merge branch 'master' of github.com:mapbox/llmr-native 2014-05-12 14:00:19 -07:00
Justin R. Miller
bc29ed5a9c refs #166: fix for std::stoll et al. not handling strings 2014-05-12 14:00:10 -07:00
Dane Springmeyer
fcd7a230e1 Merge branch 'master' of github.com:mapbox/llmr-native into clear-caches 2014-05-12 13:57:34 -07:00
Dane Springmeyer
6538f580ce ensure setup-libraries.sh checks for valid pkg-config 2014-05-12 13:40:58 -07:00
Eden Halperin
66dbcce4fd fix landuse industrial layer 2014-05-12 12:17:43 -07:00
Justin R. Miller
b6d6c7ee30 re-add iOS Xcode instructions 2014-05-12 14:07:20 -04:00
Eden Halperin
8f2c211ff0 remove hillshade antialiasing 2014-05-12 10:56:36 -07:00
Konstantin Käfer
263c887777 don't try to render layers that do not produce anyting during the current render pass
refs #184
2014-05-12 19:53:06 +02:00
Dane Springmeyer
755c51fcdd Merge branch 'master' of github.com:mapbox/llmr-native into clear-caches
Conflicts:
	Makefile
2014-05-12 10:38:07 -07:00
Eden Halperin
1dfd2fcd59 transparent stroke on hillshade fills 2014-05-12 10:25:11 -07:00
Konstantin Käfer
2b14579986 only paint layer if it has data
refs #184
2014-05-12 19:08:59 +02:00
Konstantin Käfer
2a3377cc4d fix typo
fixes #186
2014-05-12 18:28:21 +02:00
Konstantin Käfer
d9d9b281c4 disable texture deleting for now 2014-05-12 18:25:58 +02:00
Konstantin Käfer
6ebb4c21f7 clean up gl::group() structure 2014-05-12 18:25:48 +02:00
Konstantin Käfer
6136ab6d21 draw by layer, not by tile
This is needed for correctly compositing raster imagery into the map

fixes #122
fixes #157
2014-05-12 17:13:26 +02:00
Konstantin Käfer
16e8d8137b Merge branch 'master' of https://github.com/mapbox/llmr-native 2014-05-12 16:06:31 +02:00
Konstantin Käfer
b705382b9f add cross compile build script
[skip ci]
2014-05-12 04:00:47 -07:00
Konstantin Käfer
d964128cc5 make sure node is available 2014-05-12 10:40:10 +02:00
Konstantin Käfer
604e558d46 add missing include header 2014-05-10 10:32:30 +02:00
Nicki Dlugash
4a2e75a33d fixed road label and place_label_other style to make them appear 2014-05-09 19:19:43 -07:00
Eden Halperin
db013095e9 update style with labels 2014-05-09 16:51:09 -07:00
Dane Springmeyer
13988467ca Merge branch 'master' of github.com:mapbox/llmr-native into clear-caches 2014-05-09 14:09:10 -07:00
Dane Springmeyer
53decedf85 more selective cache clear 2014-05-09 14:08:58 -07:00