Advertisement
ike0790

summerMeals issue

Jan 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. <div class="container">
  2. <div class="jumbotron">
  3. <h1 class="display-4 text-center">Summertime Meals</h1>
  4. <p class="lead text-center">Search for food sides near you!</p>
  5. <hr class="my-4">
  6. <form>
  7. <div class="form-row">
  8. <div class="col-4">
  9. <input type="text" class="form-control" placeholder="Address">
  10. </div>
  11. <div class="col-2">
  12. <input type="text" class="form-control" placeholder="City">
  13. </div>
  14. <div class="col-1">
  15. <input type="text" class="form-control" placeholder="State">
  16. </div>
  17. <div class="col-1">
  18. <input type="text" class="form-control" placeholder="Zip">
  19. </div>
  20. <div class="col-1">
  21. <button type="Submit" class="btn btn-primary btn-sm">Find Sites</button>
  22. </div>
  23. </div>
  24. </form>
  25. <hr class="my-4">
  26. </div>
  27. <div class="container mainbod">
  28. <h1>Food Sites</h1>
  29. <div class='sidebar pad2'>
  30. <p *ngFor="let ting of listingTest">Name: {{ ting.name }} <br> {{ ting.desc }}</p>
  31. </div>
  32. <div id='map' class='map pad2'>Map</div>
  33. <script>
  34. mapboxgl.accessToken = "pk.eyJ1IjoidmljYWdiYXNpIiwiYSI6ImNqY2lpcWE2aTNteGEycWxslcDl2NzhpZWQifQ.KJIJ5fZsHtxebZwwROAc5w";
  35. var map = new mapboxgl.Map({
  36. container: 'map',
  37. style: 'mapbox://styles/vicagbasi/cjcjqksly12rl62rloz0ps1xmm'
  38.  
  39. });
  40.  
  41. // Add zoom and rotation controls to the map.
  42. map.addControl(new mapboxgl.NavigationControl());
  43. </script>
  44. </div>
  45.  
  46. <!--
  47. <div class="container" id="body-contain">
  48. <div id='map' style='width: 70%; height: 300px;'></div>
  49.  
  50. </div> -->
  51.  
  52.  
  53. <!-- </body>
  54. </html> -->
  55. <router-outlet></router-outlet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement