Andreas Hocevar
19757ae3e0
Safeguard against cases where no projection and no proj4 is available
2014-07-10 18:32:29 +02:00
tsauerwein
7c22d8ffd4
Also accept empty array for ol.geom.MultiPolygon
2014-07-10 17:18:24 +02:00
Éric Lemoine
d57a35ffcb
Fix stride related bug in Canvas immediate API
2014-07-10 14:21:56 +02:00
Paul Spencer
9dc17230c2
Merge pull request #2323 from pagameba/fix-addfeatures
...
ServerVector addFeaturesInternal fails when features lack an id
2014-07-10 08:08:54 -04:00
Paul Spencer
a02d21d4b5
Allow addFeaturesInternal to add multiple features lacking an id
2014-07-10 07:32:20 -04: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
É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
Andreas Hocevar
1ae82b054c
Revert to only accept ol.proj.Projection as argument
2014-07-09 18:12:07 +02:00
Éric Lemoine
4cf8383820
Avoid a type-cast
2014-07-09 17:51:24 +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
Paul Spencer
f1bdaed15a
Merge pull request #2177 from pagameba/geometry-api
...
Add @todo api and describe ol.geom.Geometry funcs
2014-07-09 07:23:32 -04:00
Paul Spencer
4bcbda61c6
Merge pull request #2298 from probins/props
...
Document that options in layers and properties in features are set as object properties
2014-07-09 07:21:53 -04:00
Peter Robins
17d059f7bb
Document that layer options are set as object properties
2014-07-09 06:40:28 -04:00
Peter Robins
9915bb873c
Document that feature properties are set as object properties
2014-07-09 06:39:42 -04:00
Paul Spencer
befcc4ceea
Merge pull request #2204 from probins/dragbox
...
Correct/improve dragbox docs
2014-07-08 19:40:55 -04: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
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
82604ff60b
Make sure that projection is an ol.proj.Projection instance
2014-07-08 21:41:08 +02:00
Paul Spencer
570a0c23a7
Merge pull request #2183 from pagameba/classdesc
...
Use @classdesc notation
2014-07-07 08:30:33 -04:00
Paul Spencer
8d991bd638
Add @todo API and describe ol.geom.Geometry funcs
...
The `clone()`, `getSimplifiedGeometry()` and `getType()` methods are all
base class methods documented in subclasses. They should appear in
ol.geom.Geometry in the API docs as well.
2014-07-07 08:29:56 -04: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
Tim Schaub
9c6cb9db6d
Use goog.dom.fullscreen
2014-07-06 16:03:09 -06:00
Tim Schaub
1f88015db0
Add ol.proj.transformExtent function
2014-07-06 13:22:47 -06:00
Éric Lemoine
4e0d48386b
Use inheritDoc for ol.source.XYZ#setTileUrlFunction
2014-07-06 11:49:19 +02:00
Tim Schaub
d99a61545c
Use @observable annotation instead of @todo observable
2014-07-05 16:16:44 -04:00
Tim Schaub
fd659d63e9
Remove @todo stability annotation (this has no effect)
2014-07-05 16:16:34 -04:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Éric Lemoine
0666dee697
GeoJSON format needs to implement readProjectionFromObject
2014-07-04 13:51:27 +02:00
Éric Lemoine
18462a2af3
Merge pull request #2229 from tsauerwein/stable
...
Add stable tags to interactions
2014-07-04 06:31:13 +02:00
Éric Lemoine
76e1ca67a4
Merge pull request #2269 from probins/select
...
Improve docs for interaction.Select
2014-07-03 17:07:03 +02:00
tsauerwein
b8ab6fd771
Add stable tags to interactions
2014-07-03 14:19:16 +02:00
Paul Spencer
abe953e4e5
Use @classdesc notation (continuing #2178 )
2014-07-03 08:09:25 -04:00
Paul Spencer
b0a1444da0
Merge pull request #2290 from pagameba/typo
...
Fix spelling of GEOMETRY_RENDERERS_
2014-07-03 07:33:57 -04:00
Peter Robins
49aabda1b9
Improve docs for interaction.Select
2014-07-03 04:54:09 -04:00
Éric Lemoine
ef1414c508
Minor apidoc change
2014-07-03 09:14:41 +02:00
Éric Lemoine
355ca67b86
Add ol.events.condition.click
2014-07-03 09:14:41 +02:00
Éric Lemoine
67c2e46c19
Add ol.events.condition.mouseMove
2014-07-03 09:14:41 +02:00
Paul Spencer
a93f7b8190
Fix spelling of GEOMETRY_RENDERERS_
2014-07-02 21:54:53 -04:00
Marc Jansen
700a0b15b3
Merge pull request #2278 from probins/control
...
Document custom controls
2014-07-02 18:52:34 +02:00
Marc Jansen
fdf0525c71
Merge pull request #2286 from probins/defines
...
Improve docs for define tag
2014-07-02 18:45:27 +02:00
Frédéric Junod
17bb8d8ca1
Merge pull request #2288 from fredj/latest-closure-library
...
Mark the color argument to ol.color.transform non-nullable
2014-07-02 17:44:15 +02:00
Tim Schaub
927513e1f0
Merge pull request #2284 from tschaub/classes
...
Use `goog.dom.classlist` functions instead of the deprecated `goog.dom.classes` functions.
2014-07-02 10:18:28 -04:00
Frederic Junod
54ea8dc52b
Mark the color argument to ol.color.transform non-nullable
...
Inside this function goog.vec.Mat4.multVec3 is called and and its
arguments must not be null.
2014-07-02 14:43:29 +02:00
Peter Robins
2e1957c42c
Improve docs for define tag
2014-07-02 08:22:23 -04:00
tsauerwein
97e59f0976
Export ol.format.GeoJSON.writeGeometry()
2014-07-02 13:48:51 +02:00