Commit Graph

4549 Commits

Author SHA1 Message Date
Nicholas Hallahan
d6bc8367e4 color is set for line stroke #1716 2015-07-16 11:09:35 -07:00
Nicholas Hallahan
f911cf3107 successful shape annotation #1716 2015-07-16 10:24:27 -07:00
Nicholas Hallahan
aebd4196ac attempting to make ShapeAnnotation with segment and properties #1716 2015-07-16 10:08:02 -07:00
Nicholas Hallahan
a203538886 extracting latitude and longitude #1716 2015-07-16 08:03:17 -07:00
Nicholas Hallahan
7954c7d1ab iterating through list of lat legs #1716 2015-07-16 07:55:10 -07:00
Nicholas Hallahan
61cfcdb33b turning list into array #1716 2015-07-16 07:50:30 -07:00
Nicholas Hallahan
8589cee9e2 accessing points list #1716 2015-07-16 07:39:14 -07:00
Nicholas Hallahan
062a942c46 JNI - getting all of the primitives from Polyline #1716 2015-07-15 18:08:23 -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
Minh Nguyễn
27bd305b1b Include iOS README in binary pod 2015-07-13 14:25:10 -07:00
Thiago Marcos P. Santos
805c8b26f7 Do not return a value on a "[]() -> void"
This is an undefined behavior, and it is a mystery why the
compiler was not complaining about it.
2015-07-13 22:44:53 +03:00
Nicholas Hallahan
3ab8e6c0dd Specifically naming the sprite in JNI adds a marker to the map #1716 2015-07-13 11:59:54 -07:00
Minh Nguyễn
482b8bde63 Fetch tags before relying on a list of them 2015-07-13 09:32:34 -07:00
Minh Nguyễn
cf9e41be0d Force -ObjC in Mapbox GL pod
Fixes #1849.

Cherry-picked from 97b7307f35.
2015-07-13 09:12:33 -07:00
Minh Nguyễn
cf56ed3698 Replaced release notes for 0.5.0
Replaced the release notes with more detailed ones from <https://github.com/mapbox/mapbox-gl-native/milestones>. This change also fixes a build error due to a reference to a method that had been removed.

Cherry-picked from 9bb5032103.
2015-07-11 15:43:16 -07:00
Minh Nguyễn
5f7575dd8f Opt into Xcode 6.4 2015-07-11 15:40:39 -07:00
Minh Nguyễn
f96fef8292 Create GLKView before binding it and resuming
Or: don’t resume the map until the application has entered the foreground.

UIApplicationWillEnterForegroundNotification is posted before UIApplicationDidBecomeActiveNotification, while the application is still in the background. That caused -createGLView to bail but did not cause the rest of -wakeGL: to bail. We would create the GLKView only after attempting to bind it (a no-op), resulting in a black view.

Fixes #1855.
2015-07-11 15:38:59 -07:00
Thiago Marcos P. Santos
00308be140 Make one arg ctors explicit 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
bd8210d5a1 Remove unused function: elapsed() 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
67554cae41 Remove unused function: uv_zip_open() 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
06e27f905e Mark overrides
Detected by clang++-3.6
2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
a1c701ca93 Remove unused variable 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
d207166abe Remove unused function: cwd() 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
30416c5a98 Add unit tests for addPointAnnotations()
This test would have caught #1874
2015-07-10 21:03:47 +03:00
Thiago Marcos P. Santos
0d44402628 Move MockFileSource to fixtures
It is going to be used by another test that needs to emulate
asynchronous requests.
2015-07-10 21:03:23 +03:00
Thiago Marcos P. Santos
8a9665b085 Deffer updateAnnotationTiles() if Source is not available
The Style object might have been created but the Source is not
yet available because the JSON file was not set. Can happen
specially when the style is loaded from the network.
2015-07-10 20:25:49 +03:00
Nicki Dlugash
d63f706c5f Merge pull request #1840 from mapbox/repeat-distance
Updates to labels along lines
2015-07-10 10:59:37 -04:00
Thiago Marcos P. Santos
a666c08274 Add unit tests for the Sprite class 2015-07-10 15:35:26 +03:00
Ansis Brammanis
1f2d439059 update test-suite 2015-07-10 12:52:51 +02:00
Thiago Marcos P. Santos
7fc6d0444c Re-enable Sprite resource loading tests 2015-07-10 10:48:46 +03:00
Thiago Marcos P. Santos
b33d5d8a95 Do not report isLoaded() if loading failed 2015-07-10 10:48:46 +03:00
Thiago Marcos P. Santos
0ee9f21c56 Report Sprite parsing errors to Observers
Parsing errors will be reported to Observers. In practice this will
bubble all the way to the Map object.

This will make possible to identify possible corrupted data instead
of rendering without sprites like we do in case of semantic errors.
2015-07-10 10:48:46 +03:00
Thiago Marcos P. Santos
f64ba78910 Merge Sprite loading notifications
Because they are pretty much the same thing.
2015-07-10 10:48:46 +03:00
Justin R. Miller
efa7dad89c updated changelog for 0.5.0 2015-07-09 22:54:54 -07:00
Nicki Dlugash
f27bd6b68f Updates to labels along lines
Added a filter to remove anchors with the same text that are too close to each other.

Updates to spacing and offset of anchor placement along lines:

Takes into account icon size for calculating label length.

Recalculates spacing for long labels.

Adjusts offsets to first anchors if line is continued from outside the tile boundary.
2015-07-09 18:52:12 -04:00
Justin R. Miller
987d961e5b Merge pull request #1868 from mapbox/xcode-6.4
move to Xcode 6.4
2015-07-09 13:56:43 -07:00
Justin R. Miller
f15fb9f8e7 Merge pull request #1866 from mapbox/1858-fix-shape-order
fixes #1858: proper shape placement in style layers
2015-07-09 10:11:52 -07:00
Justin R. Miller
7892c50bcc Merge pull request #1865 from mapbox/traditionalize-edge-insets
refs #1859: use traditional struct declaration
2015-07-09 10:09:14 -07:00
Justin R. Miller
309eee35f3 refs #1859: use traditional struct declaration 2015-07-09 09:48:09 -07:00
Justin R. Miller
cd7c3ddb9c fixes #1858: proper shape placement in style layers 2015-07-09 08:55:12 -07:00