[AC-282] Ti.map 2.3.# disables user input (swipe/pinch/etc) randomly with TiSDK 3.5.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2015-11-03T17:07:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | alloy, mapView, module |
Reporter | Rene Pot |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-08-03T18:20:57.000+0000 |
Updated | 2015-11-03T17:08:55.000+0000 |
Description
Ti.Map 2.3.# freezes (at least, that is what it appears to do) at random times. Sometimes it doesn't at all, sometimes it does after a long time, sometimes after a short time.
It does however not really freeze, as it only doesn't allow for user input, like swiping, pinching and clicking. Things can still be manipulated programatically. Only way to let user input happen again is re-open the window Ti.Map is in, as in: removing and re-adding the map view.
As described in Environment, it only appears to be happening with 2.3.# in combination with Ti SDK 3.5.1.
Opened GitHub ticket for it too: [https://github.com/appcelerator-modules/ti.map/issues/112]
Example is simple:
<View id="mapview" module="ti.map" />
In my case I have an annotation added, but this doesn't seem to have an effect.
var annotation = Map.createAnnotation({
image : icon || '/images/icon_map_scout.png',
latitude : 52,
longitude : 6,
title : "test",
subtitle : "test",
canShowCallout: false
});
$.mapview.addAnnotation(annotation);
Related tss:
"#mapview[platform=ios]": {
width: Ti.UI.FILL,
height: Ti.UI.FILL,
compassButton: true,
userLocation: true
}
[~topener] we can not reproduce this issue, please try also with the latest SDK and map module version.
Hi! As mentioned. It works with TiSDK 4+, and it doesn't bug out with Ti.Map 2.2.
[~topener] If this is not reproducible with the latest version, please migrate your app to use the latest SDK and latest Module version. Best