Skip to content
DieterVanWerkum edited this page Jun 20, 2017 · 8 revisions

Welcome to the google-earth-flyto-quiz wiki!

Contents:

  1. My dream
  2. Instructions for non programmers (and teachers!)
  3. Some tips & tricks

1. My dream

More than a decade after Google (Alphabet) acquired Keyhole I still dream of every teacher starting every schoolday of with exploring a 3D model of our planet. For the last ten years I contributed to this goal as Google Earth Community member 'Daarbennikweer' and as aotp.nl for customers.

Installation of (the original) Google Earth proved to be an obstacle for many but with the launch of (the new) Google Earth for Chrome and Android we witness the start of a serious competition in implementing 3D webfacing GIS. AGI pioneered in this field with the 'Cesium' project and strives even to implement all functionality of the OGC-KML standard. Until now the standard only for so called "earth browsers" but from now on for all webbrowsers! Besides WebGL we also have the very promissing 'Webassembly' initiative, which promises every programmer a chance to develop for the web. Now there's a chance!

The only way however to keep big business committed to this important race will be the emergence of a large user base. For that we need lots of accessible tools and applications which I can't build all by myself. This is why I put this KML template before the millions of developers on Github.

I hope to see lots of branches and forks here that will help to realise my dream.

Best regards, Dieter

2. Instructions for non programmers

Leave everything bewteen a '<' and a '>' It takes care of a tidy layout and the navigation magic. The only exeption is where you can change the links to your images.

Between '>' and '<' you'll write the texts that people will see on their screen. It's that simple!

This quiz implements KML 2.2. Google extensions "flyto" and "balloon". (Note: this is a drastic change from version 1!)

  • incorrect answers are processed by a href="#FOLDER-ID;balloon"
  • correct answers are processed by a href="#PLACEMARK-ID;flyto" (clicking the placemark will show the link to the next question).

You'd best note the GPS-coördinates upfront. They can be found at the bottom of the screen, under the viewer in classic Google Earth. Don't forget to adjust the Settings in Google Earth to 'decimal coördinates' (via the top menu).

This basic KML quiz template knows only multiple-choice questions. Syntax of linktarget ID's: 'q1aa' means question 1 - answer a' (b,c etc.)

You'll find more detailed instructions below. Beacause I don't repeat the instructions to often throuhgout this document it's probably best to try and work a bit systematic. Like I do when I can control my enthousiasm every once in a while;-)

Last but not least: saving your file with the extension .kml will make it readable for Google Earth . . .

3. Some tips & tricks

(Check http://www.github.com/DieterVanWerkum/google-earth-flyto-quiz for the latest version)

The correct answer needn't always be the second option. If you firts note down the number of the correct answers below you can easily adjust the code so that won't be the case.

question 1: correct answer ID: q1a..... ; GPS-coördinates (............ , ...............)

question 2: correct answer ID: q2a..... ; GPS-coördinates (............ , ...............)

question 3: correct answer ID: q3a..... ; GPS-coördinates (............ , ...............)

question 4: correct answer ID: q4a..... ; GPS-coördinates (............ , ...............)

question 5: correct answer ID: q5a..... ; GPS-coördinates (............ , ...............)

question 6: correct answer ID: q6a..... ; GPS-coördinates (............ , ...............)

question 7: correct answer ID: q7a..... ; GPS-coördinates (............ , ...............)

question 8: correct answer ID: q8a..... ; GPS-coördinates (............ , ...............)

You can expand the number of questions by copying an allready existing question (multiple-choice or true-or-false) and . . .

  1. Up the id-numbers acordingly;
  2. adjust the linktarget IDs of the answers;
  3. ajust the 'previous'-, 'next'- (and skip) id numbers;
  4. make sure your last question links to "last";
  5. AND ALSO: copy a matching answer set (and adjust the answer ID-numbers to the new linktargets). Or else we will get stuck somewhere we don't know anything about and that's really sad!

When you expand the number of wrong answers to a question this has to be reflected in the answers below. In that case you have to copy-paste another (wrong) question (between and ) and up the id-number to the new total number of answers to the question.

The option of 'cheating' is provided in the code of question 1, in the form of a link 'skip this question' (following the 'previous question' link). If you wish to activate this you can copy the line to the other questions but don't forget to adjust the target number in the link.