Commit Graph

55 Commits

Author SHA1 Message Date
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
Éric Lemoine 2e7d361f1e make the feature api tests pass in advanced mode 2012-06-22 12:50:06 +02:00
Éric Lemoine 2d50a35850 the API user does not know about UnreferencedBounds, and remove getResForZoom and getMaxRes from the map API 2012-06-22 12:34:15 +02:00
Tom Payne 3e15ce93bb Use ol.base.checkKeys to check keys 2012-06-22 11:58:03 +02:00
ahocevar fbcca9642c Use renderTo instead of el as method/option name. 2012-06-22 11:17:27 +02:00
Marc Jansen 3a40925a7d API point fixed (using ADVANCED compilation) 2012-06-22 09:36:58 +02:00
Petr Pridal 8ace8aee78 Added missing goog.require() 2012-06-22 01:43:09 +02:00
Éric Lemoine 9529db0151 throw an error if ol.map gets passed an unknown option 2012-06-21 20:16:11 +02:00
Tim Schaub 948e792ddd Bounds transforms. 2012-06-21 19:59:43 +02:00
Tim Schaub 6198df9381 Location transform in api. 2012-06-21 19:59:43 +02:00
ahocevar e9e5fd27dc The map now has a viewport and can render to a container. 2012-06-21 18:56:48 +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
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