[TIMOB-27699] iOS: Map.createSnapshotter takeSnapshot take black images on iOS 13 simulator.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 8.3.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | 8.2.0, engTriage, iOS13, snapshotter, takeSnaposhot |
Reporter | Lorenzo Piccinini |
Assignee | Unknown |
Created | 2019-09-22T00:15:06.000+0000 |
Updated | 2020-01-06T23:50:12.000+0000 |
Description
SDK 8.2.0
IOS 13
var Snapshotter = Map.createSnapshotter({
mapType: Map.HYBRID_FLYOVER_TYPE,
showBuildings: true,
showPointsOfInterest: true,
region: {
latitude: 37.32460403644528,
longitude: -122.02452087404698,
latitudeDelta: 0.012915901884511527,
longitudeDelta: 0.009989774770957638
},
size: {
width: 840,
height: 340
}
});
Snapshotter.takeSnapshot({
success: function(e) {
var f = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'aaa');
f.write(e.image);
},
error: function(e) {
}
});
It's
e.image
, note.snapshot
.Yes sure, mistake of my report. I tried to publish in test flight and it's works fine, the problem it seem is only on emulator.