Commit Graph

71 Commits

Author SHA1 Message Date
ahocevar 8541490f53 Be more explicit about object properties to get rid of warnings. 2012-06-26 09:56:50 +02:00
Marc Jansen 25202cae6d Add a LineStringLike typedef. 2012-06-25 22:46:11 +02:00
Marc Jansen 7eef78ed4c Add geom/multilinestring classes and tests. 2012-06-25 22:44:42 +02:00
ahocevar fdfccb7a82 Fixing type of maxResolution. 2012-06-24 11:40:18 +02:00
Petr Pridal 587512cac8 Introduced "ol.API" @define which will allow in future to compile HPI apps with the OL. Discussed in ol3-sprint mailing-list. 2012-06-23 23:06:45 +02:00
Éric Lemoine b615eb94b7 add a ol.layer.wms factory 2012-06-23 21:53:45 +02:00
Éric Lemoine 0b36e10f8f [ol.map] option name maxRes changed to maxResolution (discussed in cdd9439) 2012-06-23 21:27:39 +02:00
Éric Lemoine c7e799ebf4 [ol.popup] make the API tests pass in advanced mode 2012-06-23 21:20:15 +02:00
Tim Schaub 48704cce2f Make sure to set a projection on user center.
Only in the API do we allow setting the map center without a projection.  This is all handled in the center getter/setter.
2012-06-23 15:40:43 +02:00
ahocevar cdd9439bbd Consistency: get/setMaxResolution instead of get/setMaxRes. 2012-06-23 09:10:01 +02:00
ahocevar a6069bb78e Center tranformation in the api; moveByPx implemented. 2012-06-22 20:49:58 +02:00
Tim Schaub bc0614d3ee Render last. 2012-06-22 20:08:44 +02:00
Marc Jansen a235613238 dangling whitespace 2012-06-22 17:25:39 +02:00
Marc Jansen 73e07df544 Give geometrues a centroid method. 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
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