Konstantin Käfer
4657e6e023
use a file source object to abstract loading of resources
2014-08-08 18:25:45 +02:00
Konstantin Käfer
a045d9c9d4
use filesource object for loading all http stuff
2014-08-08 15:08:41 +02:00
John Firebaugh
70a31baf5c
Eliminate warnings
2014-08-07 13:02:40 -07:00
Konstantin Käfer
9dc48b773f
fix crash bug for styles that have no glyph url specified
2014-08-06 18:33:21 +02:00
Konstantin Käfer
b402d03837
don't require the background layer to be named "background"
2014-08-05 11:58:16 +02:00
Konstantin Käfer
d01b996acd
better warning messages
2014-07-31 18:55:48 +02:00
Konstantin Käfer
75c079adb1
move sprite to a use future loading
2014-07-31 18:14:26 +02:00
Konstantin Käfer
fa3a41136c
merge text and icon buckets/styles
...
(we're not yet placing together!)
2014-07-29 18:27:59 +02:00
Konstantin Käfer
04bab1af76
more include what you use
2014-07-23 13:18:03 +02:00
Konstantin Käfer
d175d146fb
include what you use
2014-07-23 12:53:21 +02:00
Konstantin Käfer
d47f11574e
do not explicitly render matte; we already cleared the background with glClear
2014-07-22 17:18:38 +02:00
John Firebaugh
86336ed838
Flip name and units and sign of rotation API
...
Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
2014-07-21 11:30:51 -07:00
Konstantin Käfer
bcf82bdd01
respect layer min/maxzoom, not source min/maxzoom
2014-07-17 16:20:49 -07:00
Konstantin Käfer
ab045087da
skip rendering layer when min/max-zoom condition isn't met
2014-07-17 16:04:17 -07:00
Konstantin Käfer
3141b8b1f7
refactor source information into SourceInfo object
2014-07-17 15:37:18 -07:00
Konstantin Käfer
4ea281c750
rename llmr => mbgl
2014-07-16 18:53:56 -07:00
Justin R. Miller
a902446e7f
refs #342 & #346 : per-map change callbacks
2014-07-16 18:18:04 -07:00
Konstantin Käfer
682eaec87c
add icon render test
2014-07-15 18:08:14 -07:00
Konstantin Käfer
d91aa9c7e2
don't initialize sources multiple times
2014-07-14 15:01:45 -07:00
Konstantin Käfer
8b775573c1
move std::erase_if => util::erase_if
2014-07-14 15:01:45 -07:00
Mike Morris
5bc77d4243
add forward-declared Source shared_ptr to style_bucket
2014-07-11 16:49:39 -07:00
Mike Morris
f89de635ad
Merge branch 'master' into stylesource
2014-07-10 17:21:20 -07:00
Mike Morris
4590adc115
break out StyleSource from Source, move getActiveSources and
...
updateSources into Map::Map, move getAccessToken from Style to Map
Conflicts:
include/llmr/style/style.hpp
src/map/source.cpp
src/style/style_layer.cpp
src/style/style_parser.cpp
2014-07-10 17:12:02 -07:00
Konstantin Käfer
0719ca73be
remove duplicate setAppliedClasses function
2014-07-10 17:10:34 -07:00
Mike Morris
356c9ce7e4
move sprite class to map directory
2014-07-10 16:30:48 -07:00
Konstantin Käfer
795496053b
Merge branch 'master' into access_token
...
Conflicts:
src/map/source.cpp
2014-07-10 10:46:35 -07:00
Konstantin Käfer
d9bebe84a5
move render type to layer top level
...
refs https://github.com/mapbox/mapbox-gl-style-spec/issues/80
2014-07-09 18:43:28 -07:00
Justin R. Miller
98a415416a
move to per-map access token
2014-07-09 17:18:36 -07:00
Konstantin Käfer
d0d68d08f4
fix automated headless testing on travis
2014-07-09 12:37:59 -07:00
Konstantin Käfer
c81780a9ca
Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native
...
Conflicts:
src/style/style.cpp
2014-07-07 09:30:00 -07:00
Justin R. Miller
3554a3736a
re-add setAppliedClasses() to style
2014-07-03 14:59:06 -07:00
Konstantin Käfer
3e54c59656
add applied classes api
2014-07-03 19:39:45 +02:00
Konstantin Käfer
af87fb6c26
load glyphset url from stylesheet
2014-07-02 12:10:09 +02:00
Konstantin Käfer
e93803ac80
read sprite image from style
2014-07-02 11:38:36 +02:00
Konstantin Käfer
97fc5d9f74
make transitions work properly
2014-07-01 12:21:53 +02:00
Konstantin Käfer
a6f7696feb
add interpolation
2014-06-30 17:41:25 +02:00
Konstantin Käfer
93cd4c5c7b
move StyleLayerGroup and PropertyTransition to their own files
2014-06-30 11:46:03 +02:00
Konstantin Käfer
881c0f1412
more docs + remove StyleLayer::Ptr typedef
2014-06-27 18:01:28 +02:00
Konstantin Käfer
d75f0075f3
even more refactoring
2014-06-27 16:42:44 +02:00
Konstantin Käfer
aff667d742
add filter expressions
2014-06-26 15:04:18 +02:00
Konstantin Käfer
7637b7f8c7
get applied classes
2014-06-24 16:47:11 +02:00
Konstantin Käfer
ff571fabcf
fix exit crash due to forced loop stop
2014-06-24 11:39:16 +02:00
Konstantin Käfer
ba4294ae0c
saving current state
2014-06-23 18:05:25 +02:00
Konstantin Käfer
af69b4fe39
unifiy constants in one place, and allow local override
2014-06-04 11:22:03 +02:00
Justin R. Miller
e5a78c931a
make some more getter functions constant
2014-06-01 15:32:03 -07:00
Justin R. Miller
4d66a51d22
get rid of brittle hardcoded style toggling method
...
Conflicts:
ios/mapbox-gl-cocoa
2014-06-01 11:20:55 -07:00
Konstantin Käfer
c54ff954bf
never send async events to nullptrs
2014-06-01 00:10:16 +02:00
Justin R. Miller
62b19f7e8b
clean up obsolete stylesheet resources reference
2014-05-31 13:06:39 -07:00
Justin R. Miller
a81a336638
programmatic styling API
2014-05-31 11:32:42 -07:00
Konstantin Käfer
d5e63cea21
retain the uv loop until all things deconstructed
...
fixes #261
2014-05-30 17:32:09 +02:00