John Firebaugh
5864c8fc4c
[core] Include geometry in queryRenderedFeatures results
2016-05-18 17:29:16 -07:00
John Firebaugh
1b1df9e354
[core] Add classifyRings
2016-05-18 17:29:16 -07:00
Konstantin Käfer
c5fc7f1980
[core] use rapidjson's dtoa implementation to stringify floating point numbers
2016-05-18 12:26:51 +02:00
Konstantin Käfer
002393bdea
[core] remove MockView and View dependency in Transform
2016-05-18 12:07:21 +02:00
John Firebaugh
e66f9b2830
[core] Simplify parameters
2016-05-17 13:20:25 -07:00
John Firebaugh
3173b46418
[core] Less auto
2016-05-17 13:20:25 -07:00
John Firebaugh
3c49fdc99d
[core] Feature IDs are always integers
2016-05-17 13:20:25 -07:00
John Firebaugh
b7d395fcf6
[core] Simplify and fix query logic across the antimeridian
2016-05-17 13:20:25 -07:00
John Firebaugh
7f6944f617
[core] Fix properties of GeoJSON layers in queryRenderedFeatures
2016-05-17 13:20:25 -07:00
John Firebaugh
fbb074a089
[core] Eliminate temporary vector in Style::queryRenderedFeatures
2016-05-17 13:20:25 -07:00
John Firebaugh
db74459990
[core] Use mapbox::geometry::envelope in Source::queryRenderedFeatures
2016-05-17 13:20:25 -07:00
John Firebaugh
7e5d0ff49e
[core] Rewrite TileCoordinate in terms of geometry.hpp point
2016-05-17 13:20:25 -07:00
John Firebaugh
3e21e3887a
[core] Introduce StyleQueryParameters; push coordinate calculations into Source
2016-05-17 13:20:25 -07:00
John Firebaugh
8ec0b70722
[core] Use mapbox::geometry::box in queryRenderedFeatures
2016-05-13 09:01:32 -07:00
John Firebaugh
57fcfabd77
[core] Make mapbox::geometry::envelope usable without explicit template arguments
2016-05-13 09:01:32 -07:00
John Firebaugh
58863c3974
[core] Remove unused
2016-05-13 09:01:32 -07:00
John Firebaugh
39da776bd7
[core] Use mapbox::geometry::{box,envelope}
2016-05-13 09:01:32 -07:00
Konstantin Käfer
cd65a43855
[core] move from microsecond precision timestamp to integer second precision
2016-05-13 17:24:22 +02:00
John Firebaugh
0e7f3ada64
[core] Fix code style issues
2016-05-12 08:43:08 -07:00
John Firebaugh
5620cea82e
[core] Avoid instantiating temporary vector
2016-05-12 08:36:30 -07: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
00a86ba03f
[core] Replace auto with actual types
2016-05-12 08:36:30 -07:00
John Firebaugh
e79858558d
[core] Avoid instantiating temporary vector
2016-05-12 08:36:30 -07:00
John Firebaugh
e6296479f0
[core] Code formatting
2016-05-12 08:36:30 -07:00
John Firebaugh
1a030e7c33
[core] Normalize tile coordinates in VectorTile ( #4966 )
...
Previously, vector tile coordinates were being normalized to util::EXTENT in each place they were used, and for annotation and GeoJSON sources that don't require normalization.
2016-05-11 13:54:05 -07:00
Bruno de Oliveira Abinader
c13dd32242
[core] Added Viewport mode
...
Satisfies embedding platforms that requires the viewport coordinate
systems to be set according to its standards e.g. viewport mirrored
vertically.
2016-05-11 15:48:51 +03:00
Konstantin Käfer
7332ae0073
[core] retain tiles differently and remove old TileID class
2016-05-10 14:50:56 +02:00
Konstantin Käfer
ec70125e41
[core] move TileData and dependents to new *TileID classes
2016-05-10 14:50:56 +02:00
Konstantin Käfer
bdcbceff80
[core] move Tile to use UnwrappedTileID
2016-05-10 14:50:56 +02:00
Konstantin Käfer
dde59eaf76
[core] move Painter and dependents to new *TileID classes
2016-05-10 14:50:56 +02:00
Konstantin Käfer
5b640fb446
[core] add algorithm for generating clip IDs based on the new TileID classes
2016-05-10 14:50:56 +02:00
Konstantin Käfer
ecc8e018fa
[core] add algorithm for detecting whether an ordered map contains covering children
2016-05-10 14:50:56 +02:00
Konstantin Käfer
82ebcfa14e
[core] introduce three distinct TileID types
...
* CanonicalTileID has z, x, and y, with x/y being within the bounds z defines. z can be anything from 0-32.
* OverscaledTileID is composed of a z value, and a canonical tile. The z value indicates the zoom level the tile is intended for. It is primarily used for indexing overscaled data tiles.
* UnwrappedTileID is composed of a wrap value, and a canonical tile. The wrap value is used for representing tiles to the left and right of the main (0/0/0 based) tile pyramid. It is primarily used for indicating the position a tile should be rendered at.
2016-05-10 14:50:56 +02:00
Minh Nguyễn
5ccb43477f
[ios, osx] Renamed Hybrid to Satellite Streets
...
The style ID has also changed, but the unversioned method will continue to point to the old v8 style ID.
2016-05-06 11:06:51 -07:00
Minh Nguyễn
2a4eeadb29
[core, ios, osx] Version default style URL APIs; deprecated Emerald
...
Updated default styles from v8 to v9. Deprecated the MGLMapView class methods in favor of new methods that take a version parameter. Deprecated Emerald outright in favor of Outdoors. Replaced usage of the unversioned MGLStyle methods with the corresponding versioned methods and MGLStyleCurrentVersion to ensure consistency.
Expanded MGLStyle unit tests to also assert that MGLStyle has the right number of style URL methods and that they’re all public. Linked the OS X SDK unit test bundle to libmbgl-core.a. Removed an unnecessary dependency on osxapp.
Replaced Emerald with Outdoors in iosapp and osxapp.
Fixes the iOS and OS X side of #4577 and #4702 .
2016-05-06 10:57:54 -07:00
John Firebaugh
59a7fbf8e4
[core] Implement has/!has filters ( #4952 )
2016-05-05 14:30:37 -07:00
John Firebaugh
9330d674a9
[core] Use geometry.hpp's point
2016-05-05 11:30:53 -07: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
Thiago Marcos P. Santos
a818917714
[Qt] Make it possible to disable libwebp and libjpeg-turbo at build time
...
Pull less dependencies.
2016-05-05 18:47:14 +03:00
John Firebaugh
10e522d10b
[core] Privatize various util headers ( #4945 )
2016-05-04 14:09:51 -07:00
Dane Springmeyer
0c6bce2819
[core] consistently protect against invalid tag encoding in vector tile
2016-05-04 10:12:15 -07:00
Brent W
7e6995d153
[core] Merge pull request #4914 from bwhtmn/camera-padding
...
Fix a bug in applying padding to the camera.
Fixes #4862 .
2016-05-04 01:28:27 -07:00
John Firebaugh
a64fe5062f
[core] Simplify FilterEvaluator and fix crash
...
Previous implementation was assigning a temporary to FilterEvaluator<T>::extractor.
2016-05-04 09:56:34 +03:00
John Firebaugh
c8391729c7
[core] Use geometry.hpp feature type
2016-05-03 17:25:49 -07:00
Dane Springmeyer
c82b02c508
[core] port to protozero ( #4906 )
2016-05-03 13:57:17 -07:00
John Firebaugh
fd0f9d1319
[core] Remove duplicate copy of utf.hpp
2016-05-02 12:26:33 -07:00
John Firebaugh
c8c36c395c
[core] Remove unused
2016-05-02 11:26:37 -07:00
Ansis Brammanis
700180a0fe
[core] use a GridIndex for queryRenderedFeatures
2016-04-29 12:00:24 -07:00
Ansis Brammanis
61d14089e0
[core] implement queryRenderedFeatures
2016-04-29 12:00:24 -07:00