Jesse Bounds
22cc375da0
[ios] Avoid updating sprite backed annotations in view update method ( #6199 )
...
Previously, annotations backed by sprite had their frames updated
by the view backed annotation update method. This guards against
that by aborting an update for an annotation if an associated
view cannot be found.
In addition, some dead code is removed.
2016-08-29 16:20:29 -07:00
Jason Wray
c075a879b8
ios-v3.4.0-alpha.3
2016-08-29 14:17:18 -04:00
Tobrun
8deb7aaa79
[android] - 5844 remove stop gap for update-able shape annotations ( #6187 )
...
* [android] - remove stopgap updatable shape annotations
2016-08-29 17:43:32 +02:00
Sylvain HOCQ
eca745d63a
[android] add method addMarkerViews with only one invalidate
...
* add method addMarkerViews with only one invalidate
* clean sample BulkMarkerActivity
2016-08-29 17:37:09 +02:00
Tobrun
d9f63c6d76
[android] add spoon gradle plugin ( #6089 )
2016-08-29 15:23:01 +02:00
Tobrun
58f7310749
[android] added missing rotation, cleanup duplicate entries ( #6153 )
2016-08-29 15:10:55 +02:00
Tobrun
4db99d2024
[android] alpha not applied from builder fix for marker view ( #6152 )
2016-08-29 14:50:52 +02:00
Tobrun
e759f1c948
[android] #6113 - receiver not registered exception ( #6130 )
2016-08-29 14:47:38 +02:00
Tobrun
1d66eda14b
[android] #5875 - MapboxMap options not parceling drawables ( #5984 )
...
* [android] #5875 - MapboxMap options not parceling the MyLocationView drawables
* [android] #5875 - disabled parceable test for bitmaps
* [android] #5876 - correct restoration of bitmapdrawable for unit test
* disable check for drawable type
2016-08-29 13:43:22 +02:00
Tobrun
7af5542226
[android] Anchoring was only set once while it was still unmeasured. There are times that a view is still unmeasured even after a measure call. We need to validate again before setting the offset. ( #6154 )
2016-08-29 13:31:17 +02:00
Tobrun
ed431c925c
[android] #6083 - add circle example ( #6086 )
...
* add method addMarkerViews with only one invalidate
* [android] #6083 - add circle example
2016-08-29 13:18:32 +02:00
Minh Nguyễn
f4be8260ba
[ios, macos] Specialize color properties by platform
...
Duplicate each color-typed property once per platform using conditional compilation macros. Let’s just hope we never have to throw CGColor into the mix.
2016-08-26 22:27:55 -07:00
Minh Nguyễn
35a1c01166
[ios, macos] Test roundtripping property functions
2016-08-26 22:27:55 -07:00
Minh Nguyễn
b1cc89fc9c
[ios, macos] Fixed roundtripping padding functions
2016-08-26 22:27:55 -07:00
Minh Nguyễn
1e1ae8fd25
[ios, macos] Fixed roundtripping enum values
...
Also support unsetting enumeration-typed properties.
2016-08-26 22:27:55 -07:00
Minh Nguyễn
1e7a5ce273
[ios, macos] Test enum values, not just types
2016-08-26 22:27:55 -07:00
Minh Nguyễn
72bee845b6
[ios, macos] Fixed getting enum functions
...
Fixes #6161 .
2016-08-26 22:27:55 -07:00
Minh Nguyễn
5d06a4370d
[ios, macos] Simplified test code generation
2016-08-26 22:27:54 -07:00
Minh Nguyễn
a648f42bc7
[ios, macos] More specific default value types
...
The documentation for runtime style API properties now spells out the value of the default type, to help developers infer the type of the property itself.
2016-08-26 22:27:51 -07:00
Minh Nguyễn
9d368ea98d
[ios, macos] Mark MGLStyleLayer properties null_resettable
...
If the property is unset, return the default value.
Fixes #6126 .
2016-08-26 15:40:10 -07:00
Jason Wray
8dff7ab2f0
[ios] Improve user location annotation documentation
...
- Add note to mapView:viewForAnnotation: delegate method.
- Edit docs in iosapp's implementation of that delegate method.
2016-08-26 17:48:27 -04:00
Jason Wray
018f395442
[ios] Ignore non-conforming user location annotation views
2016-08-26 17:48:27 -04:00
Justin R. Miller
2501b2cc7b
[ios] preserve annotation transforms during perspective scaling
2016-08-26 14:29:31 -07:00
John Firebaugh
d2abb1b6d5
[core] Change GeoJSONSource::getURL() to return an optional<std::string>
...
GeoJSON sources may have inline GeoJSON rather than a URL; returning an optional type ensures that consumers handle this case.
2016-08-26 10:30:55 -07:00
Minh Nguyễn
f996558bc2
[android] Radiant → radian ( #6169 )
...
* [android] Radiant → radian
* [android] #6169 - testHashcode
2016-08-26 09:41:46 -07:00
Thiago Marcos P. Santos
8801c9031b
[Qt] s/parent_/parent
...
Fits better with the docs.
2016-08-26 16:39:38 +03:00
Thiago Marcos P. Santos
8d258e3542
[Qt] Initial documentation stub
2016-08-26 16:39:34 +03:00
Thiago Marcos P. Santos
af56f03031
[Qt][tests] Added tests for set style interface
2016-08-26 16:08:44 +03:00
Thiago Marcos P. Santos
9605cac3e9
[Qt] setStyleURL and setStyleJSON name review
...
Qt uses URL as Url and JSON as Json.
2016-08-26 15:52:16 +03:00
Thiago Marcos P. Santos
e9a453271b
[Qt] Read the access token from the environment by default
2016-08-26 00:25:31 +03:00
Thiago Marcos P. Santos
05ba97b2b7
[node][tests] Add a test for making sure the map object throws on invalid style
...
Currently this error is not reported.
2016-08-25 22:05:00 +03:00
Thiago Marcos P. Santos
a12fa9333b
[node] Throw on invalid style JSON
...
Fixes #6143
2016-08-25 22:05:00 +03:00
Minh Nguyễn
d0a0b2ef7e
[macos] Typo
...
[skip ci]
2016-08-25 11:28:00 -07:00
Minh Nguyễn
11f3a587c4
[macos] Synchronized readme w/ install docs
...
The packaged readme was missing the AppleScript example added to the in-repo installation instructions in 350d015cc2 .
[skip ci]
2016-08-25 11:27:12 -07:00
Jason Wray
01b0b0bf0b
[ios] Move OHHTTPStubs to Git submodule and update to 5.2.0
2016-08-25 13:41:19 -04:00
Antonio Zugaldia
0f4a1cd806
[android] #6155 - Release Android v4.2.0-beta.2
2016-08-25 11:27:38 -04:00
Antonio Zugaldia
2b42f0e22f
[android] #6148 - update MAS dependency to v1.3.0
2016-08-25 09:01:53 -04:00
Jason Wray
9cdbac043d
[ios] Clean-up user location annotation heading calculations
...
- Use MGLRadiansFromDegrees().
- Make indentation more readable.
2016-08-24 21:56:52 -04:00
Jason Wray
cb59589954
[ios] Stop exaggerating heading accuracy indicator size
...
- 1.5× exaggeration has been removed.
- Maximum accuracy (smallest size) has been increased to 20°.
2016-08-24 21:56:52 -04:00
Minh Nguyễn
5836738906
Document -mapViewDidFailLoadingMap:withError: ( #6145 )
...
* [macos] Implement -mapViewDidFailLoadingMap:withError:
* [ios] Documented -mapViewDidFailLoadingMap:withError:
2016-08-24 14:47:28 -07:00
Antonio Zugaldia
4579fa031e
[android] #6042 - Check for network connectivity before requesting resources
2016-08-24 15:54:16 -04:00
Minh Nguyễn
2523f33ac4
[ios, macos] Expose name and default position of current style ( #6127 )
...
* [ios] Reset to style’s default position
* [ios, macos] Added name property to MGLStyle
2016-08-24 11:43:54 -07:00
Thiago Marcos P. Santos
1d7a5b0fe0
[tests] Add unit test for style loading failures
2016-08-24 20:02:39 +03:00
John Firebaugh
646528bc53
[core] Simplify Thread::invokeSync ( #6128 )
2016-08-24 09:36:11 -07:00
Thiago Marcos P. Santos
7a84a0e4ea
[ios] Fix typo
...
s/Reponse/Response
2016-08-24 18:17:56 +03:00
Minh Nguyễn
1b4593efcc
[ios, macos] Distinguish between blackColor and clearColor ( #6125 )
2016-08-24 01:41:26 -07:00
Minh Nguyễn
9720f581ff
[macos] Avoid negative content insets ( #6102 )
...
Fixed an issue in which a map view that doesn’t occupy the entire window would consider its center point to be the window’s center point rather than the view’s.
2016-08-23 18:12:35 -07:00
Jason Wray
a5b089de62
[ios, macos] Move debug mask options to shared header ( #6094 )
...
* [ios, macos] Move debug mask options to shared header
* Limit buffer debug modes to macOS
... because these modes use OpenGL features that aren't supported by iOS.
* Try a different tact: exclude "iPhone"
... which is actually all iOS-like devices.
2016-08-23 20:14:22 -04:00
Jason Wray
fcb710fafe
[ios] Disable implicit animation of user annotation pitch changes ( #6122 )
...
- Subtly improves the performance of the shadow, while performing the pitch gesture.
2016-08-23 13:59:26 -04:00
Jason Wray
c034ba4ee1
[ios, macos] Update changelog with database performance note
2016-08-23 13:26:02 -04:00