Bruno de Oliveira Abinader
e5ed9d9ddf
[core] Use unwrapped longitude for bounds check
2019-02-26 21:17:31 +02:00
Asheem Mamoowala
10a44050f4
Support TileJSON bounds property ( #10701 )
...
* [core] Parse TileJSON bounds property
* [core] Add TileRange and LatLngBounds::contains(CanonicalTileID)
Move LatLngBounds::contains impl to cpp file
* [core] Skip tile creation outside of tileset bounds
* [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
2018-01-05 06:35:31 -08:00
Bruno de Oliveira Abinader
2f4d162deb
[core] Tighten geo.hpp ctors
2017-04-14 12:33:13 -07:00
John Firebaugh
16a2839e23
[all] Make LatLng coordinates read-only
2017-04-06 09:22:51 -07:00
Bruno de Oliveira Abinader
c20c1d6a6b
[core] Avoid redundant 'inline' usage
2016-06-18 23:46:50 +03:00
Konstantin Käfer
ec70125e41
[core] move TileData and dependents to new *TileID classes
2016-05-10 14:50:56 +02:00
John Firebaugh
f89cfacab2
[core] Inline LatLng::project definition the one place it's used
2016-05-05 11:16:57 -07:00
John Firebaugh
ce2a06e677
[core] Privatize math.hpp and vec.hpp
2016-05-05 11:16:57 -07:00
Bruno de Oliveira Abinader
ac70ada2d3
[core] Check for NaNs in mbgl::util::{min,max,clamp}
2016-03-18 00:53:14 +02:00
Bruno de Oliveira Abinader
c6757b9a9b
[core] Added DEGREES_MAX as constant value
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
4994b3dc57
[core] PrecisionPoint is now ScreenCoordinate
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
411a562061
[core] Enforce constants usage
...
Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever
possible.
2016-03-01 20:58:54 +00:00
Minh Nguyễn
8dfba0ef0b
[ios] Flip points, not edge insets
2016-01-18 16:54:58 -08:00
Minh Nguyễn
143f8a7817
[core] Added padding option to CameraOptions
...
Moved EdgeInsets to geo.hpp so CameraOptions and Transform can refer to it. Added a padding option to CameraOptions that alters the frame of reference for the center option. Added optional padding parameters to LatLng getters and setters.
Working towards #2600 .
2016-01-18 16:54:57 -08:00
Bruno de Oliveira Abinader
e2052ea3e4
[core] Added PrecisionPoint to represent pixel points
2015-11-11 16:59:49 +02:00
John Firebaugh
c5b95032a5
[core] Annotation refactor
2015-10-20 13:54:19 -07:00
John Firebaugh
8baa804a44
[core] Fix swapped lat/lon in geo.cpp
2015-10-20 13:54:19 -07:00
Konstantin Käfer
f85889dc75
allow constructing LatLng/LatLngBounds objects from TileIDs
2015-06-08 16:13:37 -04:00