* [core] Add interface to get image from sprite atlas * [tests] Add tests for Map::getImage * [ios, macos] WIP: get MGLImage for name from style * [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.
26 lines
486 B
JSON
26 lines
486 B
JSON
{
|
|
"images" : [
|
|
{
|
|
"idiom" : "universal",
|
|
"filename" : "TrackingLocationMask.png",
|
|
"scale" : "1x"
|
|
},
|
|
{
|
|
"idiom" : "universal",
|
|
"filename" : "TrackingLocationMask@2x.png",
|
|
"scale" : "2x"
|
|
},
|
|
{
|
|
"idiom" : "universal",
|
|
"filename" : "TrackingLocationMask@3x.png",
|
|
"scale" : "3x"
|
|
}
|
|
],
|
|
"info" : {
|
|
"version" : 1,
|
|
"author" : "xcode"
|
|
},
|
|
"properties" : {
|
|
"template-rendering-intent" : "template"
|
|
}
|
|
} |