Andreas Hocevar
2230349b52
Merge pull request #2498 from ahocevar/custom-def
...
Unprecise transormation used in example
2014-08-07 09:01:34 +02:00
Andreas Hocevar
52ee406938
Use definition with 7-parameter transform for EPSG:21781
2014-08-06 23:26:26 +02:00
Frédéric Junod
a1e33eabc5
Merge pull request #2499 from fredj/2294
...
Properly clear features in ol.source.ServerVector#clear
2014-08-06 10:42:31 +02:00
Tim Schaub
1864e03873
Merge pull request #2496 from probins/linear
...
Correct wrong docs for LinearRing.
Closes #2495 .
2014-08-05 11:22:59 -06:00
Frédéric Junod
063532d509
Merge pull request #2455 from fredj/2455
...
Opacity of last layer is used in postcompose drawing
2014-08-05 17:18:57 +02:00
Frederic Junod
ae98ee8b4a
Restore context opacity after drawing layers
...
Closes #2455
2014-08-05 16:05:23 +02:00
Evgeny Ushkalov
af05b3d031
Properly clear features in ol.source.ServerVector#clear
2014-08-05 15:39:42 +02:00
Peter Robins
d3683fcab9
Correct wrong docs for LinearRing
2014-08-05 11:08:44 +00:00
Andreas Hocevar
1bd522d96f
Merge pull request #2481 from probins/styledoc
...
Improve docs for style
2014-08-05 12:01:19 +02:00
Peter Robins
bf3770a9da
Improve docs for style
2014-08-05 09:04:35 +00:00
Andreas Hocevar
9575396aad
Fix types in olx.js
2014-08-04 20:37:46 +02:00
Andreas Hocevar
53e12e7e47
Add typedefs for externs/olx.js contents
2014-08-04 20:37:46 +02:00
Andreas Hocevar
f0242a76c4
Include typedefs and types from olx.js
2014-08-04 20:37:46 +02:00
Andreas Hocevar
58f857bbb6
Test whether externs/olx.js is newer than build/info.json
2014-08-04 20:37:45 +02:00
Andreas Hocevar
33a627b7ce
Include externs/olx.js in the info generation
2014-08-04 20:37:45 +02:00
Andreas Hocevar
a40170feb7
Include typedefs in externs
2014-08-04 20:37:45 +02:00
Andreas Hocevar
b2059b85d2
Add data for typedefs to info.json
2014-08-04 20:37:45 +02:00
Andreas Hocevar
26dae36a0b
Extract types in a separate function
2014-08-04 20:37:45 +02:00
Andreas Hocevar
46b74cedf8
Only add object type definition when there is no constructor
2014-08-04 20:37:44 +02:00
Andreas Hocevar
94e2911697
Fix function type so the function is optional, not the return value
2014-08-04 20:37:44 +02:00
Andreas Hocevar
9517c0d433
Use 'Function' type instead of 'function'
2014-08-04 20:37:44 +02:00
Andreas Hocevar
66bde546c0
Avoid duplicate constructors
2014-08-04 20:37:44 +02:00
Andreas Hocevar
1e79acac20
Build externs file from info.json
...
This change adds all information that is needed to generate the externs
file to build/info.json, so tasks/generate-externs.js no longer needs
to spawn JSDoc.
2014-08-04 20:37:44 +02:00
Andreas Hocevar
0d86e4a237
Document the generate-externs.js task
2014-08-04 20:37:44 +02:00
Andreas Hocevar
4cb60feb40
Add generate-externs task to create build/ol-externs.js
2014-08-04 20:37:43 +02:00
Andreas Hocevar
0b622ba5e7
Add JSDoc configuration to generate ol3 externs
2014-08-04 20:37:43 +02:00
Andreas Hocevar
8e6711835c
Move plugins one level up so they can be used by other configurations
2014-08-04 20:37:43 +02:00
Éric Lemoine
b6fa8908e5
Merge pull request #2494 from probins/geom
...
Document LinearRing as abstract class
2014-08-04 12:22:59 +02:00
Éric Lemoine
28c3993088
Merge pull request #2493 from elemoine/jquery-externs
...
Update jquery externs file
2014-08-04 12:06:04 +02:00
Peter Robins
652fcede22
Document LinearRing as abstract class
2014-08-04 10:05:01 +00:00
Éric Lemoine
41e5aa07bd
Update jquery externs file
2014-08-04 11:07:17 +02:00
Andreas Hocevar
b88cb727c9
Merge pull request #2492 from probins/length
...
Document that geom.getArea/Length on projected plane
2014-08-04 10:40:38 +02:00
Peter Robins
c86569684e
Document that geom.getArea/Length on projected plane
2014-08-04 08:02:01 +00:00
Frédéric Junod
7de98d8794
Merge pull request #2433 from fredj/collection
...
Templatize ol.Collection
2014-08-02 09:47:34 +02:00
Frédéric Junod
acf623f853
Merge pull request #2483 from fredj/view.projection
...
Remove projection from ol.View observable properties
2014-08-01 16:01:10 +02:00
Andreas Hocevar
65346d716d
Add GeoJSON tests for write transforms
2014-07-31 17:55:43 +02:00
Andreas Hocevar
c4fdbacc12
Make options complete in ol.format.Feature already
2014-07-31 17:55:43 +02:00
Andreas Hocevar
4825cba48a
Implement ReadOptions and WriteOptions for ol.format.GML
2014-07-31 17:55:43 +02:00
Andreas Hocevar
da0988f5f4
Add ReadOptions and WriteOptions for XML formats
2014-07-31 17:54:41 +02:00
Andreas Hocevar
b8a834b437
Add transform tests for GeoJSON readFeatures
2014-07-31 17:54:41 +02:00
Andreas Hocevar
46bba1fa3c
Get projection from data if dataProjection is not specified
2014-07-31 17:54:41 +02:00
Andreas Hocevar
ee5f85df9f
Add transformGeometry function to avoid repeated code
2014-07-31 17:54:41 +02:00
Andreas Hocevar
68d572e062
Better descriptions of options
2014-07-31 17:54:41 +02:00
Andreas Hocevar
464eb3ccf5
Make projection retrieval consistent
2014-07-31 17:54:41 +02:00
Andreas Hocevar
4c4a335448
Implement write transforms for ol.format.GeoJSON
2014-07-31 17:54:41 +02:00
Andreas Hocevar
8aa799850d
Add write transform capability to ol.format.JSONFeature
2014-07-31 17:51:25 +02:00
Andreas Hocevar
b0d95b326a
Introduce WriteOptions for feature formats
2014-07-31 17:51:25 +02:00
Andreas Hocevar
3245b8c6af
Update read* signatures in ol.format.JSONFeature to use options
2014-07-31 17:51:25 +02:00
Andreas Hocevar
0ea55b7f27
Use a ReadFeatures object instead of sourceProjection/targetProjection
2014-07-31 17:51:25 +02:00
Éric Lemoine
225791c969
Add target/sourceProjection to ol.format.GeoJSON#read*
2014-07-31 17:51:24 +02:00