$(window).height(); is not returning the correct value, any idea why?
I don’t know why your code doesn’t work, but I usually use window.innerHeight. Is that what you’re looking for?
You're using jquery syntax - framer studio prototypes don't come with jquery by default
Ryhan Hassan I've added jquery to my project
I figured out what the issue was. I have a line: mymap.html = "<div id='map-canvas' style='height:2000px'></div>"
Also this is what I get with innerHeight: http://puu.sh/fHoQd/72b34ce3a4.png
Right, this will only work if you use the full screen mode. That’s probably because all the devices have high density screens where 1 device pixel is not equal to 1 screen pixel...
I'm still getting it when I'm fullscreen on the iPhone
You want something more like Device.Framer.screen.height.