John Firebaugh
110f1ec796
[ios, android] Add methods to remove a custom layer
2015-12-17 15:15:55 -08:00
Minh Nguyễn
d3c92a8b5c
[osx] Fixed path to embedded framework
...
Xcode (or perhaps gyp’s Xcode adapter) doesn’t understand \$ inside a copy files run phase path.
ref #3337
2015-12-17 13:15:43 -08:00
Bruno de Oliveira Abinader
c08a97e453
[osx] Fixed 'make compdb' target'
...
[skip ci]
2015-12-17 12:28:36 -08:00
John Firebaugh
a7e4e6bb1c
[ios] Move source to src folder, matching osx
2015-12-17 10:16:22 -08:00
John Firebaugh
7a4e7376e1
Move platform scripts into platforms
2015-12-16 17:49:22 -08:00
Thiago Marcos P. Santos
a903d2eef0
[glfw] Set viewport size from the Map thread
...
Setting the viewport size from the main thread has no affect
on Linux and thus, the map doesn't scale. We now set the
viewport size on the beforeRender() hook that gets called
from the Map thread.
2015-12-16 17:18:54 -08:00
John Firebaugh
9f18ed9a3c
[android] Add CustomLayerRenderParameters to example code
2015-12-16 16:30:30 -08:00
Minh Nguyễn
bf89ed080b
[ios] Renamed custom style layer invalidation method
...
Cf. -[UIView setNeedsDisplay] and -[MKOverlayRenderer setNeedsDisplay].
2015-12-16 16:15:28 -08:00
John Firebaugh
2ee52915fe
[ios, android] Add a method to invalidate custom layers, forcing a repaint
2015-12-16 16:15:28 -08:00
John Firebaugh
2b782308e5
[android] Simplify structure for native files
2015-12-16 16:06:45 -08:00
Minh Nguyễn
350cafb903
Revert "Revert "[ios] Custom style layer""
...
This reverts commit 081e4e4451 .
2015-12-16 15:48:55 -08:00
John Firebaugh
13d5b18eba
[android] Move into platform subdirectory
2015-12-16 14:52:29 -08:00
John Firebaugh
0db9f229f2
[android] Move includes to platform subdirectory
2015-12-16 14:52:29 -08:00
John Firebaugh
081e4e4451
Revert "[ios] Custom style layer"
...
ec9a4cd328
2015-12-16 14:05:54 -08:00
Mike Morris
4dac6cde30
node-v2.2.0
2015-12-16 15:13:20 -05:00
Minh Nguyễn
ec9a4cd328
[ios] Custom style layer
...
Exposed Map::addCustomLayer() publicly as an undocumented, block-based API. This change avoids the terms “layer”, “initialize”, “render”, and “altitude” because they overload existing terminology in the SDK, UIKit, or MapKit. (“Layer” is qualified as “style layer”.) There are outstanding questions about ARC memory management, but this approach works in both Objective-C and Swift for pure OpenGL programming.
Added a demo to iosapp that draws a green layer below any labels in Mapbox Streets.
2015-12-16 11:03:54 -08:00
John Firebaugh
8a17d30c50
[android] Custom layer bindings
2015-12-16 11:03:32 -08:00
John Firebaugh
dc4fa1c52e
[android] Add scheduled build script
2015-12-15 16:52:37 -08:00
Romain Quidet
b8be1f0632
code review updates: sprite_atlas brackets and nullable removed for reuseIdentifier of annotationImage
2015-12-15 16:36:17 -08:00
Romain Quidet
af45d87e54
2210: Sprites can be removed / updated correctly
2015-12-15 16:36:17 -08:00
Romain Quidet
02a32b55e4
2210: MGLAnnotationImage image can be update
2015-12-15 16:36:17 -08:00
John Firebaugh
9d0ab5549c
[ios, android] Remove unnecessary portions of bitrise.yml
2015-12-15 14:29:33 -08:00
John Firebaugh
cf4f262df5
[ios, android] Remove version specifier to avoid Bitrise upgrade nag
2015-12-15 14:19:51 -08:00
John Firebaugh
9fc6d61faf
[android] Add bitrise.yml
2015-12-15 13:59:20 -08:00
John Firebaugh
a3536a1866
[ios] Move bitrise.yml into platform/ios
2015-12-15 13:59:20 -08:00
Minh Nguyễn
4e0e816653
[ios, osx] Added flyToCamera: variation that uses default duration
2015-12-15 12:52:13 -08:00
Minh Nguyễn
42e32b8d16
[osx] World tour
...
A new Debug menu command takes you on a tour of the world by air.
2015-12-15 12:52:13 -08:00
Minh Nguyễn
9aba820892
[ios, osx] Added flyTo to OS X; refactored camera setters
2015-12-15 12:52:13 -08:00
Minh Nguyễn
c3fe62fd3a
[ios, osx] Corrected missing annotation tag assertion message
...
ref #3284
2015-12-15 11:51:12 -08:00
Minh Nguyễn
92bfbcb90d
[osx] Restore debug mask
...
Fixes #3287 .
2015-12-15 11:44:49 -08:00
Konstantin Käfer
4fc8226838
[core] allow changing the orientation
...
You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
2015-12-15 11:41:58 -08:00
Mike Morris
f4d394d935
[node] code review cleanup
2015-12-15 10:19:56 -08:00
Minh Nguyễn
a01dd8ade1
[osx] Corrected documentation
...
Corrected the path to the build output. Also added a missing inline comment.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
835bb6ab08
[osx] Sort candidate annotations by proximity to tap
...
Like 78a39c17fb6677442231945ddf8b73797080e2e1 for #3261 on iOS.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
727dd61553
[osx] Printing
...
Copied some pixel-reading code from HeadlessView.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
0722d26846
[osx] Remove All Pins command
...
Also fixed an issue where removing a selected annotation failed to deselect it.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
b869d3c820
[osx] Persist viewpoint across relaunch
2015-12-13 17:26:53 -08:00
Minh Nguyễn
0fb2b855a4
[osx] Map camera
...
Shared MGLMapCamera between iOS and OS X. Unfortunately -camera and -setCamera: implementations need to be copy-pasted for now.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
3f2fae521c
[osx] Don’t strip on copy in Debug
...
Stripping the framework means you can’t debug the framework.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
cd6830b3ea
[osx] Fixed IB latitude/longitude inspectables
2015-12-13 17:26:53 -08:00
Minh Nguyễn
fdff7901e2
[osx] Default callout view controller
2015-12-13 17:26:53 -08:00
Minh Nguyễn
bab3935431
[osx] Fixed standalone launch of osxapp (and run-xosx)
...
Mapbox.framework needs to be embedded in the application bundle.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
ea57be5598
[osx] Documentation comments for public classes
...
Added documentation comments for all the public headers that aren’t being shared with iOS.
Removed an animated: parameter from -selectAnnotation: and -deselectAnnotation:: because callout popovers may extend beyond the entire window, there is no need to scroll the map to make the entire callout visible.
Added missing geometric conversion methods.
Renamed -mapView:regionWillChangeAnimated: et al. to say “camera” instead of “region”. “Region” leaves ambiguity about whether properties like rotation and pitch trigger this method. “Camera” associates these methods with the camera property, which seems apt.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
73324ae2f8
[osx] Commented private headers and implementation files
2015-12-13 17:26:53 -08:00
Minh Nguyễn
62e6c04c73
[osx] Align build settings with Xcode framework project template
...
In particular, -Os yields significant size improvements in Release.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
7f04c5d149
[osx] Renamed annotation IDs to annotation tags
...
By analogy with Cocoa tracking area tags, tooltip tags, view tags, etc.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
47fb5e820b
[osx] Moved Mapbox.{h,m} into framework proper; set version variables
2015-12-13 17:26:53 -08:00
Minh Nguyễn
1598330a93
[osx] Added inline comments to MGLMapView
2015-12-13 17:26:53 -08:00
Minh Nguyễn
df0511af18
[osx] Build framework based on static library
2015-12-13 17:26:53 -08:00
Minh Nguyễn
6890af9cd9
[osx] Fixed KVO compliance for selectedAnnotation
2015-12-13 17:26:53 -08:00