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

Add image accessor to MGLStyle #7096

Merged
merged 4 commits into from
Dec 6, 2016
Merged

Add image accessor to MGLStyle #7096

merged 4 commits into from
Dec 6, 2016

Commits on Dec 4, 2016

  1. [core] Add interface to get image from sprite atlas

    Roman Blum authored and 1ec5 committed Dec 4, 2016
    Configuration menu
    Copy the full SHA
    b86f981 View commit details
    Browse the repository at this point in the history
  2. [tests] Add tests for Map::getImage

    Roman Blum authored and 1ec5 committed Dec 4, 2016
    Configuration menu
    Copy the full SHA
    4365695 View commit details
    Browse the repository at this point in the history
  3. [ios, macos] WIP: get MGLImage for name from style

    Roman Blum authored and 1ec5 committed Dec 4, 2016
    Configuration menu
    Copy the full SHA
    56471e2 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2016

  1. [ios, macos] Fixed -imageForName:

    Convert from sprite images to platform images using the existing encodePNG() function, which is also used for printing. Allow -imageForName: to return nil without an assertion failure. Added a basic test.
    1ec5 committed Dec 5, 2016
    Configuration menu
    Copy the full SHA
    329a621 View commit details
    Browse the repository at this point in the history