Konstantin Käfer
8112ac3371
[core] explicitly initialize a few fields to null
2016-03-04 16:01:41 -08:00
John Firebaugh
65b3220368
[core] Reduce custom layer API to lowest common denominator
2015-12-11 12:44:54 -08:00
John Firebaugh
e04c5f6506
[core] Replace StyleLayerType with RTTI
2015-12-07 18:22:33 -08:00
Konstantin Käfer
d5fb535058
[core] add namespace comment to closing brace
2015-12-03 15:38:36 +01:00
John Firebaugh
54e08b1f83
[core] Eliminate use of ClassProperties for paint
2015-11-10 11:33:17 -08:00
John Firebaugh
a562567589
[core] Eliminate use of ClassProperties for layout
2015-11-10 11:33:17 -08:00
John Firebaugh
3afc8b4a29
[core] Introduce StyleLayer subclasses
2015-10-22 09:34:40 -07:00
John Firebaugh
df89de5cc5
[core] Rationalize style property classes: <type>{Paint,Layout}Properties
2015-10-22 09:21:30 -07:00
Mike Morris
b46c102eb0
mason variant@1.0
2015-09-30 15:34:40 -07:00
Bruno de Oliveira Abinader
98534631e0
Add circle render type
...
As specified in:
https://github.com/mapbox/mapbox-gl-style-spec/blob/v8-circle/reference/v8.json
Part of #1740 .
2015-08-20 11:59:07 -07:00
Ansis Brammanis
888ae5ebdc
improve round line joins for semi-transparent lines
...
https://github.com/mapbox/mapbox-gl-js/pull/1359
Round line joins used to be drawn by adding a semicircle cap to the end
of each segment. This looked fine for opaque lines not for
semi-transparent lines.
This changes the triangulation so that round line joins don't overlap
with segments. The gap between segments is filled with small triangles
that look like pie slices. The edge of the round linejoin is made up of
many short straight lines that look round at the sizes we draw lines.
Since sharp angles are infrequent, this does not significantly affect
the total number of triangles created.
Joins for angles that are really sharp are still drawn with overlap.
2015-07-08 16:16:51 +02:00
Justin R. Miller
bd0bf294bf
squash of #1655 : shape annotations support for core & iOS
2015-06-15 18:30:39 -07:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00
John Firebaugh
167097936a
Store SourceInfo as direct member
2014-11-26 15:13:14 -08:00
John Firebaugh
051e1c32ae
Support compound text-anchor values
2014-11-04 12:26:27 -08:00
John Firebaugh
0790b574b4
Single text positioning property
...
https://github.com/mapbox/mapbox-gl-style-spec/issues/197
2014-11-04 12:26:27 -08:00
John Firebaugh
9a3b740fcc
Render ⇢ layout, style ⇢ paint
...
https://github.com/mapbox/mapbox-gl-style-spec/issues/166
2014-11-04 12:26:14 -08:00
John Firebaugh
c151f12997
Implement v6 filters
2014-11-04 12:26:14 -08:00
Lauren Budorick
0d6bca0e7e
line-offset -> line-gap-width
2014-11-04 12:26:13 -08:00
Konstantin Käfer
214f99673f
fix variable shadowing
2014-10-22 18:19:01 +02:00
Konstantin Käfer
087d04292a
Merge branch 'master' of github.com:mapbox/mapbox-gl-native
2014-10-22 15:18:30 +02:00
John Firebaugh
4603ca037c
background-image support
2014-10-17 10:44:38 -07:00
Mike Morris
2d1219fa51
Merge branch 'master' into libuv-0.10-headless-display
...
Conflicts:
common/curl_request.cpp
common/glfw_view.cpp
common/glfw_view.hpp
include/mbgl/platform/request.hpp
ios/mapbox-gl-cocoa
setup-libraries.sh
src/map/map.cpp
src/platform/request.cpp
test/fixtures/fixture_request.cpp
2014-10-10 12:24:45 -04:00
Konstantin Käfer
91f40daa69
don't do concurrent access to a static member variable
...
in situations where the renderer is used from multiple threads, this causes memory corruption.
fixes mapbox/node-mapbox-gl-native#7
2014-10-08 15:27:33 +02:00
Konstantin Käfer
19129cbd02
make SourceInfo object noncopyable and use a shared_pointer for it
2014-09-24 16:16:29 +02:00
Konstantin Käfer
f26bb724dc
use util::ptr as a wrapper around std::shared_ptr that asserts nonemptiness
2014-09-24 16:14:09 +02:00
John Firebaugh
c14ae3c477
Fix text/icon-translate-anchor
...
These are style properties, not render properties.
2014-09-04 15:38:14 -07:00
John Firebaugh
6855590548
Fix default text-size
2014-08-28 16:48:01 -07:00
John Firebaugh
9f734ee61d
background-opacity support
2014-08-28 10:43:53 -07:00
John Firebaugh
e2c2ab843e
Render background with plain shader
2014-08-27 18:22:20 -07:00
Lauren Budorick
0168612ed3
Load TileJSON; support inline TileJSON sources
...
Fixes #412
Refs https://github.com/mapbox/mapbox-gl-style-spec/pull/143
2014-08-21 16:12:27 -07:00
John Firebaugh
b9c7e1bdd9
Consolidate duplicate interpolation definitions
...
While here, do not interpolate style properties that
are not transitionable. The previous behavior was to
switch from old to new value halfway through the transition;
now the new value is used immediately, as in JS.
2014-08-20 13:58:37 -07:00
Konstantin Käfer
d147e18153
update mapbox/variant
2014-08-19 11:38:26 +02:00
Ansis Brammanis
32a1711d8c
remove support for composite layers
2014-08-15 15:52:53 +02:00
Ansis Brammanis
6c45972502
allow crosstile labels and add symbol-avoid-edges
2014-08-15 15:18:29 +02:00
Lauren Budorick
adb04662f9
parsing brightness correctly
2014-08-12 18:56:42 -07:00
Konstantin Käfer
64d5cea94f
Merge branch 'master' into rasterize
...
[skip ci]
2014-08-12 15:15:05 +02:00
Konstantin Käfer
213b6ad4dc
Merge branch 'master' into rasterize
...
[skip ci]
2014-08-12 15:12:31 +02:00
Konstantin Käfer
df47a7be90
explicitly define destructor to avoid destructing with forward declaration
2014-08-12 13:35:04 +02:00
Konstantin Käfer
6f80264291
remove uv.h dependency from header files
2014-08-12 11:45:30 +02:00
Lauren Budorick
41165452bc
some cleaning up, raster spin->hue-rotate rename
2014-08-11 12:13:24 -07:00
Lauren Budorick
560cc112e1
rm rasterize_properties, should be close to working...doesn't work
2014-08-11 12:13:22 -07:00
Lauren Budorick
9e1156d660
take 2, still not working
2014-08-11 12:13:22 -07:00
Lauren Budorick
df925fe0e5
nonworking prerendering attempts
2014-08-11 12:12:43 -07:00
Konstantin Käfer
9f99f0bb60
change max_angle_delta to max_angle
2014-08-04 18:59:17 +02:00
Konstantin Käfer
36181b0922
update symbol placement to be more like js
2014-08-04 18:24:22 +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
270c24a9a8
add symbol* properties/keys
2014-07-29 12:09:22 +02:00
Eden Halperin
7a8a9fb339
change text-max-angle to accept degrees and convert to radians
2014-07-26 09:18:42 -07:00