Make minor corrections to Map example.
This commit is contained in:
parent
1430e8f467
commit
58b8605bcb
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
module Map where
|
module Map where
|
||||||
|
|
||||||
import Signal.Window as Win
|
import Signal.Window as Win
|
||||||
import Foreign.JavaScript
|
import Foreign.JavaScript.Experimental
|
||||||
|
|
||||||
foreign import jsevent "provideMap"
|
foreign import jsevent "provideMap"
|
||||||
(castElementToJSElement $ rectangle 640 360)
|
(castElementToJSElement $ rectangle 640 360)
|
||||||
|
|
|
@ -19,5 +19,5 @@ lib.addEventListener('load', function() {
|
||||||
}, 0);
|
}, 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
lib.src = "http://www.openlayers.org/api/OpenLayers.js";s
|
lib.src = "http://www.openlayers.org/api/OpenLayers.js";
|
||||||
document.head.appendChild(lib);
|
document.head.appendChild(lib);
|
Loading…
Reference in a new issue