1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Document</title>
- <style>
- /* Always set the map height explicitly to define the size of the div
- * element that contains the map. */
- #map {
- height: 100%;
-
- }
- /* Optional: Makes the sample page fill the window. */
- html, body {
- height: 100%;
- margin: 0;
- padding: 0;
- }
- </style>
- </head>
- <body>
-
- <div id="map"></div>
- <script>
- var map;
- function initMap() {
- map = new google.maps.Map(document.getElementById('map'), { /*
- center: {lat: 36.84975, lng: 49.97095},*/
- zoom: 15
- });
-
-
- }
- </script>
- <ul>
- @foreach ($users as $user)
- <li>
- <a href="{{route('user.position', $user->id)}}">{{ $user->name }}</a>
- </li>
- @endforeach
- </ul>
-
- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB8gUrKIK6UryDcJOEZD9V3fxpdDk8s4Lo&callback=initMap"
- async defer></script>
- </body>
-
- </html>
|