This change adds logic to push a turnstile event whenever a map view event is queued. It guards against sending the turnstile event more than once per session. Note that `pushTurnstileEvent` is actually a "force push" in that it flushes the queue and, since it enqueues a turnstile event, the flush's call to `postEvents` will attempt to send any queued events even if telemetry is paused. This has the side effect of defeating the other queue / timing / flush logic in place whenever map load (and now implicitly turnstile) events are pushed.
Mapbox iOS SDK
A library based on Mapbox GL Native for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder.
This repository is for day-to-day development of the SDK. Building the SDK yourself requires a number of dependencies and steps that are unnecessary for developing production applications. For production applications, please consider installing an official, prebuilt release instead; see the Mapbox iOS SDK website for installation instructions.
