Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[ios] #5039 refactored MGLUserLocationAnnotationView #5573

Closed

Conversation

frederoni
Copy link
Contributor

@frederoni frederoni commented Jul 5, 2016

Fixes #5039 and #5037
MGLUserLocationAnnotationView now inherits from MGLAnnotationView.
MGLMapView calls -[MGLMapViewDelegate mapView:viewForAnnotation:] for MGLUserLocation to support a custom user dot. If the implementer still wants the default user dot, they should return nil in case annotation equals mapView.userLocation

jfirebaugh and others added 30 commits June 24, 2016 12:21
This merges v3.3.0 at beta 2 stage. Conflicts related to the os x ->
macOS rename were corrected manually.
32 bit integers should be enough for zoom scale logic. In shape
annotation logic, 'maxAmountOfTileFeatures' requires 64 bits because we
are multiplying the zoom scale with the extent, which might give a
number higher than std::numeric_limits<uint32_t>::max().
Implements a custom std::streambuf to avoid creating temporary
std::string objects and thus optimizing image decode.

Suggested by @artemp in
#5417 (comment).
- puts function definitions in a namespace ... {} rather than using namespace ...;
- remove trailing whitespace
- add trailing newline
- protect SQL statements from being formatted by clang-format
- Use glBindAttribLocation for GLSL attributes.
- Create a separate shader for each shader that supports overdraw.
  Needed because each uniform location must be known for every program.
- Create a separate VAO for each shader inside buckets.
  Needed because we can only bind a VAO to a specific shader.

Fixes #5435.
brunoabinader and others added 26 commits August 5, 2016 11:42
`make foo` just builds
`make run-foo` builds and runs
And implement this property in MGLFaux3DUserLocationAnnotationView.

Generic reimplementation of #5816.
@friedbunny
Copy link
Contributor

I rebased this on master and then force-pushed. This PR targets the v3.3.0 release branch, so I’m closing it in favor of #5882.

@friedbunny friedbunny closed this Aug 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
annotations Annotations on iOS and macOS or markers on Android ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet