Antoine Abt
7426da61ea
Make ZoomToExtent listen on button click
...
& not its container
2014-02-26 11:15:03 +01:00
oterral
7e842b0850
Fix option name zoomInTipLabel
2014-02-24 15:26:13 +01:00
Antoine Abt
ae3ad24928
Reorder default controls
2014-02-20 16:52:09 +01:00
Antoine Abt
30bc97755a
Restore preventDefault call that shouldn’t have been removed
2014-02-20 16:47:34 +01:00
Antoine Abt
ed8e0e8552
Minor cleanups
2014-02-20 16:47:34 +01:00
Antoine Abt
d52f62fb5a
Make Fullscreen control use <button> instead of <a>
2014-02-20 16:47:33 +01:00
Antoine Abt
b3abc166a4
Make zoomToExtent control use <button> instead of <a>
2014-02-19 09:34:04 +01:00
Antoine Abt
b6052320ad
Coding style
2014-02-18 15:49:45 +01:00
Antoine Abt
1a44fb2ff3
Make zoom control tip texts configurable
2014-02-18 15:25:58 +01:00
Mark Prins
18c2ffe522
use button elements instead of anchor elements and add tooltips to zoomcontrol
2014-02-17 14:57:15 +01:00
Mark Prins
9adf8b01f6
use button elements and add tooltips to zoomcontrol
2014-02-17 14:57:15 +01:00
Éric Lemoine
66a17b20e0
Better code formatting
2014-02-16 23:20:32 +01:00
Éric Lemoine
eef32c5d5d
Use minus sign as zoom out label
2014-02-16 23:19:03 +01:00
Antoine Abt
bb50d5936f
Prevent OSX Safari to display distorded map
2014-02-14 11:32:00 +01:00
Tom Payne
e0765240a2
Merge branch 'ie-compat' of git://github.com/Intermedix/ol3 into Intermedix-ie-compat
2014-02-11 16:54:39 +01:00
Tom Payne
e53d7e954b
Don't export ol.control.ScaleLineUnits
2014-02-06 22:33:42 +01:00
Tom Payne
84fd853dc1
Allow ol.control.ScaleLine units option to be a string
2014-02-06 22:33:37 +01:00
Austin Hyde
1215f58241
Add explicit text nodes to zoom in/out controls
...
IE < 9 does not support CSS content properties, so the +/- does not
get rendered. Instead, add the +/- as text nodes when creating the
DOM nodes for the control.
2014-02-05 10:31:15 -05:00
Tom Payne
97cabd273a
Improve use of View2D in ol.control.ZoomToExtent
2014-01-30 11:20:57 +01:00
Bart van den Eijnden
498d05a44c
remove question mark since all object properties are nullable by default
2014-01-27 15:22:25 +01:00
Bart van den Eijnden
2fc884a3d9
simplify the assignment of this.target_
2014-01-27 15:22:25 +01:00
Bart van den Eijnden
e6c4fd973a
allow target to be specified as a string for controls, update the documentation to make more clear what element and target are for
2014-01-27 15:22:25 +01:00
Frederic Junod
80bb95e553
Trigger a render in ol.Control#setMap
...
Closes #1525
2014-01-27 13:34:20 +01:00
Tom Payne
610eefb932
Merge remote-tracking branch 'openlayers/master' into vector-api
2014-01-13 16:07:39 +01:00
Tom Payne
e4b815d4d6
Add optional URL for logos
2014-01-13 14:20:24 +01:00
Tom Payne
7cadb6824e
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-12-18 17:09:19 +01:00
Éric Lemoine
0d235e7efc
Do not use export_as controldefaults exports
2013-12-18 08:25:14 +01:00
Tom Payne
b59eec7a83
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-12-13 20:22:06 +01:00
Tom Payne
408a75426b
Improve type checking in ol.control.Zoom
2013-12-13 18:59:24 +01:00
Éric Lemoine
35d5158454
Merge remote-tracking branch 'upstream/master' into vector-api
...
Conflicts:
src/objectliterals.jsdoc
src/ol/attribution.js
src/ol/geom/geometry.js
src/ol/geom/geometrycollection.js
src/ol/geom/linestring.js
src/ol/layer/vectorlayer.exports
src/ol/layer/vectorlayer.js
src/ol/map.js
src/ol/proj/proj.js
src/ol/renderer/canvas/canvasvectorlayerrenderer.js
src/ol/source/imagewmssource.js
src/ol/source/tilewmssource.js
src/ol/source/vectorsource.exports
src/ol/source/vectorsource.js
src/ol/source/wmssource.js
src/ol/style/style.js
src/ol/tilegrid/tilegrid.js
src/ol/tilegrid/wmtstilegrid.js
src/ol/tilegrid/xyztilegrid.js
2013-12-13 12:53:57 +01:00
Éric Lemoine
f15694844d
Line is too long
2013-12-12 15:22:18 +01:00
Éric Lemoine
7732c19874
Some options types are defined in the code
...
The sed script caught those, so manually adjusting here.
2013-12-12 15:19:37 +01:00
Éric Lemoine
7b81bfab5c
Change @exportClass to @exportSymbol
...
sed command used: find src/ol -name '*.exports' -exec sed -ri 's/@exportClass\s+(\S+)\s+(\S+)$/@exportSymbol \1/' \{\} \;
2013-12-12 15:05:52 +01:00
Éric Lemoine
d9e293109e
Change @exportFunction to @exportSymbol
...
sed command used: find src/ol -name '*.exports' -exec sed -ri 's/@exportFunction\s+(\S+)\s+(\S+)\s+(\S+)$/@exportSymbol \1 \1/' \{\} \;
2013-12-12 15:05:39 +01:00
Éric Lemoine
315c42f0a7
Use olx namespace for options types in source code
...
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
2013-12-12 15:02:03 +01:00
Tom Payne
424f8fcc6d
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-11-27 13:10:20 +01:00
Éric Lemoine
4bae4f3b90
Merge pull request #1285 from elemoine/clik_zoomslider
...
Handle click on the zoom slider
2013-11-22 02:48:38 -08:00
Frederic Junod
6e88d3ba3c
Minor apidoc updates
2013-11-21 10:52:00 +01:00
Tom Payne
dca4f261ec
Remove ol.control.DragBox
2013-11-20 11:42:06 +01:00
Éric Lemoine
8d57f0c78b
Stop clicks on zoom slider thumb
2013-11-17 00:05:16 +01:00
Éric Lemoine
a898b9588e
Handle click on zoom slider
2013-11-17 00:05:16 +01:00
Éric Lemoine
9ff7470f65
Change ol.control.ZoomSlider#amountDragged_ signature
2013-11-17 00:05:15 +01:00
Éric Lemoine
14f5e5aedc
Do not pretend the zoom slider supports touch
2013-11-17 00:05:15 +01:00
Éric Lemoine
559cad4cf3
Simplify zoom slider code
2013-11-16 23:29:22 +01:00
Éric Lemoine
16b0e73666
Better use of good.dom.createDom in zoom slider
2013-11-16 23:22:41 +01:00
Paul Spencer
5af671b5f7
Merge pull request #1181 from pagameba/doc-observables
...
Add `@todo observable` documentation for observable properties
2013-10-31 10:51:20 -07:00
Frederic Junod
a9159ecac3
Rename ol.interaction.condition to ol.events.condition
2013-10-30 12:13:44 +01:00
Paul Spencer
4e657e464c
Add @todo observable documentation for observable properties
...
This PR adds documentation for observable properties, which will then be pulled into the docs correctly once #1180 is merged. This is a first pass based on searching for definition of observable properties being defined as enums after lines ending with `Property = {`. If there are observable properties implemented that don't follow this pattern then they are not included.
I've added simple descriptions based on what I know or could easily figure out, there may be some properties (like preload) that are not correctly described.
I've also added `readonly` annotations where I knew that a property was readonly. I may have missed some readonly properties.
ol.layer.Base has a bunch of properties but I don't think it is exported so the documentation of these properties will not show up, so I added the documentation to ol.layer.Layer instead even though this isn't really where it should be documented.
2013-10-29 10:24:54 -04:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
Frederic Junod
ade9984872
Add new condition param to ol.control.DragBox
2013-10-17 07:44:05 +02:00