Commit Graph

283 Commits

Author SHA1 Message Date
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
Bruno Binet
06580950ca Add controls to ol-overlaycontainer-stopevent
so that events won't be propagated to the map when interacting with a control
2013-10-11 12:51:22 +02:00
Tom Payne
214e578333 Make zoom control animation duration configurable 2013-10-07 15:35:52 +02:00
Frederic Junod
ef929e9a72 Fix jsdoc formating 2013-09-24 12:18:00 +02:00
Tim Schaub
b524de417b Rename ol.ProjectionUnits to ol.proj.Units 2013-09-15 22:04:51 -06:00
Tim Schaub
3b20cc7b53 Rename ol.Projection to ol.proj.Projection 2013-09-15 22:01:56 -06:00
Frederic Junod
20916c75bb Add more api doc 2013-09-09 12:07:03 +02:00
Tim Schaub
716b7b0cec Export ol.control namespace instead of ol.control.defaults function 2013-09-04 13:55:54 -06:00
Tim Schaub
8ca3f13bd2 Instead of providing animation functions, provide the namespace
This follows the convention in the Closure Library of providing either namespace objects (where the property starts with a lowercase letter), constructors (where the property starts with an uppercase letter), or enums (all uppercase properties, only one instance of this in the closure library).
2013-09-04 13:55:36 -06:00
Tom Payne
9c28d0c112 Merge pull request #971 from twpayne/set-target
Cleaner ol.Map#setTarget handling
2013-09-04 02:32:02 -07:00
Tim Schaub
dc76b81780 Rename addPreRenderFunction to beforeRender and remove the plural 2013-09-03 10:57:31 -06:00
Tom Payne
83a9724270 Update ol.control.FullScreen to handle string targets 2013-09-03 15:26:19 +02:00
Tim Schaub
12839f6f50 Merge pull request #946 from tschaub/control-options
Remove map from ControlOptions.
2013-09-02 05:40:45 -07:00
Peter Robins
6b61e9d84b Remove examples from control api docs
[ci skip]
2013-09-02 07:44:08 -04:00
Tim Schaub
109ef38d69 Exporting setMap so it is documented for custom controls 2013-08-31 16:40:46 -06:00
Éric Lemoine
96ef1ed3bd Remove handleMapPostrender extension point 2013-08-31 23:25:08 +02:00
Tim Schaub
6d9d5ecb4b Update ZoomSlider example in docs 2013-08-31 07:29:44 -06:00
Tim Schaub
4679ba77c4 Don't export ol.control.Control.prototype.setMap 2013-08-30 14:59:47 -06:00
Tim Schaub
b479909e25 Remove map from control options 2013-08-30 14:59:21 -06:00