Skip to main content
Notice removed Draw attention by Mike Warren
Bounty Ended with Sᴀᴍ Onᴇᴌᴀ's answer chosen by Mike Warren
add jquery tag
Link
added html code
Source Link

Here is the HTML code to the app (maybe the script is wasting a lot of time loading the necessary <script> tags):

<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
    <script 
        type="text/javascript" 
        src="https://maps.googleapis.com/maps/api/js?libraries=places,geocoding,geometry&key=AIzaSyCcjfkPZ0EfqZnyJrOZ3cuqdAWTFlXmFxM&callback=initMap"
        async defer></script>
    <script 
        src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.0/mustache.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/async.min.js"></script>
    <link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
    <!--<script src="https://google-developers.appspot.com/_static/js/jquery-bundle.js"></script>-->
    <script src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
    <?!= include('mathFunctions'); ?>
    <?!=// include('Pothole'); ?>
    <?!= include('JavaScript'); ?>
    <?!= include('stylesheet'); ?>
  </head>
  <body>
    <div id="toggleHidden" class="floatingMenu">&mdash;</div>
    <div id="legend" class="floatingMenu">
        <span class="center row title">Legend</span>
        <!-- the different icons and states of potholes -->
        <div>
        
        
        </div>
    </div>
    <div id="map">
    
    </div>
    
  </body>
</html>

Here is the HTML code to the app (maybe the script is wasting a lot of time loading the necessary <script> tags):

<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
    <script 
        type="text/javascript" 
        src="https://maps.googleapis.com/maps/api/js?libraries=places,geocoding,geometry&key=AIzaSyCcjfkPZ0EfqZnyJrOZ3cuqdAWTFlXmFxM&callback=initMap"
        async defer></script>
    <script 
        src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.0/mustache.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/async.min.js"></script>
    <link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
    <!--<script src="https://google-developers.appspot.com/_static/js/jquery-bundle.js"></script>-->
    <script src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
    <?!= include('mathFunctions'); ?>
    <?!=// include('Pothole'); ?>
    <?!= include('JavaScript'); ?>
    <?!= include('stylesheet'); ?>
  </head>
  <body>
    <div id="toggleHidden" class="floatingMenu">&mdash;</div>
    <div id="legend" class="floatingMenu">
        <span class="center row title">Legend</span>
        <!-- the different icons and states of potholes -->
        <div>
        
        
        </div>
    </div>
    <div id="map">
    
    </div>
    
  </body>
</html>
Tweeted twitter.com/StackCodeReview/status/965840885807185920
Notice added Draw attention by Mike Warren
Bounty Started worth 50 reputation by Mike Warren
added 3 characters in body
Source Link

I'm adding a link to the [GitHub project itself]GitHub project itself that I created the other day, since this question's been crickets since I asked it.

I'm adding a link to the [GitHub project itself] that I created the other day, since this question's been crickets since I asked it.

I'm adding a link to the GitHub project itself that I created the other day, since this question's been crickets since I asked it.

added link to the GitHub project itself.
Source Link
Loading
improved formatting
Source Link
Loading
Source Link
Loading