Ivo van Dongen
dc21396d71
[android] insert layer above
2017-02-28 09:33:04 -08:00
Ivo van Dongen
3040d40772
[android] remove source returns reference
2017-02-28 09:33:04 -08:00
Ivo van Dongen
fedb21e35b
[android] remove layer returns reference
2017-02-28 09:33:04 -08:00
Ivo van Dongen
609cdb0fd7
[android] fix ownership of style layer after delete
2017-02-28 09:33:04 -08:00
Ivo van Dongen
f0de56cffa
[android] source list accessor + example
2017-02-28 09:33:04 -08:00
Ivo van Dongen
ec1dc2622b
[android] layer list accessor + example
2017-02-28 09:33:04 -08:00
Ivo van Dongen
62e85c1224
[android] add unknown source type
2017-02-28 09:33:04 -08:00
Ivo van Dongen
3e48b377fd
[android] add unknown layer type
2017-02-28 09:33:04 -08:00
Pablo Guardiola
283aee0754
[WIP] InfoWindow refactor ( #8080 )
...
* [android] remove unnecessary info window class and add bubble layout
* fix some PR comments (remove hungarian notation, make bubble popup helper package protected and fix some code style issues)
* refactor replace enum in favor of intdef
* make bubble layout package protected and remove useless info window tip view class
2017-02-28 11:48:40 -05:00
Tobrun
8e9d6a5b2c
[android] - don't allow transforming to the same camera position, ignore redundant updates. ( #8134 )
2017-02-28 10:57:08 -05:00
Tobrun
809d8248b3
Fix a NPE that occurs when MapView is initialized with a null MapboxMapOptions ( #8131 )
2017-02-28 09:18:49 -05:00
Konstantin Käfer
9ca9adf69c
[core] private OffscreenView implementation
2017-02-27 16:51:17 -08:00
Tobrun
47dcfe7d44
[android] - add javadoc to test activities. ( #8203 )
...
* [android] - add javadoc to test activities.
* fix checkstyle issue
2017-02-27 23:56:06 +01:00
Tobrun
147654a46b
[android] - reverse compass direction ( #8130 )
2017-02-27 14:22:25 -05:00
John Firebaugh
c70bf6b2bf
[core] Reserve vector size
2017-02-27 09:36:20 -08:00
John Firebaugh
73c5d5c00a
[core] Avoid some string copies in bidi implementation
...
As of C++11, it's safe to preallocate std::[u16]string and write to the buffer via &s[0] (C++17 makes it possible via .data() as well).
2017-02-27 09:36:20 -08:00
Thiago Marcos P. Santos
92e6e48699
[glfw] Make P pause/resume the network thread
...
Simple test of the DefaultFileSource pause/resume API.
2017-02-25 14:03:38 +02:00
Thiago Marcos P. Santos
4c2e720b15
[core] Add a pause/resume API to the DefaultFileSource
...
It will halt the networking thread completely. Expired and error'ed
tiles won't get re-requested until resume() is called again.
2017-02-25 14:03:38 +02:00
Ivo van Dongen
465c949153
[android] jni high level binding refactor
2017-02-24 17:54:20 +02:00
Jesse Bounds
7d9018093a
[ios, macos] Make source removal consistent with layer removal
...
This refactors the source removal methods to make them consistent
with the way layers are removed. This makes removal of nonexistent
sources and removal of sources of a different type but same
identifier as a previously added source a no-ops.
As with layers, the check at the top of the method to ensure that the
raw pointer is the same as the one in mbgl for the same
identifier string should make it impossible to attempt to remove
a source of a different type than the one in mbgl for the same
identifier. However, for consistency with the layer implementation,
the reinterpret_cast has been replaced with a dynamic_cast and check
for nullptr.
2017-02-23 15:07:43 -08:00
Ivo van Dongen
d1f444d63e
[android] remove nonexistent layer or source handling
2017-02-23 15:07:43 -08:00
Jesse Bounds
59820fb63d
[ios, macos] Simplify implementation of layer removal from map view
...
This reverts a previous change that recreated the pending and raw
layer pointers if an identifier match caused a layer to be removed
but the removed layer was of a different type than the layer triggering
the removal
This refactors the pointer replacement to use a simpler solution that
returns early if the layer does not have a raw pointer loaded in the
mbgl map instance.
2017-02-23 15:07:43 -08:00
Jesse Bounds
de1913e223
[ios, macos] Update changelog for style and layer removal behavior
2017-02-23 15:07:43 -08:00
Jesse Bounds
c0718a863d
[core, ios, macos] Return null when removing nonexistent source
2017-02-23 15:07:43 -08:00
Jesse Bounds
e860fa6f0a
[ios, macos] Recreate pending and raw layer ref when layer is removed
2017-02-23 15:07:43 -08:00
Eimantas Vaiciunas
76b3825360
[core] Return null when removing nonexistent layer
...
In case of exception, silently ignore removal of nonexistent layer
and return nullptr
2017-02-23 15:07:43 -08:00
Konstantin Käfer
6b0ad899b3
[node] adhere to node module naming requirements
...
https://nodejs.org/api/addons.html#addons_building specifies that "The module_name must match the filename of the final binary (excluding the .node suffix).". While the mismatch between `mapbox-gl-native` and `mapbox_gl_native` hasn't caused issues so far, we should play by the book.
2017-02-23 22:15:57 +01:00
Pablo Guardiola
87be62f9e4
[android] fix units in runtime styling javadoc ( #8161 )
2017-02-23 19:47:40 +01:00
Thiago Marcos P. Santos
d2469f4bdb
[build] Fix build on Ubuntu 16.04+
...
gtest was broken because of lack of CXX11ABI support.
2017-02-23 18:39:40 +02:00
Antonio Zugaldia
3ba3f31416
Update to MAS 2.0.0-beta.2 and handle dependencies consistently ( #8169 )
...
* [android] update to mas 2.0-beta2 and handle dependencies consistenly
* extract remaining dependencies and bump stable versions
2017-02-23 09:12:56 -05:00
Tobrun
79ab42f791
[android] - move calculating a bounding box zoom level to projection. ( #8133 )
2017-02-23 14:08:38 +01:00
Tobrun
272d874267
[android] - remove filter Object[] from ejs template file for layer ( #7658 )
2017-02-23 11:29:24 +01:00
John Firebaugh
092213091b
[linux] Don't manually activate context before destroying it
2017-02-22 09:27:32 -08:00
Konstantin Käfer
341e65f7d5
[build] use system-provided Android NDK when available
...
and fall back to Mason if it isn't
2017-02-22 18:06:20 +01:00
Bruno de Oliveira Abinader
10b8ef6441
[Qt] Document QMapbox + qdoc fixes
2017-02-22 13:52:33 +02:00
Minh Nguyễn
2f388d6635
Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.2
2017-02-21 22:47:15 -08:00
Minh Nguyễn
b512af6a66
[ios, macos] Smarten apostrophes after backticks
...
jazzy is inconsistently converting straight apostrophes that immediately follow backticks into either ‘ or ’ from one run to the next. Smarten the apostrophe to keep it stable.
2017-02-21 22:14:29 -08:00
Minh Nguyễn
df6a06bd07
ios-v3.4.2, macos-v0.3.1
2017-02-21 16:53:10 -08:00
Jason Wray
ac0e2e0a98
[ios] Update changelog for iOS 8 deployment target
2017-02-21 16:10:00 -05:00
Jason Wray
a1c477b4db
[ios] Update docs for iOS 8 deployment target
2017-02-21 16:10:00 -05:00
Jason Wray
c7975e6a18
[ios] Clean-up conditionals for iOS <8
2017-02-21 16:10:00 -05:00
Jason Wray
3b063d9be0
[ios] Set project deployment target to iOS 8
2017-02-21 16:09:59 -05:00
Tobrun
b49fc44498
[android] - post invoking onMapReady to the end of the main thread message queue ( #8137 )
2017-02-21 16:24:31 +01:00
Tobrun
a394578876
[android] - rename simple example map view ( #8132 )
...
* [android] - rename simple example map view from Wear module to explicitly state Wear in it's name
* ignore flaky test
2017-02-21 15:00:48 +01:00
Bruno de Oliveira Abinader
177a27b48a
[Qt] Added missing conversion helpers
2017-02-21 15:26:46 +02:00
Antonio Zugaldia
051bd9ac93
Bring all architectures back to CI builds ( #8124 )
...
* [android] build all archs for scheduled workflow
* [android] build all archs for nightly workflow
2017-02-21 08:19:08 +01:00
Tobrun
22c060d414
[android] - only remove location updates when connected ( #8107 )
2017-02-21 08:16:59 +01:00
Jason Wray
4f91e70204
[ios, macos] Enable localizations in iosapp & macosapp
2017-02-20 23:07:05 -05:00
Tobrun
a0992f0550
[core] - allow moveBy to use AnimationOptions
...
[android] - update jni bindings for moveBy with an interpolator
2017-02-20 16:52:18 -08:00
Minh Nguyễn
b845af66d3
[ios, macos] Include Ukranian stringsdict in project
2017-02-20 14:54:57 -08:00