From 39ad1163f14ccce291d11417e2ac03fb092ca5a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 10 May 2013 04:46:43 -0700 Subject: [PATCH] Updated Exports Files (markdown) --- Exports-Files.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Exports-Files.md b/Exports-Files.md index 5c5ec53..b848530 100644 --- a/Exports-Files.md +++ b/Exports-Files.md @@ -74,6 +74,8 @@ For example, `oli.js` includes the following definition: This will prevent the Compiler from renaming `setMap` internally, allowing the creation of custom controls defining their own `setMap` functions. (The `ol.control.Control.prototype.setMap` function is also exported, making it possible to call it from child implementations.) +http://ol3js.org/ol3/master/examples/custom-controls.html provides an example for creating custom controls. + ## Under the hood `build/src/internal/src/requireall.js` is used in the `build.py build-all` target to ensure that all source files are passed to the compiler.