Nicholas Hallahan
aafcdd2ef0
added ability to specify sprite in marker #1716
2015-07-17 08:25:48 -07:00
Nicholas Hallahan
ed650b4128
showing polygon, line, and markers together #1716
2015-07-16 18:26:58 -07:00
Nicholas Hallahan
e1cdc8209c
yay, polygon! #1716
2015-07-16 18:04:46 -07:00
Nicholas Hallahan
e84e13a85a
polygon JNI #1716
2015-07-16 17:38:23 -07:00
Nicholas Hallahan
0df1d64823
toggle removes all annotations. ready for polygon JNI #1716
2015-07-16 15:09:56 -07:00
Nicholas Hallahan
9e3f60756f
Java Annotation API cleaner #1716
2015-07-16 14:52:54 -07:00
Nicholas Hallahan
e28c777307
drawing geojson line #1716
2015-07-16 11:31:01 -07:00
Nicholas Hallahan
8107501edb
able to get a field from Polyline in JNI #1716
2015-07-15 17:31:37 -07:00
Nicholas Hallahan
441c84c213
JNI is compiling with the polyline object #1716
2015-07-15 14:29:19 -07:00
Nicholas Hallahan
6335aecfad
constructs polyline object, ready to rock JNI #1716
2015-07-15 12:29:57 -07:00
Nicholas Hallahan
297190ecf1
working on pollens #1716
2015-07-15 10:36:24 -07:00
Nicholas Hallahan
82e88a6a77
parsed coordinates from geojson, ready to add polyline via JNI #1716
2015-07-14 19:18:34 -07:00
Nicholas Hallahan
7c5fde4a3e
Fleshed out the shell of the Google Maps API #1716
2015-07-14 17:04:13 -07:00
Nicholas Hallahan
afcc78a0ab
Able to remove an annotation from the map #1716
2015-07-14 11:11:14 -07:00
Nicholas Hallahan
1ac1ba0e18
Fleshing out Android Annotation API, working on removing annotations through JNI.
2015-07-14 10:45:29 -07:00
Nicholas Hallahan
f710e9607a
Returning annotationIds as long from JNI in addMarker
2015-07-13 18:11:36 -07:00
Nicholas Hallahan
7efa69ff24
Refactored PointAnnotation to be called Markers a la Google Maps
2015-07-13 17:32:05 -07:00
Nicholas Hallahan
92501e3b41
basic single marker point annotation
...
Merge branch 'android-annotations-poc' into android-annotations
2015-07-13 16:32:16 -07:00
Konstantin Käfer
675ddddee7
Make pixelRatio constant across a Map object lifetime
...
also moves framebuffer size out of TransformState into its own object
2015-07-08 10:40:05 +02:00
Konstantin Käfer
dca42018d2
drive Android rendering from the main thread via invalidate() calls
2015-06-26 10:32:06 -07:00
Nicholas Hallahan
ef31fc5aed
attempting to put one annotation on the map - gets to the native call and then nothing happens
2015-06-20 16:21:41 -07:00
Leith Bade
8a83c31e05
Merge pull request #1610 from mapbox/android-latlng-swap
...
Fix swapped lat/lng
2015-05-21 10:16:35 +10:00
Leith Bade
cea926c62e
Fix swapped lat/lng
2015-05-21 09:51:43 +10:00
Leith Bade
710ec54a55
Update Android gradle plugin to 1.2.3
2015-05-21 09:00:03 +10:00
Leith Bade
7a2548edf1
Update Android to use new styles
2015-05-16 10:21:13 +10:00
Leith Bade
8e1654ca13
Update to lastest Android SDK
2015-05-06 20:48:11 +10:00
John Firebaugh
a625ba8a09
Remove Map::start/stop
...
Both Android and iOS now use pause/resume. The map thread is
always running, and be able to receive messages. When paused,
it will just refuse to render.
2015-04-28 14:32:24 -04:00
Konstantin Käfer
b0a30943b4
move most private Map code to MapContext
2015-04-28 14:32:20 -04:00
Konstantin Käfer
6691f7249e
remove nativeRun() method as that is now private
2015-04-17 13:40:42 +02: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
Leith Bade
9c907e78ac
Update to latest API 22 build tools
2015-03-17 13:59:05 +11:00
Konstantin Käfer
47ede853c4
fixes black flicker on rotating the device
...
fixes #838
instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible.
- upgrades GLFW to 3.1
- removes swapped/needsSwap in favor of a more explicit scheme
- View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update
- sets all iOS deployment targets to 7.0
- disables SQLite3 version check, since the library version changed on iOS 8.2
2015-03-12 12:16:38 +01:00
Konstantin Käfer
fb44fc81bd
make Map::resize() private
...
they can only be called by View::resize
2015-03-06 13:52:25 +01:00
Brad Leege
e1ff75a47a
#923 - Consolidating package namespaces
2015-02-26 16:01:51 -06:00
Leith Bade
aa32b41b59
Fix all lint errors
2015-02-26 11:32:35 -08:00
Leith Bade
a5430e8730
Replace setRotation with Matrix
2015-02-26 11:16:14 -08:00
Leith Bade
d0109fb834
Ignore lint error from OkHTTP
...
Fixes #921
2015-02-26 10:25:36 -08:00
Leith Bade
195fad1b67
Replace constant
2015-02-25 15:51:23 -08:00
Leith Bade
ecd7267fdf
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-conversions
2015-02-25 15:30:17 -08:00
Brad Leege
380fd1fbf4
#823 - Adding JavaDoc for cancel()
2015-02-25 17:17:56 -06:00
Brad Leege
a4b6067d4f
#823 - Building cancel method. Refactoring request to not return OkHttp Request object to help keep FileSource self contained.
2015-02-25 17:01:13 -06:00
Brad Leege
2bfafaddb1
#823 - Building request method
2015-02-25 16:48:54 -06:00
Brad Leege
885185b352
#823 - Adding OkHttp dependency. Initial setup of JavaFileSource as a singleton class.
2015-02-25 16:25:03 -06:00
Brad Leege
78f37879a3
Use Build constants instead of integers
2015-02-25 16:08:32 -06:00
Brad Leege
77cf66d91f
#895 - Fixing missing JavaDoc warnings.
2015-02-25 13:21:23 -06:00
Leith Bade
74e953cc48
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-conversions
...
Conflicts:
android/java/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxgl/testapp/MainActivity.java
2015-02-24 17:16:52 -08:00
Leith Bade
cd7dceeaaa
Work on javadoc warnings
2015-02-24 16:30:03 -08:00
Brad Leege
025c7c3be5
#911 - Persist GPS State in UI across device rotation
2015-02-24 15:49:39 -06:00
Brad Leege
6cfc00e1ae
#913 - Updating to latest Android Gradle Build Tools
2015-02-24 14:18:45 -06:00
Leith Bade
8cffa9d078
Save GPS on/off state
2015-02-23 12:05:18 -08:00