Peter Robins
7a5a5d75e7
Improve and standardise event docs
2014-08-18 15:17:02 +00:00
Bart van den Eijnden
f468239e71
Merge pull request #2394 from tonio/style_order
...
Give precedence to feature styles
2014-07-25 11:34:24 +02:00
Antoine Abt
4b8ceca8eb
Move defaults style into style.js
2014-07-25 09:50:53 +02:00
Tim Schaub
caa0b568ad
Remove extent option for sources
...
Most of our uses of source extent were cargo cult programming. The source extent was seldom and inconsistently used. Instead, layers can now be configured with an extent, and layer renderers limit rendering (and data requests) to the layer extent.
For vector sources, the `getExtent` method returns the extent of currently loaded features (this was the case before and after this change). For tile based sources, we will likely want to allow easy construction of tile grids based on an extent (this is not possible before or after this change, but could be added later).
2014-07-24 10:30:06 -06:00
Antoine Abt
d50f40dcce
Type check with olx.LogoOptions
2014-07-24 16:40:34 +02:00
Antoine Abt
ba8077010a
Add link support for source logos
2014-07-24 15:22:19 +02:00
Peter Robins
3f1f450d5c
Document debugtilesource
2014-07-22 08:14:33 +00:00
Antoine Abt
60f1874766
Give precedence to feature style
2014-07-16 11:25:16 +02:00
bnare
9e3b46762b
Update mapguidesource.js
...
Add a method updateParams to ol.source.MapGuide.
2014-07-15 17:04:19 +02:00
Éric Lemoine
b8c39bd62c
Merge pull request #2336 from elemoine/seturl
...
Add ol.source.TileWMS#setUrls and setUrl
2014-07-11 12:31:00 +02:00
Peter Robins
5fb78fb352
Add ol.source.TileWMS#setUrls and setUrl
2014-07-11 12:07:07 +02:00
Petr Pridal
1a933febcd
Add tilePixelRatio option to ol.source.XYZ
2014-07-11 12:03:55 +02:00
Éric Lemoine
2b4b2dadf7
Be stricter with the type of ol.source.TileWMS#_urls
2014-07-11 12:03:02 +02:00
Paul Spencer
a02d21d4b5
Allow addFeaturesInternal to add multiple features lacking an id
2014-07-10 07:32:20 -04:00
Éric Lemoine
49b91998f9
Pass tolerance to ReplayGroup
...
The tolerance instead of the squared tolerance must be passed to the ReplayGroup constructor.
2014-07-10 09:52:13 +02:00
Éric Lemoine
4e0d48386b
Use inheritDoc for ol.source.XYZ#setTileUrlFunction
2014-07-06 11:49:19 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
tsauerwein
5adb3a6a8e
Export ol.source.Vector.clear()
2014-07-02 11:53:58 +02:00
Tim Schaub
2ec63b6c58
Unnecessary ol.Tile requires
2014-06-27 19:57:54 -04:00
Tim Schaub
997517110c
Unnecessary ol.Image require
2014-06-27 19:51:38 -04: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
f67767aaf0
Add ol.renderer.vector.getSquaredTolerance and ol.SIMPLIFY_TOLERANCE
2014-06-27 12:10:46 +02:00
Frederic Junod
a172eda242
Remove uniqueness constraint check
2014-06-26 17:55:38 +02:00
Paul Spencer
bf9dbd614a
Use string values for ol.source.State enum
...
Many user-facing enums are string values and we document use of the string values rather than more confusing enum reference or the numeric values.
2014-06-26 08:15:03 -04:00
Éric Lemoine
e161f0eaba
Add tilePixelRatio option to ol.source.WMTS
2014-06-18 13:34:57 +02:00
Éric Lemoine
947eb2e949
Add tilePixelRatio option to ol.source.TileImage
2014-06-18 13:34:57 +02:00
Éric Lemoine
4bcadc5b8d
Add tilePixelRatio option to ol.source.Tile
2014-06-18 13:27:22 +02:00
Peter Robins
8a4307cff2
Add classdesc to remaining vector classes
2014-06-15 08:55:09 -04:00
Peter Robins
75be215497
Add standard docs text to abstract base classes
2014-06-14 07:20:33 -04:00
Éric Lemoine
7a1e605f14
Skipped features support to ol.source.ImageVector
2014-06-11 16:26:21 +02:00
Tim Schaub
2a42e7736a
Merge pull request #2178 from probins/classdesc
...
Use @classdesc notation.
2014-06-09 11:18:14 -06:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
Tim Schaub
13d964488f
Make getFeatureById method exportable
2014-06-03 11:42:47 -06:00
oterral
f3be970f17
Add getTileLoadFunction and setTileLoadFunction in ol.source.TileImage
2014-06-02 11:23:53 +02:00
oterral
c4f7ebb571
Add getTileUrlFunction in ol.source.TileImage
2014-06-02 11:13:03 +02:00
Tim Schaub
a2b81d6bd0
Disallow adding the same feature twice
2014-05-23 16:52:11 -06:00
Tim Schaub
652f11cefa
Provide a method for retrieving features by id
2014-05-23 16:35:07 -06:00
Tim Schaub
097909516a
Account for null or undefined geometry
...
The change in #2098 made it so a feature's geometry could be undefined. This is consistent with the return type for the getGeometry method. Where calling code needs to ensure that it has a geometry instance, it can use instanceof, goog.isDefAndNotNull(), or test for a truthy value.
2014-05-23 10:00:15 -06:00
Andreas Hocevar
547334e211
Move oli.* stability notes to the corresponding ol.* symbol
2014-05-22 16:01:35 +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
Frederic Junod
2f918ea2a4
Remove unused goog.require
2014-05-21 16:06:32 +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
0d10314d4f
Make sure that ol.source.wms.ServerType is documented
2014-05-15 17:06:19 +02:00
Bart van den Eijnden
4780d17059
Export readFeatures on FormatVectorSource
2014-05-12 10:37:41 +02:00
Andreas Hocevar
be73885e37
Merge pull request #2043 from ahocevar/nicer-api-docs
...
Nicer API docs
2014-05-07 09:20:22 -05:00
Andreas Hocevar
8ee9f7cb6a
Simplify the way we annotate observable properties
...
We no longer add observable annotations to the constructor.
Instead, we just mark getters (and for read/write properties
also setters) with an observable annotation.
2014-05-03 16:04:25 -04:00
Tim Schaub
015aab8af3
Rename ol.extent.transform to ol.extent.applyTransform
...
This gives more consistency with ol.proj.applyTransform, allowing us to add a more convenient ol.extent.transform method that takes projection-like arguments.
2014-05-02 10:13:28 -06:00
Tim Schaub
4f9968d106
Rename transform to applyTransform for geometries
2014-05-02 09:27:53 -06:00
Andreas Hocevar
7271b50d5a
Simplify fires annotations
2014-05-01 22:17:56 +02:00
Tim Schaub
24498fa9d0
Defines in a namespace that can be required
...
For consistency, all defines are in the ol namespace. If they are to be moved to another namespace, they need to be requireable.
2014-04-30 09:14:10 -06:00