ahocevar 3d62b67172 Introducing ol.overlay.Overlay and an overlayContainer
ol.overlay.Overlay can be used to bind DOM elements to a
coordinate on the map. It has positioning options to support
e.g. popups or image markers that have an anchor at the bottom
and an unknown size.

The overlayContainer stops propagation on mousedown and
touchstart events, so clicks and gestures on overlays don't
trigger any MapBrowserEvent. To make this work reliably, we now
only fire dblclick in mapbrowserevent.js when there was a
previous mousedown or touchstart. The default container for
controls is now the overlayContainer.
2012-09-28 13:01:56 +02:00
2012-07-11 17:12:38 +02:00
2012-09-24 18:23:19 +02:00
2012-09-28 12:52:54 +02:00
2012-09-28 12:52:54 +02:00
2012-09-27 15:48:04 +02:00
2012-09-28 11:30:32 +02:00
2012-09-27 18:01:31 +02:00
2012-09-26 00:04:28 +02:00
2012-09-28 12:25:06 +02:00
2012-09-26 12:17:01 +03:00

OpenLayers 3

Travis CI Status

Build it

Run make:

$ make

Run the examples

Run make (as above), then explore the demos/ directory with your web browser.

Run the examples in debug mode

Run the Plovr web server with:

$ make serve

Then, start a simple webserver, for example:

$ python -mSimpleHTTPServer

Explore the demos/ directory through this server, for example http://localhost:8000/demos/side-by-side/debug.html. You can turn off compilation by appending ?mode=RAW to the URL, for example http://localhost:8000/demos/side-by-side/debug.html?mode=RAW.

Note that appending ?mode=RAW doesn't work with file:// URLs, which is why you need to access the demos/ directory though a web server.

Run tests

Run the plovr web server (see above), and either open the test/ol.html file in the browser (e.g. http://localhost:8000/test/ol.html), or run make test on the console (headless testing with PhantomJS).

See also the test-specific readme.

Run the linter

First, install the Closure Linter. Then:

$ make lint
Description
Languages
JavaScript 99%
CSS 0.6%
Handlebars 0.3%
Shell 0.1%