shang445751741 / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

Using CSS to scale player messes up in Mac/Chrome #992

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am have a problem scaling the Google Earth player in Mac/Chrome using CSS 
transform.
In Mac/Chrome it scales double the amount it should.

    $("#playerDiv").css({   "-webkit-transform-origin":"0 0",               
            "transform-origin":"0 0",           
            "-webkit-transform":"matrix("+playerZoom+",0,0,"+playerZoom+",0,0)",
            "-transform":"matrix("+playerZoom+",0,0,"+playerZoom+",0,0)",
            });

Works everywhere else, including Win/Chrome.

To reproduce, see: www.viseyes.org/mapscholar/mapedit.htm and drag slider bar 
to left of "File" menu option,

Original issue reported on code.google.com by bfers...@gmail.com on 11 Sep 2014 at 2:08