elm/Examples/elm-js/Maps
2012-06-28 15:33:36 -05:00
..
Map.elm Add maps example and rename some folders. 2012-06-28 15:33:36 -05:00
MapHelp.js Add maps example and rename some folders. 2012-06-28 15:33:36 -05:00
README.txt Add maps example and rename some folders. 2012-06-28 15:33:36 -05:00

To compile this example yourself use:

    elm --import-js="MapHelp.js" Map.elm

This compiles the Elm file and includes the necessary JavaScript code.
It produces a self-contained HTML file.


Note: Not all browsers like reading the elm-runtime-x.y.z.js file from
an absolute path, so you may have to specify a relative path with
the --runtime flag (e.g. --runtime="../../../elm/elm-runtime-0.3.5.js").

Warning: I am not sure how stable the OpenLayers API is. This is for
example only!