0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
novabrasil
/
modules
/
[
Home
]
File: google-traffic-get-resource.twig
{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2016 Spring Signage Ltd * (${FILE_NAME}) */ #} <!doctype html> <html lang="en"> <head> <title>Xibo Open Source Digital Signage</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width={{ viewPortWidth }}" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- Copyright 2006-2016 Daniel Garner and Spring Signage Ltd. Part of the Xibo Open Source Digital Signage Solution. Released under the AGPLv3 or later. --> <style type="text/css"> body { margin: 0; overflow: hidden; } h1, h2, h3, h4, p { margin-top: 0; } #iframe { border: 0; } #map { height: 100%; } </style> </head> <!--[if lt IE 7 ]><body class="ie6"><![endif]--> <!--[if IE 7 ]><body class="ie7"><![endif]--> <!--[if IE 8 ]><body class="ie8"><![endif]--> <!--[if IE 9 ]><body class="ie9"><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--><body><!--<![endif]--> <div id="content"> <div id="map"></div> </div> </body> {{ javaScript|raw }} <!-- Replace the value of the key parameter with your own API key. --> <script async defer src="https://maps.googleapis.com/maps/api/js?key={{ apiKey }}&callback=initMap"></script> <script type="text/javascript"> function initMap() { var map = new google.maps.Map(document.getElementById('map'), { zoom: {{ zoom }}, center: {lat: {{ lat }}, lng: {{ long }}}, disableDefaultUI: true }); var trafficLayer = new google.maps.TrafficLayer(); trafficLayer.setMap(map); } $(document).ready(function() { $("#map").height($(window).height()); }); </script> </html>