This repository was archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
shape annotations #1655
Closed
Closed
shape annotations #1655
Changes from 11 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
a2c7e00
refactor annotation adding for shapes; move to some unordered_maps
incanus b977a57
basic roughing out of shape paints & feature creation
incanus ed50422
split out multiple layers in live tiles
incanus fb65df2
abstract tile(s) feature creation to handle built-up shapes; move to …
incanus 450d4b3
abstract zoom
incanus 6a82560
reserve sizes; fix line accumulation
incanus 4a06861
better-looking line width
incanus c54e00d
move to fill for now
incanus 1d1eb84
expose & carry along shape annotation style properties
incanus 1ae97a4
basic working runtime shape styling
incanus 9722c92
sample point & shape annotation adds at startup
incanus e5db77b
add missing include for find_if
incanus 94f7e2f
track stale annotation tile pre-style load
incanus c47f629
apply round line join for annotations
incanus b023d8d
support adding multiple shapes at once
incanus 1297656
fix annotation removal
incanus b63b436
proper deletion cleanup
incanus 15ea397
partial fix to tile-spanning features
incanus 53b558b
roughing out basic Cocoa types
incanus 1847681
add shape styling delegate callbacks
incanus 129159b
tighten up shape delegate methods
incanus 20a489b
add shape includes to umbrella header
incanus f7b7afe
add concrete MGLPointAnnotation
incanus a3f32ea
clean up MGLMultiPoint & descendents
incanus 1c23ac8
flesh out Cocoa shapes API & use in demo app
incanus 5c3448a
remove todo comment
incanus bf6be3c
fix annotations bounds search for >+/-85 latitude
incanus 8626f91
avoid dupes in annotations bounds queries
incanus b51f5e8
fix problems with multiple point annotations
incanus da01318
allow annotation bounds filtering by type
incanus 376ad5e
extend annotation bounds querying for shapes
incanus 2a0d31c
implement MGLOverlay & bounds intersection
incanus e25a561
comment out API docs gen for now to try tests
incanus 2862ee4
update GYP for .m -> .mm
incanus 93521b8
fix temp OS X shape add
incanus 9506583
flesh out some basic Cocoa shape API docs
incanus c3656fd
Revert "comment out API docs gen for now to try tests"
incanus d135461
Merge remote-tracking branch 'origin/master' into shape-annotations
incanus b7e26f3
only notify delegate on actual annotation deselection
incanus 820d2da
don't allow Cocoa selection of non-point annotations
incanus d6ced9e
more proper feature type
incanus e9eb7dc
add comment about polygon closure
incanus c6fee9a
add former, untouched GeoJSONVT lib
incanus 3696718
GeoJSONVT: split out GeoJSON parsing to allow direct feature passing
incanus 7e0c53a
GeoJSONVT: expose conversion/projection functions for callers
incanus 1ba430a
GeoJSONVT: temporarily(?) get rid of mutex
incanus 9ba634f
GeoJSONVT: fix rounding bug
incanus 9f25e6f
split out shape handling to GeoJSONVT shape tilers
incanus 3239b84
build up annotation render tiles at point of need
incanus eefd44c
invalidate all annotation for now
incanus 386567c
add test shapes in iOS demo app
incanus 68e412d
we handle this at the core level
incanus 60ff8e4
add default case to appease pedantic compilers
incanus f9a1c60
APPARENTLY NOT PEDANTIC ENOUGH
incanus 6d90a8a
cast for more pedantic warnings on Linux
incanus 395a5db
differentiate shapes
incanus a590995
sort points above shapes
incanus 56b89c5
clean up shape tilers on deletion
incanus 9b86c21
properly query annotation bounds
incanus d1797dc
fix tile invalidation for shapes addition & deletion
incanus 62f40a1
adjustments to shape tiler structure & locking
incanus 9290460
properly constrain latitude for shape points
incanus 3ce8045
add note about no holes
incanus f3eb68c
clean up point/shape-only routines
incanus e9fcb6e
fix polyline parsing error
incanus 0e574c6
spacing
incanus e92d1ff
remove bad check
incanus 715be6f
preserve detail to max zoom
incanus 9d864ce
simplify constructor
incanus 8161621
use nicer operator overloading
incanus ee9ab21
properly iterate all shape geometries
incanus 6345fcf
tile points can be (slightly, up to buffer distance) negative
incanus 0d0527e
fix bug with min/max point validity
incanus 43ccb9b
turn off debug logging for GeoJSONVT
incanus 9383dac
Merge remote-tracking branch 'origin/master' into shape-annotations
incanus fe2d84c
remove OS X test annotations
incanus 333e11a
Merge remote-tracking branch 'origin/master' into shape-annotations
incanus c638825
rename method
incanus 38927c7
MGLBounds -> MGLCoordinateBounds
incanus 2c9a886
move to annotation style value type getter
incanus 74db485
properly use max zoom
incanus c39de8a
move to split GeoJSONVT
incanus a6da538
remove debug log line
incanus 9ed12f4
move to external, submodule geojsonvt
incanus 0d14311
Merge branch 'master' into shape-annotations
1ec5 e99661f
patch up GeoJSONVT setup
incanus 58661c4
Merge branch 'shape-annotations' of github.com:mapbox/mapbox-gl-nativ…
incanus 77c99f3
add geojsonvt submodule for Android Linux
incanus 82ee46e
Merge remote-tracking branch 'origin/master' into shape-annotations
incanus e45bacf
move to shared private header
incanus effd91c
fix missing GYP include
incanus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to pull these changes out before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fe2d84c