Commit Graph

41 Commits

Author SHA1 Message Date
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
Mike Adair
f3ab95b051 change feature obj literal property names to match GeoJSON 2012-06-21 03:31:57 -04:00
Éric Lemoine
22bffd9d8b add an OSM layer constructor to the API 2012-06-21 08:46:23 +02:00
ahocevar
6ddda53a70 Initial port of Control.js and Navigation.js.
This also adds an Events instance to the map, so the Navigation control can register events on the map.

Tests still missing.
2012-06-20 23:21:44 +02:00
Mike Adair
4ea2fe3701 adding features 2012-06-20 13:33:20 -04:00
Tim Schaub
a4a6bc4db4 Typo in PointLike def. 2012-06-20 18:49:40 +02:00
Petr Pridal
5ed80bcf6c Adding @export tags to functions missing it - for advanced compilation. 2012-06-20 18:37:56 +02:00
Éric Lemoine
7413770a46 add an ol.layer.xyz factory 2012-06-20 18:09:10 +02:00
Tim Schaub
5eeb21c125 Disallow nowhere. 2012-06-20 16:11:41 +02:00
Marc Jansen
6b8cd1216f Easier getter/setter for geom.point. 2012-06-20 15:42:10 +02:00
Mike Adair
99b397bffc implement getMaxRes, getMaxExtent, getResForZoom 2012-06-20 08:29:43 -04:00
Éric Lemoine
e995ffea89 more "setters should not return this" changes + warning fixes 2012-06-20 11:21:29 +02:00
Éric Lemoine
487e61884e EPI setters no longer return this 2012-06-20 11:21:29 +02:00
Marc Jansen
aec8f953e5 Remove the mixin approach and give the Point class a projection. 2012-06-20 11:18:07 +02:00
Mike Adair
2c7e308960 adding getMaxExtent and getMaxRes 2012-06-20 04:37:14 -04:00
Éric Lemoine
4fcc00e39c move ol.Projection code and units methods to the api dir 2012-06-20 10:28:54 +02:00
Tim Schaub
b06a52888f Adding unreferenced bounds. 2012-06-20 00:11:06 +02:00
Marc Jansen
450f8f7b74 First state of a geom package. 2012-06-19 18:21:21 +02:00
Mike Adair
6ed79a3d36 add layers and resolutions array 2012-06-19 11:17:55 -04:00
Mike Adair
28955dc0b1 Merge branch 'three' of https://github.com/tschaub/openlayers into three 2012-06-19 10:18:21 -04:00
Mike Adair
b0490ecdb6 initial set of tests running 2012-06-19 10:17:41 -04:00
Tim Schaub
d69d56aab2 Avoiding warnings. 2012-06-19 15:54:13 +02:00
Tim Schaub
6f3b47709a No projection warnings. 2012-06-19 15:43:50 +02:00
Mike Adair
efcecc4c5f map initialization 2012-06-19 09:37:42 -04:00
Mike Adair
171c8522b3 intialization of Map again 2012-06-19 09:16:56 -04:00
Mike Adair
d990be61af Merge branch 'three' of https://github.com/tschaub/openlayers into three
Conflicts:
	src/api/loc.js
	src/api/map.js
	src/ol/Map.js
2012-06-19 09:04:04 -04:00
Mike Adair
82f204f30c map get/set methods 2012-06-19 08:06:08 -04:00
Tom Payne
116c26422e Loc fixes. 2012-06-19 13:09:31 +02:00
Tom Payne
7358529c4e Map fixes. 2012-06-19 13:09:31 +02:00
Tom Payne
f435bb1874 Bounds fixes. 2012-06-19 13:00:24 +02:00
Mike Adair
818ca7016a interim map test updates 2012-06-19 06:53:59 -04:00
Tom Payne
94e6146b8a Remove dead code. 2012-06-19 12:44:06 +02:00
Tom Payne
7958e02bd0 Add map user projection getter and setter. 2012-06-19 12:43:54 +02:00
Tom Payne
ef83910c3d Make more Loc tests pass. 2012-06-19 12:33:59 +02:00
Tom Payne
da7449454e Pass bounds spec. 2012-06-19 11:56:48 +02:00
Tim Schaub
77c07a500e A passing test. 2012-06-19 11:14:53 +02:00
Marc Jansen
b1e26fab1d change indentation. 2012-06-19 10:56:01 +02:00
Tim Schaub
90f33c587a Debugged. 2012-06-19 10:39:42 +02:00
Tim Schaub
56c6d69999 File shuffle. 2012-06-19 09:46:19 +02:00
Tim Schaub
f24b518f61 Small fixes. 2012-06-19 09:43:20 +02:00