Konstantin Käfer
f3191dbbb4
[core] change bool *AlongLine to SymbolPlacementType
2016-09-07 17:56:38 +02:00
Bruno de Oliveira Abinader
4161d197fd
[tidy] Check modernize-pass-by-value
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
2016-06-13 23:32:05 +03:00
John Firebaugh
b87fe16169
[core] CollisionBox::indexedFeature to CollisionFeature::indexedFeature
...
This eliminates the CollisionBox constructor that instantiates an "empty" IndexedSubfeature.
2016-05-12 08:36:30 -07:00
John Firebaugh
9330d674a9
[core] Use geometry.hpp's point
2016-05-05 11:30:53 -07:00
Ansis Brammanis
61d14089e0
[core] implement queryRenderedFeatures
2016-04-29 12:00:24 -07:00
Bruno de Oliveira Abinader
f3fc87261c
[core] Coordinate is now GeometryCoordinate
...
Also introduced GeometryCoordinates (vector of GeometryCoordinate
items), to better cope with GeometryCollection.
2016-03-01 20:58:54 +00:00
Ansis Brammanis
5cd123422e
[core] fix missing icon collision boxes
...
port https://github.com/mapbox/mapbox-gl-js/pull/1981
2016-01-22 18:00:49 -08:00
Konstantin Käfer
d5fb535058
[core] add namespace comment to closing brace
2015-12-03 15:38:36 +01:00
Ansis Brammanis
34a5bf665e
fix bboxify where first box should be placed after anchor
...
-js: e99ed95aaba5e79c322733b32e03518b12203a79
2015-04-06 12:35:16 -07:00
Ansis Brammanis
466febd615
don't create infinitely many boxes for zero or negative height symbols
...
line-height or padding can make the height of a shaped object <= 0.
In these cases either create no boxes, or create boxes with a minimum
height to avoid creating too many of them.
-js: 9e78c02d8b22b60a08fdb28fd29eef1642f62d94
2015-04-02 16:48:43 -07:00
Ansis Brammanis
1d50485e5b
port bboxifyLabel from -js
2015-04-01 19:03:01 -07:00
Ansis Brammanis
e1059e7125
port SymbolBucket::placeFeatures
2015-04-01 16:11:48 -07:00
Ansis Brammanis
dda1b770da
port collision box debug rendering
2015-04-01 16:11:48 -07:00
Ansis Brammanis
8fd42f371f
start porting CollisionTile and CollisionFeature
2015-04-01 16:11:48 -07:00