Hi there! I can’t display Google maps on another screen. Google maps working perfectly as main screen. But if I want to launch file with maps, I get black screen. This is my maps file:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<title>Maps</title>
<script src="http://maps.googleapis.com/maps/api/js"></script>
<script>function initialize() {
var mapProp = {
// Start position
center:new google.maps.LatLng(55.755826,37.6173),
zoom:15,
disableDefaultUI: true,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var map=new google.maps.Map(document.getElementById("googleMap"), mapProp);
var marker = new google.maps.Marker({map: map,position: new google.maps.LatLng(55.755826,37.6173)});
}
google.maps.event.addDomListener(window, 'load', initialize);</script>
</head>
<body>
<div class="ui-page">
<div id="googleMap" style="width:360px;height:360px;"></div>
</div>
<script type="text/javascript" src="../../lib/tau/wearable/js/tau.min.js"></script>
</body>
</html>
How to launch maps on another screen?
Hi there! I can’t display Google maps on another screen. Google maps working perfectly as main screen. But if I want to launch file with maps, I get black screen. This is my maps file:
And my config:
Hope you will help me. Thank you in advance!
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio