Commit Graph

16768 Commits

Author SHA1 Message Date
Justin R. Miller
540ef12b4e fix compilation error with private category property 2015-04-02 19:28:37 -07:00
Justin R. Miller
dafce83acd Merge pull request #1192 from mapbox/location-and-docs-tweaks
improvements to iOS docs & user location framework
2015-04-02 17:50:32 -07:00
Justin R. Miller
dbd22ae61a reverting to title/subtitle setters for user location 2015-04-02 17:12:05 -07:00
Justin R. Miller
9a416c449c Improvements to docs & user location framework.
* Cleans up & documents more APIs, especially in location.
 * Moves `coordinate` internal and makes use of `location` to retrieve it.
 * Moves `title` & `subtitle` internal since part of `MGLAnnotation` protocol.
 * Enables `isUpdating` by privately associating weakly with a map view.
2015-04-02 16:58:24 -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
John Firebaugh
3bd180dbe8 Merge pull request #1155 from mapbox/1155-update-as-needed
Only run Style::updateProperties when required
2015-04-02 16:38:08 -07:00
John Firebaugh
12c07b916b Rework easing transition code
This brings the easing transition code a bit closer to how easings work
in gl-js. Instead of having an array of individual transitions for scale,
rotate, and pan, there is a single transition function that does all the
required calculations. This permits us to:

* Eliminate the "timeout" transition. (Fixes #126)
* Replace start/stopPanning() et al with setGestureInProgress(). Apps or
  SDKs are expected to make paired calls to setGestureInProgress(). This
  state will be ORed with the active easing state to determine when to
  use texture interpolation. (Fixes #79)
* Run style recalculations only when an ease transition that affects the
  zoom is in progress. (Fixes #1155)
2015-04-02 16:12:29 -07:00
John Firebaugh
9e38d7cc2b Move Update to its own header file 2015-04-02 15:30:13 -07:00
John Firebaugh
7f58840991 Remove unused 2015-04-02 15:30:12 -07:00
Mike Morris
186fbad236 update changelog 2015-04-02 17:59:00 -04:00
Brad Leege
7c05f941a8 Merge pull request #1188 from mapbox/1185-events-querystring
Events = True
2015-04-02 16:57:19 -05:00
Mike Morris
3090f498fd 1.0.2 [publish binary] 2015-04-02 17:55:47 -04:00
Mike Morris
6a3d6d2372 Merge pull request #108 from mapbox/init-display
init display connection on module load
2015-04-02 17:54:06 -04:00
Mike Morris
d9c446a075 init display connection on module load
add sudo: required

move source up to initialization on NodeMap

static sharedDisplay method
2015-04-02 17:21:16 -04:00
Brad Leege
94bc3c811f #1185 - Adding "events=true" query string to all non metrics http requests if metrics are not disabled 2015-04-02 16:15:25 -05:00
Ansis Brammanis
68ae21d8f4 fix android and Release builds 2015-04-02 13:33:50 -07:00
Ansis Brammanis
1dcd1cf509 remove tests for deleted rotation_range 2015-04-02 12:52:55 -07:00
Minh Nguyễn
44d360501e Polished privacy settings
Added footer text to explain the purpose of the Mapbox Metrics setting. Added strings from the plist to an existing unused .strings file and converted that .strings file to UTF-8 for diffability.
2015-04-02 12:43:32 -07:00
Ansis Brammanis
02d2ddef52 fix quad offsets by subtracting buffer
-js doesn't have this here because it subtracts the buffer earlier.
617e590c83/js/symbol/glyph_source.js (L75)

We should match -js eventually.
2015-04-02 12:39:30 -07:00
Ansis Brammanis
7b02800ad9 remove old symbol collision types 2015-04-02 12:16:42 -07:00
Ansis Brammanis
07b85043c8 port clipLines from -js 2015-04-02 11:54:28 -07:00
Brad Leege
94ed06dacb Merge pull request #1179 from mapbox/1178-location-location-location
Changing "Location" to "location"
2015-04-02 11:20:52 -05:00
Brad Leege
418c802d97 #1178 - Changing "Location" to "location" 2015-04-02 10:34:35 -05:00
Konstantin Käfer
9dae9cf06e Merge pull request #1177 from mapbox/cleanup
Some minor cleanups
2015-04-02 16:13:54 +02:00
Konstantin Käfer
5ab6274f8b some cleanup 2015-04-02 15:45:39 +02:00
Konstantin Käfer
4df0674b1e Merge pull request #1175 from mapbox/chrono
Make std::chrono use less painful
2015-04-02 12:54:18 +02:00
John Firebaugh
9331acf8e6 Add typedefs for std::chrono::steady_clock types 2015-04-02 12:28:12 +02:00
Ansis Brammanis
2767a9b04e port checkMaxAngle from -js 2015-04-01 21:01:49 -07:00
Ansis Brammanis
c49e1ac733 port getAnchors from -js 2015-04-01 20:31:25 -07:00
Ansis Brammanis
1d50485e5b port bboxifyLabel from -js 2015-04-01 19:03:01 -07:00
Peter Liu
440864063e Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native 2015-04-01 17:05:22 -07:00
Peter Liu
523295af7e Updated to latest Emerald style" 2015-04-01 17:04:51 -07:00
Ansis Brammanis
c200053951 don't add upside-down glyphs to buffers 2015-04-01 16:26:33 -07:00
Ansis Brammanis
dea7b32070 remove old collision and rotation range code 2015-04-01 16:11:49 -07:00
Ansis Brammanis
e1059e7125 port SymbolBucket::placeFeatures 2015-04-01 16:11:48 -07:00
Ansis Brammanis
fd526ae68e port the remained of CollisionTile 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
Ansis Brammanis
128ed1f26f start porting symbol bucket changes 2015-04-01 16:11:48 -07:00
John Firebaugh
6d1f5aa68c Merge pull request #1174 from mapbox/style-layer-group
Style code cleanup
2015-04-01 14:07:06 -07:00
John Firebaugh
13991cf786 Rename methods to match gl-js 2015-04-01 12:37:41 -07:00
John Firebaugh
71227e4645 StyleLayer is noncopyable 2015-04-01 11:26:46 -07:00
John Firebaugh
db5e9d1302 Remove unused 2015-04-01 11:22:32 -07:00
John Firebaugh
1db044d3c0 Remove unused 2015-04-01 11:21:05 -07:00
John Firebaugh
5264982ba7 Eliminate StyleLayerGroup 2015-04-01 11:14:20 -07:00
Konstantin Käfer
4518743bd6 Merge pull request #1172 from mapbox/1172-no-stringstream
Use hash instead of string key when merging lines
2015-04-01 18:35:45 +02:00
Konstantin Käfer
c475284a58 use hashes instead of string keys 2015-04-01 17:56:51 +02:00
Konstantin Käfer
0a7424dc60 Merge pull request #1171 from mapbox/1171-auto
Use more auto
2015-04-01 17:16:41 +02:00
Konstantin Käfer
220ebf61dd replace iterator variable types with auto 2015-04-01 16:42:42 +02:00
Konstantin Käfer
cc97675ca1 Merge pull request #1170 from mapbox/1170-no-stringstream-for-hashing
Remove usage of stringstream for line dash atlas
2015-04-01 16:13:37 +02:00