Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2753] Issue with Mapview and opacity-property

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionWon't Fix
Resolution Date2012-07-23T07:44:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsmapview, opacity
ReporterMichael M
AssigneeMauro Parra-Miranda
Created2012-06-25T16:53:20.000+0000
Updated2016-03-08T07:47:39.000+0000

Description

When I open a mapview which is using opacity-property and then go back(using iPhone navigation group) and the go again to mapview, the mapview is messed up. If I disable the opacity-property then it's fine.

Comments

  1. Davide Cassenti 2012-07-02

    Hello, Can you give a sample code about this? I tried to replicate the issue, but it seems to be working well. This is the code as I tested:
       
       var win1 = Titanium.UI.createWindow({
       	backgroundColor: 'white'
       });
       
       var win2 = Titanium.UI.createWindow({
           backgroundColor: 'black',
           title: 'Blue Window'
       });
       
       var win3 = Titanium.UI.createWindow({
           backgroundColor: 'black',
           title: 'Blue Window'
       });
       
       var mv = Ti.Map.createView({
       	opacity: 0.5,
       	width: 300,
       	height: 300
       });
       
       win3.add(mv);
       
       var btn = Ti.UI.createButton({
       	title: 'Open'
       });
       
       btn.addEventListener('click', function(e) {
       	nav.open(win3, {animated:true});
       });
       
       win2.add(btn);
       
       var nav = Titanium.UI.iPhone.createNavigationGroup({
          window: win2
       });
       
       win1.add(nav);
       win1.open();
       
  2. Davide Cassenti 2012-07-17

    Hello, Was this problem fixed? If not, can you please provide a sample code? Thank you

JSON Source