-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
@@ -285,9 +285,6 @@ - (void)commonInit | |||
|
|||
_annotationImages = [NSMutableDictionary dictionary]; | |||
|
|||
std::string defaultSymbolName([MGLDefaultStyleMarkerSymbolName UTF8String]); |
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.
If MGLDefaultStyleMarkerSymbolName
is no longer needed, it doesn’t need to be declared up top anymore.
/cc @incanus
Cursory review looks solid. Questions:
|
1fd0eec
to
5b49016
Compare
I view
If it follows the gl-js implementation, #352 will indeed use an R-tree. But I think that's a separable change. I wish the existing annotations code could use geojson-vt-cpp for both points and lines, and not use an R-tree at all. But because the API encourages adding points one by one, rather than as a single group/layer, it's difficult/impossible to make that efficient. (Another example of how the public API is limiting the implementation options.)
We are already using |
We'll always need the ability to add points one-by-one on mobile, but perhaps we could think about the styling / management on the backend in the style of what's proposed in #1708 as we start to consider ways to make our API do things other frameworks don't provide for due to our styling advantages. 👍 on everything else. |
5b49016
to
abdb20c
Compare
abdb20c
to
00a1c23
Compare
👀 @kkaefer