Andreas Hocevar
8d805c6403
Merge pull request #2415 from probins/debugtile
...
Document debugtilesource
2014-07-22 10:25:17 +02:00
Andreas Hocevar
fa7ff506fc
Merge pull request #2406 from ahocevar/scaleline-infinite
...
Infinite loop in ol.control.ScaleLine
2014-07-21 14:08:36 +02:00
Andreas Hocevar
eb71e8e92d
Handle cases where the x-axis distance cannot be calculated
2014-07-21 12:20:51 +02:00
Andreas Hocevar
b4f6baa613
Merge pull request #2401 from probins/layerbase
...
Fix issue with layergroup event docs
2014-07-18 14:19:35 +02:00
Andreas Hocevar
3ac7cb58af
Merge pull request #2402 from probins/plugins
...
Fix jshint issues in apidoc/plugins
2014-07-17 13:35:38 +02:00
Andreas Hocevar
c9d44fe842
Merge pull request #2397 from probins/nav
...
Docs sidebar in alphanumeric sequence
2014-07-16 18:55:48 +02:00
Andreas Hocevar
e56f759574
Merge pull request #2395 from probins/defaults
...
Remove classdesc tag from control/interaction defaults
2014-07-16 18:52:23 +02:00
Andreas Hocevar
4aa76977d2
Merge pull request #2374 from probins/patch-1
...
Remove duplication from contributing.md
2014-07-14 19:01:50 +02:00
Andreas Hocevar
9131512598
Merge pull request #2367 from probins/collection
...
Improve Collection docs
2014-07-14 13:18:10 +02:00
Andreas Hocevar
3e2350b2a0
Merge pull request #2364 from probins/observable
...
Tag always exported methods as api/observable
2014-07-14 10:53:37 +02:00
Andreas Hocevar
29d581bbee
Merge pull request #2365 from probins/patch-1
...
Fix missing backtick in ol.Object docs
2014-07-14 10:49:36 +02:00
Andreas Hocevar
cc9acef01f
Merge pull request #2358 from probins/patch-1
...
Change docs landing page to link to transformExtent
2014-07-13 17:19:35 +02:00
Andreas Hocevar
121d19e0ba
Merge pull request #2333 from ahocevar/better-proj4-check
...
Check for proj4 in a way that also works in module environments
2014-07-10 20:36:52 +02:00
Andreas Hocevar
1d26c1faaf
Check for proj4 in a way that also works in module environments
2014-07-10 20:23:33 +02:00
Andreas Hocevar
512c2032ed
Merge pull request #2330 from ahocevar/proj4-global
...
Safeguard against cases where no projection and no proj4 is available
2014-07-10 18:53:26 +02:00
Andreas Hocevar
19757ae3e0
Safeguard against cases where no projection and no proj4 is available
2014-07-10 18:32:29 +02:00
Andreas Hocevar
9640a08c0e
Merge pull request #1228 from ahocevar/new-proj4js
...
Use the new proj4.js
2014-07-10 13:31:17 +02:00
Andreas Hocevar
193adf4401
Move Swiss transform functions to the .js file
2014-07-09 21:24:42 +02:00
Andreas Hocevar
1ae82b054c
Revert to only accept ol.proj.Projection as argument
2014-07-09 18:12:07 +02:00
Andreas Hocevar
1bb5705b55
Clean up after testing
2014-07-09 18:11:22 +02:00
Andreas Hocevar
8f1fdde26e
Show both Proj4js and custom transform functions in examples
2014-07-09 18:09:23 +02:00
Andreas Hocevar
fc3ed93080
Use proj4.js from node_modules/ instead of copying it to build/
2014-07-09 15:33:13 +02:00
Andreas Hocevar
0a01f8ef7e
Simplify ol.proj.addCoordinateTransforms
...
Equivalent projections do not need to be handled here, and the forward
and inverse functions can be function arguments instead of being nested
in an object literal.
2014-07-09 15:33:13 +02:00
Andreas Hocevar
90c745006d
Update to use the documented Proj4js 2.2.x API
2014-07-09 15:33:12 +02:00
Andreas Hocevar
a22d7e4d22
Allow Proj4js to be loaded after OpenLayers
2014-07-09 15:33:12 +02:00
Andreas Hocevar
20e903f8d9
Add proj4 to package.json
2014-07-09 15:32:54 +02:00
Andreas Hocevar
88ab1ac61a
Doc changes suggested by @probins
2014-07-08 22:06:21 +02:00
Andreas Hocevar
8b2277cdda
Use proj4.defs instead of proj4.Proj, to conform with the proj4js API
2014-07-08 22:06:21 +02:00
Andreas Hocevar
0c62469f50
Update example to show transparent proj4js integration
2014-07-08 22:06:21 +02:00
Andreas Hocevar
dfe92da58d
Update example to show manual proj4js configuration
2014-07-08 22:06:21 +02:00
Andreas Hocevar
b5bdd0d4bb
Update tests
2014-07-08 22:06:21 +02:00
Andreas Hocevar
8b89f5b689
Update API to work with custom transforms, including proj4js
...
All transparent proj4js handling is now in ol.proj.get, and a new
addCoordinateTransforms function makes it easy to configure custom
transform functions. ol.Proj4jsProjection is no longer needed.
2014-07-08 22:06:20 +02:00
Andreas Hocevar
dc09b0a27f
Update externs and ol.HAVE_PROJ4JS for new proj4js API
2014-07-08 22:06:20 +02:00
Andreas Hocevar
971c1137bc
Download and use new proj4js
2014-07-08 22:06:20 +02:00
Andreas Hocevar
d215696154
Merge pull request #2322 from ahocevar/view-projection
...
Make sure that projection is an ol.proj.Projection instance
2014-07-08 22:01:21 +02:00
Andreas Hocevar
38bf0b439a
Merge pull request #2321 from ahocevar/cleanup-package-json
...
Remove transient jsdoc dependencies
2014-07-08 21:52:54 +02:00
Andreas Hocevar
82604ff60b
Make sure that projection is an ol.proj.Projection instance
2014-07-08 21:41:08 +02:00
Andreas Hocevar
3a0d0c7290
Remove transient jsdoc dependencies
...
alpha9 has the dependencies fixed again, so no need to keep taffydb and
underscore around.
2014-07-08 21:38:16 +02:00
Andreas Hocevar
9b1e9dbc8e
Merge pull request #2317 from ahocevar/export-transform
...
Make transform exportable
2014-07-07 11:19:04 +02:00
Andreas Hocevar
1933d809e2
Export transform
...
ol.ObjectAccessor#transform is used in the bind-input example. Why the
example works without this export is a mystery to me. Either way, we
will want this in the docs.
2014-07-07 10:45:15 +02:00
Andreas Hocevar
60f283d5c0
Merge pull request #2279 from ahocevar/show-sketch-vertex
...
Show sketch vertex for all geometry types
2014-07-01 12:04:40 +02:00
Andreas Hocevar
29370a04aa
Show sketch vertex for all geometry types
2014-07-01 11:52:21 +02:00
Andreas Hocevar
efc3e3244a
Merge pull request #2254 from elemoine/replaygroup
...
Use replay groups for feature overlays
2014-06-27 12:59:06 +02:00
Andreas Hocevar
cf13cb5e32
Fix remaining API doc issues with squared tolerance vs. tolerance
2014-06-27 12:20:16 +02:00
Andreas Hocevar
80fa0be42f
Use setStyle in the constructor
2014-06-27 12:14:22 +02:00
Andreas Hocevar
f67767aaf0
Add ol.renderer.vector.getSquaredTolerance and ol.SIMPLIFY_TOLERANCE
2014-06-27 12:10:46 +02:00
Andreas Hocevar
2171c92b5c
Add new tests for FeatureOverlay
...
In the process of creating these tests, a bug with setting this._style
was also fixed.
2014-06-27 11:46:47 +02:00
Andreas Hocevar
1551e6e7ff
Improved forEatchFeatureAtPixel docs
2014-06-26 15:17:29 +02:00
Andreas Hocevar
d2e4603171
Merge pull request #2252 from probins/patch-1
...
Fix broken links in api docs landing page
2014-06-26 13:24:20 +02:00
Andreas Hocevar
ba2d49d715
Finish the replay group after dispatching the compose event
2014-06-26 13:16:34 +02:00
Andreas Hocevar
4679a7d4fb
Merge pull request #2138 from probins/mapoptions
...
Document map options more thoroughly
2014-06-25 09:35:56 +02:00
Andreas Hocevar
85ddd2446e
Add endGeometry after hit detection stroke and fill
2014-06-24 12:23:47 +02:00
Andreas Hocevar
4e52224c12
Add example
2014-06-18 13:34:57 +02:00
Andreas Hocevar
3fdd0e4bf7
Merge pull request #2202 from probins/tvformat
...
Add missing format option to TileVector docs
2014-06-16 11:03:43 +02:00
Andreas Hocevar
eb8c2ab339
Merge pull request #2203 from probins/classdesc
...
Add classdesc to remaining vector classes
2014-06-16 11:02:23 +02:00
Andreas Hocevar
0d59deb6ba
Merge pull request #2206 from probins/nostatic
...
Remove static button in docs sidebar if none
2014-06-16 10:55:01 +02:00
Andreas Hocevar
4925ac9339
Merge pull request #2199 from probins/abstract
...
Add standard docs text to abstract base classes
2014-06-14 14:17:46 +02:00
Andreas Hocevar
66d72519c3
Merge pull request #2191 from ahocevar/tile-function-annotation
...
Mark abstract method as function for JSDoc to pick it up
2014-06-12 15:03:52 +02:00
Andreas Hocevar
4eab46e41b
Mark abstract method as function for JSDoc to pick it up
...
This leaves aside the question whether getImage needs to be
defined as abstract method in a base class that does not know
about images, but at least it makes the documentation appear
correctly in ol.tile.Image.
2014-06-12 14:43:49 +02:00
Andreas Hocevar
b411ccaa5b
Merge pull request #2187 from ahocevar/fix-jsdoc
...
Manually add jsdoc dependencies
2014-06-11 13:04:21 +02:00
Andreas Hocevar
28d4e5a6c9
Manually add jsdoc dependencies
...
Looks like there is a version mismatch with the taffydb and
underscore dependencies of jsdoc, so we add them here manually.
2014-06-11 12:06:02 +02:00
Andreas Hocevar
90974a0721
Merge pull request #2184 from ahocevar/google-no-kinetic
...
Restore synchronized map panning in google-map example
2014-06-11 00:37:12 +02:00
Andreas Hocevar
c8c0f087f0
Restore synchronized map panning in google-map example
2014-06-10 16:11:40 +02:00
Andreas Hocevar
f27c91e27f
Merge pull request #2130 from adube/fix-example-gmaps-zooms
...
Fix GoogleMaps example view max zoom levels
2014-06-09 22:22:34 +02:00
Andreas Hocevar
cc1b7cac48
Merge pull request #2125 from ahocevar/loadingstrategy-docs
...
Make loading strategies appear in the docs
2014-05-27 15:59:10 +02:00
Andreas Hocevar
45805f7158
Make loading strategies appear in the docs
2014-05-27 15:38:31 +02:00
Andreas Hocevar
7732a10bbf
Merge pull request #2116 from ahocevar/no-imagestyle
...
Do not make ol.style.Image exportable
2014-05-27 08:02:51 +02:00
Andreas Hocevar
605b8278ea
Do not make ol.style.Image exportable
...
Application developers should use its subclasses.
2014-05-26 19:26:58 +02:00
Andreas Hocevar
0e7f86ea17
Merge pull request #2072 from ahocevar/no-oli-docs
...
Do not include oli.* symbols in the API documentation
2014-05-23 10:52:49 +02:00
Andreas Hocevar
f903849882
Remove all docstrings from oli.js
...
Instead, make sure that the properties are documented in the
implementing class.
2014-05-22 18:00:10 +02:00
Andreas Hocevar
547334e211
Move oli.* stability notes to the corresponding ol.* symbol
2014-05-22 16:01:35 +02:00
Andreas Hocevar
2caa1139a1
Move object literals defined in ol3 to a separate section
2014-05-22 15:51:41 +02:00
Andreas Hocevar
08cdeaacb4
Clean up api.js
2014-05-22 15:51:21 +02:00
Andreas Hocevar
eb6a938062
Do not document object literals as interfaces
...
Instead, object literals with properties that should not be
renamed can go in externs/olx.js.
2014-05-22 15:48:47 +02:00
Andreas Hocevar
e050c905e2
Do not include oli.* symbols in the inheritance chain
2014-05-22 15:48:46 +02:00
Andreas Hocevar
dca88668ab
Merge pull request #2095 from ahocevar/test-geometry-name
...
Test that a custom geometry works
2014-05-21 15:08:47 +02:00
Andreas Hocevar
e530758b36
Test that a custom geometry works
2014-05-21 15:08:11 +02:00
Andreas Hocevar
cabd436b4c
Merge pull request #2082 from ahocevar/custom-exports-target
...
Allow to specify an objectToExportTo for goog.exportSymbol
2014-05-21 13:51:52 +02:00
Andreas Hocevar
3447f93bfe
Document the new namespace option
2014-05-20 21:56:32 +02:00
Andreas Hocevar
cd4092f3e0
Allow to specify an objectToExportTo for goog.exportSymbol
...
This allows users to build ol3 without anything exposed in the
global namespace. This can e.g. be useful for creating an ol3
AMD module, by simply using a build configuration with
"define('ol',function(){var o={};%output%return o.ol;});" as
"output_wrapper".
2014-05-20 21:49:26 +02:00
Andreas Hocevar
6185005c3f
Merge pull request #2077 from ahocevar/event-stability
...
Document event stability even when there is no description
2014-05-16 10:03:30 +02:00
Andreas Hocevar
aaf21198d3
Document event stability even when there is no description
2014-05-15 23:02:01 +02:00
Andreas Hocevar
c70497856c
Merge pull request #2075 from ahocevar/api-docs-improved
...
More API doc improvements
2014-05-15 22:35:53 +02:00
Andreas Hocevar
687abda9fb
Need to be more specific about the coordinate format now.
2014-05-15 20:56:09 +02:00
Andreas Hocevar
b348a4f8f9
Add some margin between the 'static' tag and the name
2014-05-15 20:29:46 +02:00
Andreas Hocevar
d163f60e34
Make sure that opt_layout is listed as optional
2014-05-15 20:29:16 +02:00
Andreas Hocevar
b2805c58de
Better document which events are fired
...
The map does not fire ol.render.Event#render. Change events are
now only listed for classes that fire them, and a description
about when they are fired is added.
2014-05-15 20:28:09 +02:00
Andreas Hocevar
a75d944311
Allow custom events and do not collect events from methods
2014-05-15 20:25:26 +02:00
Andreas Hocevar
0d10314d4f
Make sure that ol.source.wms.ServerType is documented
2014-05-15 17:06:19 +02:00
Andreas Hocevar
97bae045db
Fix documentation typos
2014-05-15 17:05:40 +02:00
Andreas Hocevar
754ef24b0c
List default controls and interactions
2014-05-15 17:04:58 +02:00
Andreas Hocevar
b2554cab41
Mark optional and repeatable arguments
2014-05-15 16:58:13 +02:00
Andreas Hocevar
fc88db53f6
Make types look the same everywhere
2014-05-15 16:57:47 +02:00
Andreas Hocevar
720052de12
New landing page
2014-05-15 16:54:33 +02:00
Andreas Hocevar
81a85fe0e2
Merge pull request #2061 from eshon/master
...
Some suggested color changes to apidoc template items
2014-05-14 22:45:21 +02:00
Andreas Hocevar
3a8aaea6c7
Merge pull request #2068 from ahocevar/apidoc-imprved
...
Only document arguments of exported constructors
2014-05-14 21:08:17 +02:00
Andreas Hocevar
a613e01677
Only document arguments of exported constructors
2014-05-14 09:06:26 +02:00
Andreas Hocevar
efdf05f0d1
Merge pull request #2051 from ahocevar/fix-returns
...
Apidoc: first word of '@return' not displayed
2014-05-09 10:43:28 -05:00
Andreas Hocevar
90ffde52f2
Make sure that links are clickable
...
Because we set a padding of 50px on anchorable elements to make
sure they are not obscured by the header, we need to raise the
z-index of links so they are not obscured by these paddings.
2014-05-09 10:03:17 -05:00
Andreas Hocevar
f95e23deeb
Do not hide the first word of returns
2014-05-09 10:02:13 -05:00