blackberry / WebWorks-TabletOS

BlackBerry WebWorks for Tablet OS is a platform for building deeply integrated web applications for the BlackBerry PlayBook
http://us.blackberry.com/developers/tablet/webworks.jsp
Apache License 2.0
70 stars 14 forks source link

Google Maps API v3 kills onSwipeDown #3

Open oparoz opened 13 years ago

oparoz commented 13 years ago

Test case: Add a Google map to the onSwipeDown example.

Just add this to head:

script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false" /script

and this to setHandlers: var myLatlng = new google.maps.LatLng(-34.397, 150.644); var myOptions = { zoom: 8, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP} var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

Try to do a swipe down and you should get this in your console. TypeError: Result of expression 'blackberry.events.getEventHandler(0)' [undefined] is not a function.

Forum thread: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/BUG-Google-Maps-API-v3-kills-onSwipeDown/td-p/1159141

oparoz commented 13 years ago

After having done more testing, I think the GM API kills all app.events functions.