Commit Graph

5497 Commits

Author SHA1 Message Date
Brad Leege
237bb1b095 #2462 - Adding titles to different areas of navigation drawer for clearer navigation 2015-10-08 11:36:04 -05:00
Tobrun
4c4bfd2741 Added new icons for the new features 2015-10-08 11:36:04 -05:00
Tobrun
1c1821b463 Updated InfoWindowAdapter example, made it a bit more pretty, added toolbar to MapFragmentActivity 2015-10-08 11:36:04 -05:00
Tobrun
e673a26788 Made MapFragment work again, introduced new system to handle access token, updated MapFragmentActivity example 2015-10-08 11:36:04 -05:00
Tobrun
209d20664c Added Map fragment example, cleanup 2nd MapActivity, format AndroidManifest 2015-10-08 11:36:03 -05:00
Tobrun
4c0494827f Moved loading of access token to Util 2015-10-08 11:36:03 -05:00
Tobrun
0b23eb1204 Renamed SecondMapActivity to InfoWindowAdapterActivity 2015-10-08 11:36:03 -05:00
Tobrun
d475b1cc0f Formatting commit 2015-10-08 11:36:03 -05:00
Jason Wray
6fb9c439bd [iOS] Remove wifi SSID from metrics
Wifi SSID was never stored and was only used for additional verification
of wifi networkedness. Instead, we now do this on device and don't need
the SSID name.

IDFA was previously included in metrics events if the AdSupport framework was
linked.
2015-10-08 09:14:41 -07:00
Leith Bade
8b6f928718 [android] JavaDoc MapView part 5
For #2002
2015-10-08 14:08:37 +11:00
Leith Bade
154e27968f [core] Protect MapData.pause with a lock
Fixes #2522
2015-10-08 11:36:22 +11:00
Minh Nguyễn
6228888806 [iOS] Updated CHANGELOG 2015-10-07 14:57:58 -07:00
Minh Nguyễn
9482649ae5 [core] Look the other way when placing icon at start of line
When an anchor is at the beginning of a line, its segment’s coordinates match its own coordinates, resulting in an angle of 0°. When the segment’s coordinates match the anchor’s coordinates, consider the next segment instead.

Fixes #2474.
2015-10-07 14:57:58 -07:00
John Firebaugh
3bbb87c6d7 Update test-suite 2015-10-07 14:05:59 -07:00
Minh Nguyễn
456f329755 Ask contributors to update changelogs incrementally
Also seeded the changelog with changes in master.
2015-10-07 10:19:19 -07:00
Brad Leege
3a1f62e6b9 #2535 - Re exposing sprite field level access, but putting a null check in MarkerOptions to help guard it. 2015-10-07 11:29:59 -05:00
Brad Leege
6fbb57e6ee #2535 - Encapsulating remainder of fields in Marker (except for position due to more JNI work needed) to protect Markers 2015-10-07 11:29:59 -05:00
Brad Leege
463c52fa7e #2535 - Restoring default marker setting and adding null check. Making sprite field private to enforce using setter method for added protection. 2015-10-07 11:29:59 -05:00
Adam Hunter
1179096dd8 VAO and extension tracking code. 2015-10-06 13:54:36 -07:00
Bruno de Oliveira Abinader
402819e1ad Fix for style properties transition updates 2015-10-06 12:25:46 -07:00
Brad Leege
71be6923a8 #2543 - Updating version_name to 2.1.0-SNAPSHOT 2015-10-06 14:16:08 -05:00
Jason Wray
394c1be038 [ios][tests] disable non-null warning 2015-10-06 13:55:08 -04:00
Vladimir Agafonkin
453fd4c0b0 fix layer minZoom being ignored if not less than source maxZoom
This condition led to layers with high minzoom like oneway street
arrows (z15) get parsed and placed regardless of minzoom (e.g. z11+),
wasting a lot of worker CPU time.

