Thiago Marcos P. Santos
1304502f81
[build] Fix iOS nits
...
- Hardcoded the bundle identifier on Info.plist, CMake is not
picking it up.
- Do not use installed headers when building the framework.
2019-09-17 12:28:55 +03:00
Jason Wray
5b488225fb
[ios] Add MGLCompassButton and MGLOrnamentVisibility
2019-07-11 16:06:54 -07:00
Fabian Guerra Soto
f01588cac7
[ios, macos] Improve snap shotter documentation. ( #10020 )
...
* [ios, macos] Improve snap shotter documentation.
* [macos] Save snapshots in correct format
* [macos] Renamed snapshot item to Export Image
* [ios, macos] Clarify Snapshotter documentation.
* [ios] Fix snapshot scale
* [macOS] Fix snapshotter 4x scaling.
* [ios] Fix snapshotter final image scale.
* [ios, macos] Update snapshotter size documentation.
* [ios, macos] Throw an exception when the snapshotter has already started.
* [ios, macos] Add snapshotter header example.
* [ios, macos] Use one of the predefined Foundation's exception names.
2017-10-04 10:03:03 -04:00
Ivo van Dongen
6d47471767
[ios] extend ui image additions with init from premultiplied image
2017-09-05 16:29:33 +03:00
Asheem Mamoowala
7f36e0cf76
[iOS][macOS] Export MGLImageSource, add and update documentation. Use animated ImageSource demo in iOS test app
2017-06-19 09:50:08 -07:00
Asheem Mamoowala
ab5b310a9e
[iOS][macOS] Add ImageSource bindings
2017-06-19 09:50:08 -07:00
John Firebaugh
cc1ea759a6
[core, node, darwin, android, qt] Make image ID part of Image
...
More like Source and Layer.
2017-05-16 12:26:35 -07:00
John Firebaugh
5dd98df50b
[all] Rationalize style::Image
...
A style has a collection of images, just as it has collections of sources and layers.
* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Roman Blum
1045934d5e
[core, ios, macos] Add image accessor to MGLStyle ( #7096 )
...
* [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.
2016-12-05 17:16:13 -08:00
Roman Blum
a24e559ac8
[ios, macos] possibility to set custom images to style ( #6637 )
...
* [ios, macos] possibility to set custom images to style
* [ios, macos] setImage:forName now supports MGLImage (UIImage/NSImage)
* [ios, macos] update documentation for setImage:forName: and removeImageForName:
* [ios, macos] rename method and fix prefix
* [ios, macos] change header visibility to project
* [ios, macos] update header imports
* [ios, macos] delete unnecessary whitespaces
* [ios, macos] remove unnecessary nil checks
* [ios, macos] delete unnecessary whitespaces
* [ios, macos] update documentation
* [ios, macos] make mgl_spriteImage a parameter-less instance method
* [ios, macos] add asserts
2016-10-12 12:30:20 -07:00