Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine bfb6d0ca87 Missing var's in a test file 2013-01-31 11:01:06 +01:00
Éric Lemoine b6ed5f2164 Use namespaces for tests
With this commit test files provide namespaces (using goog.provide). This fixes the issue reported by @bartvde where goog objects cannot be used in Jasmine "describe" functions. It also frees us from having to add script tags for the test files in test/ol.html.
2013-01-31 10:18:21 +01:00
Éric Lemoine 713828d953 Change a comma to a semi-colon (thanks @bbinet) 2013-01-29 10:33:35 +01:00
Éric Lemoine 8713e84821 Change class names in DOM renderer 2013-01-29 10:24:25 +01:00
Éric Lemoine 1d2551dbcb Do not draw image if image is null 2013-01-28 12:41:46 +01:00
Éric Lemoine 98b264e8ce Add comment 2013-01-24 22:31:57 +01:00
Éric Lemoine 80b38e608b No more need for listener keys array 2013-01-24 22:31:53 +01:00
Éric Lemoine 4a64837ba1 Make map handle background color changes 2013-01-24 22:31:08 +01:00
Éric Lemoine 2a28b7c699 Add comment 2013-01-24 22:31:08 +01:00
Éric Lemoine 15898b559b Make map handle size changes 2013-01-24 22:31:08 +01:00
Éric Lemoine 71a462cd54 Make map handle view changes
With the frameState stuff the map renderer need not listen to view changes. The map renderer receives orders from the map. These orders are renderFrame_ calls with frameState objects representing the current state.
2013-01-24 22:31:06 +01:00
Éric Lemoine dc9fb06185 Remove ref to userProjection
The wms-custom-proj example sets a userProjection in the map while userProjection is gone for now. It was removed in 927cffb2.
2013-01-24 10:32:32 +01:00
Éric Lemoine d04b2bb2bd Fix typo 2013-01-24 10:28:28 +01:00
Éric Lemoine 8d56b5f261 Update readme.md 2013-01-22 08:39:37 +01:00
Éric Lemoine c6a8e5ef72 Remove unused Jasmine matchers 2013-01-21 12:29:31 +01:00
Éric Lemoine 7f38c1683e Remove unused TileQueue clear method 2013-01-20 15:15:13 +01:00
Éric Lemoine c0c9cdef15 New tile queue implementation (heapify-powered) 2013-01-18 21:02:09 +01:00
Éric Lemoine 0c1116fe95 Update Bing maps key 2013-01-16 12:31:25 +01:00
Éric Lemoine 927cffb2b7 Add view abstraction 2013-01-09 14:03:16 +01:00
Éric Lemoine b386c38111 Demonstrating user-controlled animation
Inspired from 840ffb6
2013-01-03 12:23:50 +01:00
Éric Lemoine 51636ea0d1 Only appending tiles to the dom after load
A port of f46cdb4 and 4242ef40 from animation-frame branch.
2013-01-03 12:23:50 +01:00
Éric Lemoine 21f3f90ca6 Adjust hue, sat, and constrast in webgl renderer 2012-12-12 15:53:56 +01:00
Éric Lemoine 7b88f44a41 Keep track of tiles we're already listening on 2012-11-11 21:31:12 +01:00
Éric Lemoine 826505c6d4 Register a CHANGE listener even if tile is loading
This fixes an issue easily reproducible in the side-by-side example where the DOM renderer is not notified when tiles loaded by the WebGL renderer have been received.
2012-11-08 21:20:26 +01:00
Éric Lemoine 90e379782c Only appending tiles to the dom after load
A port of f46cdb4 to the current master. The tilelayer renderer can be simplified a bit by waiting to append tiles to the dom until they have loaded. Refs #84 and #33.
2012-11-08 20:03:07 +01:00
Éric Lemoine dd014a3b79 Avoid unneeded parameter concatenations (thanks @twpayne, refs #85) 2012-11-04 19:31:20 +01:00
Éric Lemoine 529c3e8b6a Add ol.TileUrlFunction.createBboxParam 2012-11-03 22:55:54 +01:00
Éric Lemoine b2c71ed269 Add tests showing more usages of createFromTemplate 2012-11-03 00:43:46 +01:00
Éric Lemoine 4a604940a2 The wms-custom-proj example requires more exports 2012-11-02 12:06:24 +01:00
Éric Lemoine 576c54eb61 Move object literal exports to their own file 2012-10-24 17:05:33 +02:00
Éric Lemoine 0ae3f8806e Remove examples/index.js (refs #67) 2012-10-21 21:24:15 +02:00
Éric Lemoine 7ce79207e3 Better design for the full-screen examples
The text div is now placed in the top-right corner of the page. This is to avoid overlapping with the attribution div. On screens that are smaller that 600px the text div is not deplayed at all.
2012-10-21 21:11:27 +02:00
Éric Lemoine d81b232587 Granularize the exports
This commit decomposes exports.txt into multiple, per-component, export files.  This will be required for custom builds;
2012-10-20 22:31:33 +02:00
Éric Lemoine 1e0b43dd00 Better HTML and CSS for the examples
And give the h1 tags a "title" id. The exampleparser.py script uses that as the example title in the index page.
2012-10-20 21:43:34 +02:00
Éric Lemoine b000c052e3 Improve layout of examples index page 2012-10-20 21:43:05 +02:00
Éric Lemoine 3e3b8d6f8b Use OpenLayers 2 examples index 2012-10-19 21:56:59 +02:00
Éric Lemoine 1ac188c906 Add a hostexamples target to Makefile
This target copies the ol built files, examples, and loader script to the build/gh-pages directory, making it possible to host our examples on gh-pages.
2012-10-16 21:56:45 +02:00
Éric Lemoine 4b6ef3c046 Better comments in loader.js 2012-10-16 21:56:35 +02:00
Éric Lemoine 190e21f796 The loader adds link tag for ol.css 2012-10-16 21:55:12 +02:00
Éric Lemoine f4b20175cc Add a specific loader for hosted examples
This loader is responsible for adding ol.js, ol.css and the example-specific js script to the document. This is the loader used in examples when hosted.
2012-10-16 21:51:48 +02:00
Éric Lemoine 1f7ecd2529 Make linter happy 2012-10-16 21:50:20 +02:00
Éric Lemoine 5c6b5cb495 Add BingMaps exports 2012-10-16 21:45:52 +02:00
Éric Lemoine f49f370857 Make linter happy 2012-10-11 18:09:18 +02:00
Éric Lemoine 9c48dff286 Add tests for ol.Map.prototype.disposeInternal 2012-10-11 17:53:35 +02:00
Éric Lemoine 2a76a23b6f Add tests for ol.control.Control 2012-10-11 17:46:47 +02:00
Éric Lemoine 0b411ad69c Have disposeInternal call parent 2012-10-11 17:46:22 +02:00
Éric Lemoine fbc810264b goog.array.forEach does not accept null values 2012-10-10 20:25:53 +02:00
Éric Lemoine 655e04368b disposeInternal implementation for ol.control.Control 2012-10-10 20:24:32 +02:00
Éric Lemoine dc491f9114 disposeInternal implementation for ol.Map 2012-10-10 20:24:18 +02:00
Éric Lemoine 936a769869 Fix typo in ShiftDragZoom (caught by @ahocevar) 2012-09-29 13:47:00 +02:00
Éric Lemoine 9d8155cf9f Move git-update-ghpages from tools to bin 2012-09-28 16:31:45 +02:00
Éric Lemoine 6cf964b3ae Remove old build files 2012-09-28 16:30:06 +02:00
Éric Lemoine 3aabf117bc CONTRIBUTING.md now mentions the precommit target 2012-09-28 16:23:51 +02:00
Éric Lemoine 82406886a2 Add a CONTRIBUTING.md file 2012-09-28 16:19:07 +02:00
Éric Lemoine 8fd77ef330 ol.MapExport takes maxResolution and friends into account 2012-09-28 15:32:00 +02:00
Éric Lemoine 91d582e76e export ol.Projection.transformWithCodes 2012-09-28 15:29:12 +02:00
Éric Lemoine 7a296a273b Export the ol.overlay.Overlay symbol 2012-09-28 15:21:23 +02:00
Éric Lemoine 9af392e217 Change loader.js usage example 2012-09-28 14:25:21 +02:00
Éric Lemoine f60af3910f Explain how to add examples in readme.md 2012-09-28 14:21:16 +02:00
Éric Lemoine 5615eabf66 Update readme.md 2012-09-28 14:02:57 +02:00
Éric Lemoine 896f5203db Change examples directory names to "examples" 2012-09-28 14:01:51 +02:00
Éric Lemoine 310d5bfeaa The serve target needs demos as its source 2012-09-28 13:54:51 +02:00
Éric Lemoine 11915549a3 Make make lint ignore demos/*.combined.js file 2012-09-28 13:52:55 +02:00
Éric Lemoine e3cef24f5f Change examples/demos structure 2012-09-28 13:33:05 +02:00
Éric Lemoine 158e4b1356 Add a readme file to the tools dir 2012-09-28 11:30:32 +02:00
Éric Lemoine e93bb6a39b Add a gh-pages target to Makefile 2012-09-28 11:26:00 +02:00
Éric Lemoine a347454aa3 JSDoc output goes to build/<branch_name>/apidoc 2012-09-28 11:26:00 +02:00
Éric Lemoine e27d0d9dc1 Add a tool to create/update the gh-pages branche 2012-09-28 11:26:00 +02:00
Éric Lemoine a0f747379b Make Travis also build the doc 2012-09-27 18:01:31 +02:00
Éric Lemoine 676a95efd8 Merge remote-tracking branch 'upstream/master' 2012-09-27 17:57:44 +02:00
Éric Lemoine d99a0c164e Make functions @protected or @private
This also makes jsdoc3 happy along the way.
2012-09-27 17:56:29 +02:00
Éric Lemoine a3d888a57b Add FIXME to MapOptions 2012-09-27 15:59:30 +02:00
Éric Lemoine 0535a31bc6 Add zoomDelta option to MapOptions 2012-09-27 15:48:04 +02:00
Éric Lemoine 4f116c2e5b Fix default value of numZoomLevels 2012-09-27 15:46:45 +02:00
Éric Lemoine b8356f5e2e Fix bad copy and paste in mapoptions tests 2012-09-27 15:40:58 +02:00
Éric Lemoine d2f9ebae41 Add mouseWheelZoomDelta option to MapOptions 2012-09-27 15:16:14 +02:00
Éric Lemoine dd425ff922 Export new map options 2012-09-27 14:10:05 +02:00
Éric Lemoine d61a117787 Remove CenterConstraint entirely 2012-09-27 13:44:24 +02:00
Éric Lemoine bd0f3d2015 Zoom control does not know about the constraints 2012-09-27 13:42:30 +02:00
Éric Lemoine 87189293b5 Make the resolution constraint configurable through map options 2012-09-27 13:36:57 +02:00
Éric Lemoine cf20fd3e49 Replace map.zoomIn and map.zoomOut by map.zoom(delta) 2012-09-27 09:37:19 +02:00
Éric Lemoine 25e00e5d74 Add FIXME to control/zoom.js 2012-09-27 00:10:54 +02:00
Éric Lemoine 79166dc1d6 Constraint objects moved to ol namespace from ol.interaction namespace 2012-09-27 00:10:54 +02:00
Éric Lemoine b6bb05bf76 Refactoring to set the constraints to the map 2012-09-27 00:09:29 +02:00
Éric Lemoine 019bc09cea Update readme.md 2012-09-25 16:41:54 +02:00
Éric Lemoine 745c906846 Run Travis builds for any branch 2012-09-25 16:23:42 +02:00
Éric Lemoine 95d2cac09f Add Travis config file 2012-09-25 16:07:07 +02:00
Éric Lemoine 4a6b13ed39 Add a download plovr target to Makefile 2012-09-25 16:06:37 +02:00
Éric Lemoine 0130915f00 Makefile - clean target adjustments 2012-09-25 15:38:09 +02:00
Éric Lemoine e3de55e7cb Makefile - serve target needs build/ol-all.js as a source 2012-09-25 15:37:13 +02:00
Éric Lemoine 629687586f Simplify and clean up the test page 2012-09-25 13:53:11 +02:00
Éric Lemoine b4416e71c4 better nosier command 2012-09-25 12:04:57 +02:00
Éric Lemoine 3e01ca97c3 remove the jsunit tests 2012-09-25 12:03:36 +02:00
Éric Lemoine 89f7e44478 Jasmine tests for ol.Collection 2012-09-25 12:02:28 +02:00
Éric Lemoine 116531c275 fix typo in an ol.Rectangle test 2012-09-25 10:42:07 +02:00
Éric Lemoine db904dae5c Jasmine tests for ol.Rectangle 2012-09-25 10:42:07 +02:00
Éric Lemoine 589c2a8505 Jasmine tests for ol.TileRange 2012-09-25 10:22:36 +02:00
Éric Lemoine b249b0aaa9 Jasmine tests for ol.tilestore.XYZ 2012-09-25 10:13:41 +02:00
Éric Lemoine 56e48911bf Jasmine tests for ol.TileGrid 2012-09-25 10:03:27 +02:00
Éric Lemoine 27d3a88413 add FIXMEs for test runner 2012-09-25 00:47:02 +02:00