Commit Graph

7253 Commits

Author SHA1 Message Date
ahocevar
6b395cafb5 Stop click event, as previously promised
This should have gone in with 3910318f1b.
2012-09-28 16:47:54 +02:00
Éric Lemoine
9d8155cf9f Move git-update-ghpages from tools to bin 2012-09-28 16:31:45 +02:00
Éric Lemoine
6cf964b3ae Remove old build files 2012-09-28 16:30:06 +02:00
Éric Lemoine
3aabf117bc CONTRIBUTING.md now mentions the precommit target 2012-09-28 16:23:51 +02:00
Éric Lemoine
82406886a2 Add a CONTRIBUTING.md file 2012-09-28 16:19:07 +02:00
Tom Payne
3e824fc683 Avoid running build twice 2012-09-28 15:52:16 +02:00
Éric Lemoine
8fd77ef330 ol.MapExport takes maxResolution and friends into account 2012-09-28 15:32:00 +02:00
Éric Lemoine
91d582e76e export ol.Projection.transformWithCodes 2012-09-28 15:29:12 +02:00
Éric Lemoine
7a296a273b Export the ol.overlay.Overlay symbol 2012-09-28 15:21:23 +02:00
Tom Payne
7bcb5886ad Use CSS rule to separate attributions 2012-09-28 14:57:54 +02:00
Tom Payne
ed67bdc489 Make attribution control less ugly 2012-09-28 14:53:45 +02:00
Tom Payne
1be9e97489 Add attribution control by default 2012-09-28 14:53:45 +02:00
ahocevar
82058412a1 Bringing label markup back
Also with a bit of css, we can make the label invisible before
it gets added as overlay to the map.
2012-09-28 14:44:36 +02:00
ahocevar
b233b8e1a5 Making sure that position:absolute is set
Positioning of overlays is only possible when position:absolute
is set on the element. So we set it programmatically now.
2012-09-28 14:44:35 +02:00
Tom Payne
acb411ef43 Use consistent naming for CSS classes 2012-09-28 14:32:41 +02:00
Tom Payne
a26f796577 Prettify CSS 2012-09-28 14:32:41 +02:00
Tom Payne
7bdb86b10e Remove unused CSS classes 2012-09-28 14:32:40 +02:00
Éric Lemoine
9af392e217 Change loader.js usage example 2012-09-28 14:25:21 +02:00
Éric Lemoine
f60af3910f Explain how to add examples in readme.md 2012-09-28 14:21:16 +02:00
Tom Payne
da5ad0bf20 Minify CSS with Closure Stylesheets
See https://code.google.com/p/closure-stylesheets/
2012-09-28 14:16:25 +02:00
Éric Lemoine
5615eabf66 Update readme.md 2012-09-28 14:02:57 +02:00
Éric Lemoine
896f5203db Change examples directory names to "examples" 2012-09-28 14:01:51 +02:00
Éric Lemoine
310d5bfeaa The serve target needs demos as its source 2012-09-28 13:54:51 +02:00
Éric Lemoine
11915549a3 Make make lint ignore demos/*.combined.js file 2012-09-28 13:52:55 +02:00
Tom Payne
31411ae33f Remove unused style 2012-09-28 13:48:20 +02:00
Tom Payne
a341df3b41 Fix not-up-to-date transform bug in mouse position control 2012-09-28 13:48:20 +02:00
Tom Payne
0bf17f64f7 Initialize controls after map has been configured 2012-09-28 13:48:20 +02:00
Éric Lemoine
e3cef24f5f Change examples/demos structure 2012-09-28 13:33:05 +02:00
ahocevar
3910318f1b Merge pull request #30 from openlayers/overlay
Introducing ol.overlay.Overlay and an overlayContainer. r=@twpayne
2012-09-28 04:05:21 -07: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
e2e983728e Add controls to map 2012-09-28 12:52:54 +02:00
Tom Payne
e7eccb302d Cope with map being null 2012-09-28 12:51:10 +02:00
Tom Payne
74f87995c8 Build doc in build/gh-pages directory 2012-09-28 12:25:06 +02:00
Tim Schaub
ff19ab0a28 Call event.getPixel() to get the map pixel offset
The new getPixel method should be used instead of checking offsetX/Y on the browser event.
2012-09-28 12:19:32 +02:00
Tim Schaub
eb29e6a43c Using null instead of null or object or undefined 2012-09-28 12:08:21 +02:00
Tim Schaub
3e34013c09 Separating out method to get pixel offset 2012-09-28 12:08:21 +02:00
Éric Lemoine
158e4b1356 Add a readme file to the tools dir 2012-09-28 11:30:32 +02:00
Éric Lemoine
e93bb6a39b Add a gh-pages target to Makefile 2012-09-28 11:26:00 +02:00
Éric Lemoine
a347454aa3 JSDoc output goes to build/<branch_name>/apidoc 2012-09-28 11:26:00 +02:00
Éric Lemoine
e27d0d9dc1 Add a tool to create/update the gh-pages branche 2012-09-28 11:26:00 +02:00
Tim Schaub
6ed27779cc Rotation support for the dom renderer
Thanks @fredj for the inspiration.  This gives us initial rotation support.  It exposes some issues in the interactions that I'll address separately.  Closes #22.
2012-09-28 10:53:36 +02:00
Éric Lemoine
ab403bf71d Merge pull request #29 from openlayers/travis2
Make Travis also build the doc
2012-09-28 00:07:54 -07:00
Tom Payne
e3c3c13ac2 Use goog.vec.Mat4.rotateZ 2012-09-27 18:21:33 +02:00
Tom Payne
8dc57d5148 Add ol.ASSUME_TOUCH @define 2012-09-27 18:21:21 +02:00
Tom Payne
7415a11c63 More responsive zoom buttons on touch devices thanks to @ahocevar 2012-09-27 18:07:17 +02:00
Éric Lemoine
a0f747379b Make Travis also build the doc 2012-09-27 18:01:31 +02:00
Éric Lemoine
676a95efd8 Merge remote-tracking branch 'upstream/master' 2012-09-27 17:57:44 +02:00
Éric Lemoine
d99a0c164e Make functions @protected or @private
This also makes jsdoc3 happy along the way.
2012-09-27 17:56:29 +02:00
Tom Payne
0faab71e3f Implement new control architecture 2012-09-27 17:54:20 +02:00