Marc Jansen
f477fd8ced
Allow multi* geometries in Collections/collections.
2012-06-25 23:19:25 +02:00
Marc Jansen
6d84d4d3a1
Add geom/MultiLineString classes and tests.
2012-06-25 21:36:17 +02:00
Marc Jansen
be9448457d
Test & improve the getCentroid/centroid method of collections
2012-06-22 18:24:53 +02:00
Marc Jansen
396875c719
A centroid method for LineStrings
2012-06-22 16:26:19 +02:00
Marc Jansen
483c431e1b
A centroid method vor Collections
2012-06-22 16:26:19 +02:00
Marc Jansen
e23b119059
Whitespace changes only.
2012-06-22 16:26:19 +02:00
Marc Jansen
09d7f15fb2
Give points a getCentroid/centroid method.
2012-06-22 16:26:19 +02:00
Marc Jansen
1456e234e2
Whitespace changes only.
2012-06-22 16:26:19 +02:00
Marc Jansen
5a3dad9326
Add a basic geometry interface
2012-06-22 16:26:19 +02:00
Mike Adair
368bb28671
initial version of popups
2012-06-22 08:13:34 -04:00
Éric Lemoine
e78b990f52
fix ol.geom.geometry api tests
2012-06-22 13:57:43 +02:00
Marc Jansen
f143f32a6f
Use ol.error instead of throwing directly.
2012-06-22 12:37:10 +02:00
Marc Jansen
67ce7afe67
Export the Collection constructor.
2012-06-22 09:45:05 +02:00
Marc Jansen
bed71db109
Export the LineString constructor.
2012-06-22 09:44:21 +02:00
Marc Jansen
9a533aeb7d
Export the MultiPoint constructor.
2012-06-22 09:41:37 +02:00
Marc Jansen
8f90db58dc
MultiPoints shall only contain points.
2012-06-21 18:23:37 +02:00
Marc Jansen
340caf2720
Collections cannot contain Collections.
...
By having both the constructor and the setComponents checking
a white- and a blacklist for allowed types, we ensure that no
Collections can be added through these methods to the list of
components.
2012-06-21 18:23:37 +02:00
Marc Jansen
ce49bb8876
Add LineString/linestring.
...
The inhertance of this class might change in the future.
2012-06-21 16:00:08 +02:00
Marc Jansen
745ae25b6b
Change the inhertance of MultiPoint/multipoint.
2012-06-21 16:00:08 +02:00
Marc Jansen
0374d1abc7
Add geom.Collection & geom.collection.
...
Also make MultiPoint and multipoint inherit from Collection/collection
respectively.
2012-06-21 16:00:08 +02:00
Marc Jansen
f85d6402e9
Add MultiPoint and multipoint.
2012-06-21 12:19:42 +02:00
Petr Pridal
5ed80bcf6c
Adding @export tags to functions missing it - for advanced compilation.
2012-06-20 18:37:56 +02:00
Marc Jansen
958e291545
Quoting properties for external use.
...
See also 1ac40021bb .
2012-06-20 17:57:27 +02:00
Marc Jansen
d933404df8
Make Points transformable.
2012-06-20 14:58:37 +02:00
Marc Jansen
aec8f953e5
Remove the mixin approach and give the Point class a projection.
2012-06-20 11:18:07 +02:00
Marc Jansen
450f8f7b74
First state of a geom package.
2012-06-19 18:21:21 +02:00