John Firebaugh
76d6aba8f2
[core] Define mbgl::variant ( #4833 )
...
For parallelism with mbgl::optional, and to avoid exposing namespaces other than `mbgl` in the public API.
2016-04-25 13:58:10 -07:00
Bruno de Oliveira Abinader
026b6d4c01
[core] Coordinate wrapping fixes
...
- Make returning LatLngs unwrapped by default.
- PointAnnotation and ShapeAnnotation are always wrapped so they can be
selected via intersection from the visible tile boundaries.
- Fixes LatLng::wrap() calculation.
- Fixes LatLng::unwrapForShortestPath() calculation.
The new unwrapForShortestPath algorithm unwraps the start coordinate
either forwards or backwards depending on the end coordinate value, so
we can always cross the antimeridian when needed and still obtain a
wrapped end coordinate in the end.
Fixes #4214 .
2016-03-10 03:36:45 +02:00
Konstantin Käfer
d5fb535058
[core] add namespace comment to closing brace
2015-12-03 15:38:36 +01:00
John Firebaugh
1e350b7ea4
[core] Reorganize sprite related files
2015-11-12 13:03:14 -08:00
John Firebaugh
54e08b1f83
[core] Eliminate use of ClassProperties for paint
2015-11-10 11:33:17 -08:00
John Firebaugh
c46a8254c4
[core] Style-sourced shape annotation properties
...
This introduces the possibility to source the type and style properties
of a shape annotation from a designated layer in the style.
2015-10-22 15:27:53 -07:00
John Firebaugh
3afc8b4a29
[core] Introduce StyleLayer subclasses
2015-10-22 09:34:40 -07:00
John Firebaugh
c5b95032a5
[core] Annotation refactor
2015-10-20 13:54:19 -07:00
John Firebaugh
597b2b4851
[core] Pull annotation typedefs to own header; add AnnotationID
2015-10-20 13:54:19 -07:00
Konstantin Käfer
62ac43a85b
add ability to add random custom markers to test app
2015-07-08 19:46:02 +02:00
John Firebaugh
42c06e7039
Use array of structs rather than parallel arrays for annotations
2015-06-29 10:54:17 -07:00
Minh Nguyễn
714b68f7b3
Revert "use array of structs rather than parallel arrays for annotations"
...
This reverts commit 2435c1ad26 (#1710 ), which needs to be revisited in light of #1655 , which is a much higher priority at the moment.
2015-06-15 15:58:22 -07:00
Konstantin Käfer
2435c1ad26
use array of structs rather than parallel arrays for annotations
2015-06-11 17:26:37 -04:00