adsbox stopped showing airplane labels on GMap

Some time ago I wrote about the great free adsbox. Now the GMap display stopped showing any labels or airplanes for no reason.

The root cause is that google code hosting is stopped and the source for markerwithlabel.js moved away from code.google.com.

...        
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?v=3"></script>
<!--    <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerwithlabel/src/markerwithlabel.js"></script>
-->
        <script type="text/javascript" src="./markerwithlabel.js"></script>
        <script type="text/javascript" src="https://www.google.com/jsapi"></script>
        <title>ADSBox</title>
</head>
...

As you see, I changed adsbox/htdocs/index.html to use a local copy of markerwithlabel.js. You may also use the new source code location https://raw.githubusercontent.com/googlemaps/v3-utility-library/master/markerwithlabel/src/markerwithlabel.js

With the above change my adsbox did show the planes and airports etc. again.

The source of adsbox is at http://diseqc.alh.org.ua/projects/hard/adsb/
or translated to english

One Comment

Leave a Reply