Commit Graph

15577 Commits

Author SHA1 Message Date
Tim Schaub c820a7a1f8 Additional doc for the namespace option
People should be discouraged from exporting to single letter namespaces to avoid collissions with the symbols generated by the compiler.
2014-05-21 13:22:40 +02:00
Tim Schaub 250f6901d3 Pass around single config object 2014-05-21 13:22:32 +02:00
Björn Harrtell ce40a142fa opt_dest should be assigned to not pushed 2014-05-21 12:02:26 +02:00
Frédéric Junod 32b17642c1 Merge pull request #2092 from fredj/unused-require
Remove unused goog.require
2014-05-21 11:36:16 +02:00
Frederic Junod b2ab73e78b Remove unused goog.require 2014-05-21 09:46:49 +02:00
Frédéric Junod c4e729a2bd Merge pull request #2086 from fredj/apidoc
Document ol.coordinate functions
2014-05-21 09:04:45 +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
Frederic Junod 8239a5c92a Document ol.coordinate functions 2014-05-20 14:15:28 +02:00
Frederic Junod ae7291d9f1 Add the jsdoc ol.coordinate namespace 2014-05-20 13:58:17 +02:00
Éric Lemoine 832371b2aa Merge pull request #2083 from elemoine/missinganotation
Add missing @param annotation
2014-05-19 16:28:32 +02:00
Éric Lemoine 9b7735bf92 Add missing @param annotation 2014-05-19 15:43:38 +02:00
Tim Schaub e17c8c79f9 Merge pull request #2079 from tschaub/view-options
Support zoom and resolution constrained views.
2014-05-16 11:26:09 -06:00
Tim Schaub 3793f33acf Handle minZoom in getZoom and setZoom 2014-05-16 04:56:42 -06: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
Tim Schaub 815f5b38c8 Accept resolution or zoom related options for constrained views
Any of minResolution, maxResolution, minZoom, or maxZoom can be used to constrain the view resolutions.  Resolution options are given precedence over zoom options.
2014-05-15 17:31:55 -06: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
Bart van den Eijnden 3384ba07e3 Merge pull request #2074 from bartvde/touch
Restore map interaction on touch devices
2014-05-15 15:58:38 +02:00
Bart van den Eijnden 83ce0b2c7f Restore map interaction on touch devices 2014-05-15 15:29:41 +02:00
Frédéric Junod 92a7f9112c Merge pull request #2073 from fredj/named-colors
Change ol.ENABLE_NAMED_COLORS to be false by default
2014-05-15 11:02:34 +02:00
Frederic Junod b42f4e1b0c Change ol.ENABLE_NAMED_COLORS to be false by default 2014-05-15 08:59:47 +02:00
Frederic Junod 84390da2e4 Rename ol.color.ENABLE_NAMED_COLORS in tests 2014-05-15 08:59:02 +02:00
Tim Schaub 9874f502ab Merge pull request #2071 from tschaub/doc
Minor doc content and style updates.
2014-05-14 18:28:54 -06:00
Tim Schaub 049531831c Move stability and inherited indicators after names 2014-05-14 16:27:30 -06:00
Tim Schaub 8fbf67b7e6 Remove space between ol. and Name 2014-05-14 16:26:44 -06:00
Tim Schaub 3a0efe83c5 Update map example 2014-05-14 15:11:12 -06:00
Tim Schaub f559963126 Merge pull request #2063 from tschaub/moveend
Fire moveend only once after view settles.
2014-05-14 14:58:06 -06: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
Eva Shon b8cef60036 Update main.less 2014-05-14 16:43:26 -04:00
Eva Shon 55b273686a Update main.less 2014-05-14 16:41:57 -04:00
Tim Schaub df05e9da11 Fire moveend only once after view settles 2014-05-14 14:23:31 -06:00
Tim Schaub 2d34d04113 Merge pull request #2070 from tschaub/concatenate
Support for debug builds (concatenation only).
2014-05-14 13:48:44 -06: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
Tim Schaub c3184f2cce Support for debug builds (concatenation only)
Whitespace builds are still painful to debug.  Skipping the compiler altogether and simply concatenating sources is a better option for development and debugging.  By ommitting the `compile` option in a build config, the output is "uncompiled" - a straight concatenation of all sources in dependency order.
2014-05-14 10:39:51 -06:00
Andreas Hocevar a613e01677 Only document arguments of exported constructors 2014-05-14 09:06:26 +02:00
Tim Schaub ab9d42f2cd Merge pull request #2067 from tschaub/touches
Do less work while processing touch events.
2014-05-14 01:05:22 -06:00
Tim Schaub 9f047b791c Merge pull request #2066 from tschaub/phantom
Remove PhantomJS as a global dependency.
2014-05-14 00:52:26 -06:00
Bart van den Eijnden 28f21e44c1 Merge pull request #2059 from bartvde/draw-geometryname
Add geometryName option to ol.interaction.Draw (r=@elemoine)
2014-05-14 08:51:59 +02:00