Commit Graph

22 Commits

Author SHA1 Message Date
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
É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
Éric Lemoine
9529db0151 throw an error if ol.map gets passed an unknown option 2012-06-21 20:16:11 +02:00
ahocevar
e9e5fd27dc The map now has a viewport and can render to a container. 2012-06-21 18:56:48 +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
Petr Pridal
5ed80bcf6c Adding @export tags to functions missing it - for advanced compilation. 2012-06-20 18:37:56 +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
Mike Adair
2c7e308960 adding getMaxExtent and getMaxRes 2012-06-20 04:37:14 -04:00
Mike Adair
6ed79a3d36 add layers and resolutions array 2012-06-19 11:17:55 -04:00
Mike Adair
b0490ecdb6 initial set of tests running 2012-06-19 10:17:41 -04: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
Tom Payne
7358529c4e Map fixes. 2012-06-19 13:09:31 +02:00
Tom Payne
7958e02bd0 Add map user projection getter and setter. 2012-06-19 12:43:54 +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