Commit Graph

3448 Commits

Author SHA1 Message Date
Tim Schaub
36e2e51899 Only create a frame state if the map has non-zero size 2014-01-09 18:23:53 -07:00
Frederic Junod
80cae77161 Add 'const' annotation to ol.MapBrowserEvent.browserEvent 2014-01-09 10:32:30 +01:00
Frederic Junod
9f79d33486 Create 'type' annotation for 'const' variables
From https://developers.google.com/closure/compiler/docs/js-for-compiler:
  "The type declaration and additional comment are optional. If you
  provide a type declaration, put the declaration on a separate line."
2014-01-09 09:53:20 +01:00
Bart van den Eijnden
73fcff641e Merge pull request #1486 from bartvde/mapquest-hybrid
add hybrid layer to ol.source.MapQuest (r=@twpayne)
2014-01-08 05:15:05 -08:00
Bart van den Eijnden
473a11c697 use a single ol.source.MapQuest and use a const for the tile attribution 2014-01-08 13:23:47 +01:00
Bart van den Eijnden
1b48572c6e add ol.source.MapQuestHybrid and add all MapQuest types to the example 2014-01-08 12:05:19 +01:00
Frederic Junod
34e75b3d9d Add @struct annotation to ol.TileCoord class 2014-01-08 11:48:15 +01:00
Frederic Junod
8c61dbef8a Use ol.TileCoord.createOrUpdate function 2014-01-08 11:38:12 +01:00
Éric Lemoine
dacb747eb5 Source state of a layer doesn't depend on group 2014-01-07 13:03:31 +01:00
Frederic Junod
b4800dc637 Fix indentation in commments 2014-01-06 16:06:47 +01:00
Tom Payne
c599ceb43d Merge pull request #1458 from Intermedix/bug-insert-valueExtent
Fix bug in ol.structs.RBush#update
2014-01-04 05:46:41 -08:00
Austin Hyde
6ea1482ecf Fix issue with valueExtent_ being cleared while updating extents, but never being repopulated 2014-01-03 15:54:26 -05:00
Tom Payne
c6a1967cce Move layer.jsdoc into src/ol/layer 2014-01-03 14:55:02 +01:00
Tom Payne
da396039ce Move proj.exports and proj.jsdoc into proj directory 2014-01-03 14:55:02 +01:00
Tom Payne
46267a9059 Use toString() instead of + '' 2014-01-03 14:55:02 +01:00
Tom Payne
94c22055be Merge pull request #1394 from twpayne/zoomify
Zoomify (updated)
2014-01-02 09:19:53 -08:00
Tom Payne
4f312f65f0 Merge pull request #1451 from twpayne/get-content-box-size
Use goog.style.getContentBoxSize to calculate map size
2014-01-02 08:44:30 -08:00
Tom Payne
9ea44d10ce Use goog.style.getContentBoxSize to calculate map size
This takes into account any border.
2014-01-02 16:49:09 +01:00
Éric Lemoine
78504831e6 Export ol.Observable
This is so on, un and friends appear in the api docs.
2014-01-02 16:40:43 +01:00
Tom Payne
588846fa44 Use tileClass option to ol.source.Zoomify 2014-01-02 15:53:22 +01:00
Tom Payne
c85fe457a7 Add tileClass option to ol.source.TileImage 2014-01-02 15:53:16 +01:00
Tom Payne
71b91cd16a Tidy up ol.source.Zoomify tile URL calculations 2014-01-02 15:26:55 +01:00
Tom Payne
94fa3fb211 Tidy up ol.source.Zoomify tile grid calculations 2014-01-02 15:26:55 +01:00
Tom Payne
36826d2e0b Remove unused variable 2014-01-02 15:26:55 +01:00
Tom Payne
b1da2c78f2 Refactor ol.source.Zoomify to use a private tile class 2014-01-02 15:26:55 +01:00
Tom Payne
34c85d8ade Make ol.source.TileImage#tileLoadFunction protected, not private 2014-01-02 13:01:46 +01:00
Tom Payne
4ad63725d9 Make ol.source.TileImage#crossOrigin protected, not private 2014-01-02 13:01:22 +01:00
Tom Payne
54d388f8fa Make ol.source.TileImage#tileCache protected, not private 2014-01-02 12:57:55 +01:00
Frederic Junod
ead127aaec Export ol.proj.Projection#getUnits
Fixes #1365
2013-12-21 09:23:43 +01:00
Tom Payne
30736fbe88 Don't attempt to fit views to empty extents 2013-12-20 16:41:53 +01:00
Tom Payne
484c5b2fe3 Fix bug in ol.structs.RBush#clear 2013-12-19 14:22:44 +01:00
Éric Lemoine
0795b47043 Merge pull request #1411 from elemoine/interaction-hint
Conditionally deregister touchend listener
2013-12-18 08:37:05 -08:00
Éric Lemoine
28738af844 Merge pull request #1395 from elemoine/exports
Fix exports (remove export_as hack)
2013-12-18 07:17:24 -08:00
Éric Lemoine
0e75e971d9 Conditionally deregister touchend listener 2013-12-18 15:55:11 +01:00
Éric Lemoine
9466101a47 Remove ol.renderer.webgl.SUPPORTED 2013-12-18 11:45:23 +01:00
Éric Lemoine
ee9f50911c Remove ol.renderer.dom.SUPPORTED 2013-12-18 11:45:13 +01:00
Éric Lemoine
fb32a167b3 Remove ol.renderer.canvas.SUPPORTED 2013-12-18 11:44:54 +01:00
Éric Lemoine
779ea26f81 No need for @type when using @const 2013-12-18 11:24:55 +01:00
Éric Lemoine
7fe684a6d4 HAS_WEBGL is false if ENABLE_WEBGL is false 2013-12-18 11:20:14 +01:00
Éric Lemoine
3df49423ad HAS_DOM is false if ENABLE_DOM is false 2013-12-18 11:20:14 +01:00
Éric Lemoine
5bb6dbfef3 HAS_CANVAS is false if ENABLE_CANVAS is false 2013-12-18 11:20:14 +01:00
Éric Lemoine
5520cc530d Move ol.ENABLE_[CANVAS|DOM|WEBGL] @define's to browserfeature.js 2013-12-18 11:20:14 +01:00
Éric Lemoine
a97e115100 Use ol.BrowserFeature.HAS_* in map.js 2013-12-18 11:20:14 +01:00
Éric Lemoine
c8038f7855 Add ol.BrowserFeature.HAS_DOM 2013-12-18 11:20:14 +01:00
Éric Lemoine
42a2f7aab9 Add ol.BrowserFeature.HAS_CANVAS 2013-12-18 11:20:14 +01:00
Éric Lemoine
b6ec5838f7 Add ol.BrowserFeature.HAS_GEOLOCATION 2013-12-18 11:20:14 +01:00
Éric Lemoine
62e8803287 Add ol.BrowserFeature.HAS_DEVICE_ORIENTATION 2013-12-18 11:20:14 +01:00
Éric Lemoine
79718151b7 Add ol.BrowserFeature.HAS_WEBGL 2013-12-18 11:20:13 +01:00
Éric Lemoine
73f24cf7b0 goog.require creates a namespace object already 2013-12-18 11:20:13 +01:00
Éric Lemoine
1b084dba06 Do not use export_as for interactiondefaults exports 2013-12-18 08:25:14 +01:00