Commit Graph

51 Commits

Author SHA1 Message Date
Éric Lemoine
e3cef24f5f Change examples/demos structure 2012-09-28 13:33:05 +02:00
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
Tom Payne
a46e251eb2 Update demos to use new controls system 2012-09-28 12:53:44 +02:00
Tom Payne
0faab71e3f Implement new control architecture 2012-09-27 17:54:20 +02:00
Tom Payne
fc81c0403e Use new Bing Maps API key 2012-09-27 17:54:20 +02:00
Tim Schaub
d4d04eface Less whitespace by default. 2012-09-27 16:09:03 +02:00
Tom Payne
65b8e0f915 Use object literals and use generic tile layer 2012-09-27 12:45:00 +02:00
ahocevar
caaec7c366 Use the map's zoom method instead of our own
This also allows us to get rid of the resolutions constraint and configuration.
2012-09-27 12:05:53 +02:00
Tom Payne
9c798f410e Work around circular dependency bug 2012-09-27 09:36:55 +02:00
Tom Payne
04325ee3fd Remove unnecessary require, thanks @fredj 2012-09-26 19:46:13 +02:00
Tom Payne
290d03e76f s/store/source/ 2012-09-26 19:43:23 +02:00
Tom Payne
ea81ce33dd Add consistent API demo 2012-09-26 18:28:06 +02:00
Tom Payne
3b11398f35 Remove unnecessary precision 2012-09-26 18:28:05 +02:00
ahocevar
e390ff80ea Adding zoom control 2012-09-26 18:27:45 +02:00
Tom Payne
013e6c6320 Use zoom option 2012-09-26 12:54:53 +02:00
Tom Payne
b73b2d12c4 Replace ol.createMap with friendlier ol.Map constructor 2012-09-26 12:54:53 +02:00
Tom Payne
0eeae68ee9 Don't build demos with simple optimizations 2012-09-26 11:19:14 +02:00
ahocevar
3c099a96b7 No longer tap-selecting elements on touch devices
This finalizes the effort to improve map browser event handling.
2012-09-25 19:32:08 +02:00
ahocevar
ef383ee7b6 Examples using a script loader
This makes it possible to run examples hosted on hosts other than localhost. To get that version by default, debug.html has been renamed to index.html.
2012-09-25 19:06:29 +02:00
Tom Payne
1bb2c3c451 Enable debugging in full screen demo 2012-09-25 13:54:15 +02:00
Tom Payne
ae34e8d261 Add full screen demo 2012-09-25 10:59:38 +02:00
Tom Payne
d7f12debb0 Expect to find proj4js-combined.js in build directory 2012-09-24 14:40:50 +02:00
Tom Payne
f8c31ba45c s/ol3/ol/ 2012-09-24 14:21:41 +02:00
Tom Payne
6737220b83 Remove ol namespace 2012-09-24 14:07:11 +02:00
Tom Payne
4aff22e980 ol3 is now internal, ol is now external
As discussed with @ahocevar, @elemoine and @tschaub.
2012-08-29 20:46:42 +02:00
Éric Lemoine
5998c0a48a Merge pull request #18 from elemoine/domrenderer
DOM renderer changes
2012-08-22 01:34:22 -07:00
Éric Lemoine
e0a6f3aeeb remove ol.TWO_LAYERS_DEMO_ENABLE_DOM from two-layers example 2012-08-21 21:24:12 +02:00
Tom Payne
7a720d2c90 Configure more detailed logging by default in side-by-side demo 2012-08-21 18:34:03 +02:00
Éric Lemoine
042893a817 enable DOM in two-layers example 2012-08-21 06:55:21 +02:00
Éric Lemoine
189b43ad4a two-layers example - do not add layers twice 2012-08-17 22:17:06 +02:00
Tom Payne
9b17d28b2b Add ol.webgl.tilelayerrenderer.logger 2012-08-16 23:43:32 +02:00
Tom Payne
104c859f85 Satisfy gjslint 2012-08-14 15:09:57 +02:00
Tom Payne
9b4b35f9eb Add two layers demo 2012-08-13 21:32:41 +02:00
Tom Payne
07c3cd3d8d Fix drag pan for rotated maps 2012-08-13 18:07:30 +02:00
Tom Payne
85fb3980b6 Add missing closing tag 2012-08-13 17:52:46 +02:00
Tom Payne
d5bd49d86b Use ol.control.MousePosition in demo 2012-08-13 16:45:10 +02:00
Tom Payne
ec3475806e s/View/Control/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne
208db33bfc s/Control/Interaction/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne
35cf4db8cf Remove stray variable 2012-08-08 01:20:57 +02:00
Tom Payne
e78986c954 Add Proj4js demo 2012-08-08 00:44:15 +02:00
Tom Payne
5062b71b3c Add simplified API demo 2012-08-07 20:31:09 +02:00
Tom Payne
ebe132f765 Add reset rotation key to side-by-side demo 2012-08-07 17:48:38 +02:00
Tom Payne
eab38e9042 Use Alt key instead of Shift for rotation 2012-08-07 17:20:42 +02:00
Tom Payne
f76b34bc38 Consistent capitalization 2012-08-07 16:40:40 +02:00
Tom Payne
43a940027f Set events pane width and height in pixels 2012-08-07 16:38:27 +02:00
Tom Payne
991c61110b Use simple optimizations instead of whitespace only 2012-08-07 16:04:15 +02:00
Tom Payne
c53e91e205 Degrade gracefully if WebGL is not supported 2012-08-07 15:53:51 +02:00
Tom Payne
74a332d166 Add side-by-side demo notes 2012-08-07 15:46:12 +02:00
Tom Payne
afe85dd620 Add keyboard controls to side-by-side demo 2012-08-07 14:59:40 +02:00
Tom Payne
7612054913 Cosmetic touchups to side-by-side demo 2012-08-07 14:55:07 +02:00