Professional Documents
Culture Documents
The Markerimage Object
The Markerimage Object
normal
clicking
The entire code
Weather forecast
Let us say we wish to add weather to
your map
We would like to have a selection of
likely weather at a specific location
We can do this using the HTML5
selector together with a switch in JS
Let us see in the next slides how to
implement this
HTML5 side
We will at first create a selection in
the HTML part of the code
We can then
replace the
Math.random as
follows