Commit Graph

107 Commits

Author SHA1 Message Date
Éric Lemoine 0b36e10f8f [ol.map] option name maxRes changed to maxResolution (discussed in cdd9439) 2012-06-23 21:27:39 +02:00
Tim Schaub 2fcbce30bc For now, we require a projection on loc internally. 2012-06-23 19:59:49 +02:00
Tim Schaub bcc85b9dd7 Must set a projection before setting center. 2012-06-23 16:55:16 +02:00
Tim Schaub db2cbe07b7 Transforming coords before setting center.
The internal setCenter method can only be called with locations that have projections.  This method always transforms.
2012-06-23 16:42:51 +02:00
ahocevar 026b60826e Removing stub method, and use the real method in Popup. 2012-06-23 16:16:37 +02:00
ahocevar ad8568a259 New setCenterAndZoom and setZoom methods. 2012-06-23 16:16:37 +02:00
ahocevar abf4f41eab Check for renderer before calling methods on it. 2012-06-23 16:16:37 +02:00
ahocevar d391c65ac6 New pixel conversion and zoom/center related methods. 2012-06-23 14:21:37 +02:00
ahocevar cdd9439bbd Consistency: get/setMaxResolution instead of get/setMaxRes. 2012-06-23 09:10:01 +02:00
Tim Schaub 76d90428bd Pleasant zoom. 2012-06-23 03:32:27 +02:00
Tim Schaub ef0fd8da60 Pixels increase right and down. 2012-06-23 02:00:28 +02:00
ahocevar a6069bb78e Center tranformation in the api; moveByPx implemented. 2012-06-22 20:49:58 +02:00
Tim Schaub 5fa42e9b30 A map that zooms. 2012-06-22 20:46:34 +02:00
Tim Schaub 787f2ba979 Common method for conditionally rendering. 2012-06-22 20:37:29 +02:00
Tim Schaub b986395358 This is not doing what you think it is. 2012-06-22 20:25:26 +02:00
Tim Schaub af73489bd5 Create a renderer and draw when possible. 2012-06-22 20:08:44 +02:00
ahocevar c72f803038 Adding scroll sequence and scroll support for the Navigation control. 2012-06-22 19:51:35 +02:00
Mike Adair 264cc741ca Merge branch 'master' of github.com:openlayers/ol3 2012-06-22 11:26:25 -04:00
Mike Adair d8b527776a fixing compiler warning 2012-06-22 11:26:09 -04:00
ahocevar 0420d2efb9 Adding Zoom control.
Tests still missing.
2012-06-22 17:14:22 +02:00
Mike Adair e748d39680 Merge branch 'master' of github.com:openlayers/ol3 2012-06-22 10:53:17 -04:00
Mike Adair 2163d54323 adds autosizing and image loading listener 2012-06-22 10:52:58 -04:00
Petr Pridal 976239816e Merge branch 'master' of https://github.com/openlayers/ol3 2012-06-22 14:53:53 +02:00
Petr Pridal 6cfb942ff9 Fix the calls of .transform in internal code. It should be .doTransform. 2012-06-22 14:53:12 +02:00
Mike Adair fdfeaa3c44 Merge branch 'master' of github.com:openlayers/ol3 2012-06-22 06:52:22 -04: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
Mike Adair 89b3019cde return correct map overlay elem 2012-06-22 05:50:14 -04:00
ahocevar 4776b11658 Now the map also has overlay divs. 2012-06-21 19:40:04 +02:00
ahocevar 188615391d Using a map for controls also. 2012-06-21 19:33:33 +02:00
ahocevar 9bd507e9b8 Adding a map of sequence providers 2012-06-21 19:27:18 +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 81a55eb320 Finally fixing event sequences. 2012-06-21 17:26:23 +02:00
ahocevar 5b747cf7fd Temporarily removing Drag sequence. 2012-06-21 14:14:36 +02:00
ahocevar 6213e07f96 Navigation control with Drag sequence Dragger
This is totally unfinished, but tests pass, and it is only meant to give the map a Navigation control.
2012-06-21 14:08:50 +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
Petr Pridal 5ed80bcf6c Adding @export tags to functions missing it - for advanced compilation. 2012-06-20 18:37:56 +02:00
Mike Adair aa584e17e9 center returned in user projection 2012-06-20 09:02:20 -04:00
Mike Adair 00e25d3a62 fix warnings 2012-06-20 08:41:47 -04: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 27305925ff run fromdos on ol/Map.js 2012-06-20 11:21:29 +02:00
Mike Adair c657bdeeb6 remove debugger line 2012-06-20 05:00:48 -04:00
Mike Adair 2c7e308960 adding getMaxExtent and getMaxRes 2012-06-20 04:37:14 -04:00
Tim Schaub 408413ec92 Projection cannot be null. 2012-06-19 17:41:17 +02: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
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