It became unnecessary after we added reparsing tiles when overscaling,
and even before that it should have probably been <= rather than <.
2015-10-06 14:25:00 +03:00
Leith Bade
b869771992 Correctly handle spurious wake-ups in Map::pause()
Fixes #2522
2015-10-06 14:10:32 +11:00
Leith Bade
150ce3b0ca Remove APK splits added for Crashlytics NDK 2015-10-06 13:09:12 +11:00
Leith Bade
0ba0645b31 JavaDoc MapView part 4
For #2002
2015-10-06 12:37:27 +11:00
Justin R. Miller
999b0d2c75 refs #2527, fixes #774: properly unbind VAO 2015-10-05 16:23:13 -07:00
Leith Bade
d42bf35f06 [android] Add OnMapClickListener, onMapLongClickListener
Marker click centers map on marker
Fixed up variable names
Closes #2507
Flip Y coordinate in to/fromScreenLocation
Fixes #2519
2015-10-06 08:35:11 +11:00
Jason Wray
a5e34a2bc8 [ios] Don't disable user tracking on setDirection: or quick zoom gesture 2015-10-05 12:15:54 -04:00
Jason Wray
b406c942df [ios] update MGLMapView inline docs for v8 styles
Fixes #2503
2015-10-02 19:43:04 -04:00
Jason Wray
29da7bb26d [ios] describe radians↔degrees functions 2015-10-02 18:54:53 -04:00
Jason Wray
e565808de0 [ios] fix unintentional omission of delegate sections & methods from docs
Adds these delegate methods that were missing:
  - `mapView:annotation:calloutAccessoryControlTapped:`
  - `mapView:didSelectAnnotation:`
  - `mapView:didDeselectAnnotation:`

Adds these section headers that were missing:
  - Responding to Map Position Changes
  - Managing Annotations
  - Selecting Annotations

Also reorders the sections by priority and grouping.

Fixes #2514
2015-10-02 18:48:26 -04:00
Justin R. Miller
8cc3b12f1e [ios] fixes #2490: add annotation image enabled property 2015-10-02 11:50:53 -07:00
John Firebaugh
ddc4a8193e Install gtest from mason 2015-10-02 10:17:16 -07:00
Tobrun
02bc2bd7be Add InfoWindowAdapter, had to move some parts in InfoWindow + Marker
InfoWindowAdapter example in sample app
2015-10-02 15:09:23 +02:00
Konstantin Käfer
3d834b5c40 give every bucket its own set of buffers
This allows changing individual buckets without having leftover data
2015-10-02 15:05:19 +02:00
Konstantin Käfer
6a78a4763d [iOS] fix benchmarking app and update to style v8 2015-10-02 14:57:26 +02:00
Tobrun
2cbadaaaa3 [android] #2076 expose getMetersPerPixelAtLatitude 2015-10-02 12:39:16 +02:00
Nicki Dlugash
21b42eea44 [ios] [android] Add default marker sprites 2015-10-02 16:53:11 +10:00
Leith Bade
eb59bccfc1 Fixup Android SDK manifest reference to old mapboxgl package
Following #2486
2015-10-02 14:36:44 +10:00
Tobrun
6d3426191b Add OnMarkerClickListener, added example in test app 2015-10-02 14:21:42 +10:00
Leith Bade
623fec3687 [android] JavaDoc quest in MapView part 2
For #2002
2015-10-02 13:55:53 +10:00
Justin R. Miller
40b29a5ce4 [ios] refactor annotation map table name 2015-10-01 17:03:51 -07:00
Brad Leege
1c8256fa9b Merge branch '2486-back-to-the-future-3' 2015-10-01 18:51:45 -05:00
Justin R. Miller
7087a4c55a [ios] fixes #2491: document MGLAnnotationImage 2015-10-01 16:20:05 -07:00
Brad Leege
bf440de7f8 #2486 - Fixing JNI references to new package structure 2015-10-01 18:10:12 -05:00
Justin R. Miller
a0244601ca [ios] patch up iOS version-deducing scripts 2015-10-01 15:26:47 -07:00
Brad Leege
212c7ed8da #2486 - Fixing imports 2015-10-01 16:10:58 -05:00
Brad Leege
65e78f308b Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2015-10-01 15:44:48 -05:00
Brad Leege
e974e1f948 Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2015-10-01 15:44:26 -05:00