Tom Payne
af872e25c3
Remove incorrect property export
2012-10-26 11:24:25 +02:00
Tom Payne
41c6c2eff3
Merge pull request #72 from twpayne/source-xyz-projection
...
Add projection option to ol.source.XYZ
2012-10-25 23:53:03 -07:00
Tom Payne
e7d5022dc1
Add projection option to ol.source.XYZ
2012-10-25 18:48:24 +02:00
Éric Lemoine
49f717eae6
Merge pull request #69 from elemoine/exports-files
...
Granularize the exports
2012-10-24 13:52:56 -07:00
Éric Lemoine
576c54eb61
Move object literal exports to their own file
2012-10-24 17:05:33 +02:00
Tom Payne
92b13b36d9
Prevent default in double click zoom (refs #70 )
2012-10-24 16:30:44 +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
Tom Payne
ee1d1fa3e7
Fold ol.CoordinateFormat into ol.Coordinate
2012-10-18 14:22:23 +02:00
Tom Payne
860b4407b7
Add ol.Extent.get{Bottom,Top}{Left,Right}
2012-10-18 13:49:10 +02:00
Tim Schaub
eef4eb0eea
Merge pull request #61 from twpayne/z-sort-in-dom-renderer
...
Z sort in dom renderer
2012-10-17 21:24:40 -07:00
Tom Payne
a82e523f6b
Try multiple context ids to get a WebGL context
2012-10-17 17:36:07 +02:00
Tom Payne
5011123228
Use ol.webgl.getContext is WebGL support test
2012-10-17 17:27:11 +02:00
Tom Payne
8cb28a7217
Move WebGL support test into ol.webgl
2012-10-17 17:25:37 +02:00
Tom Payne
1d40b64db1
Move WebGL context creation into ol.webgl
2012-10-17 17:23:30 +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
Tom Payne
3e6d374859
Ensure z as object keys are sorted as numbers
2012-10-16 11:04:56 +02:00
Tom Payne
ed197f3cfe
Revert "Two lessons learned"
...
This reverts commit f8462460bf .
2012-10-16 10:59:53 +02:00
Tom Payne
f9302ab030
Export goog.require as goog.nullFunction
2012-10-15 19:12:06 +02:00
Tom Payne
0392d898c3
Merge pull request #56 from twpayne/interaction-conditions
...
Abstract out key conditions for interactions, fixes #51 , see also #54
2012-10-12 11:04:12 -07: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
Tom Payne
936584ceaa
Use goog.array.map for browser compatability, thanks @AugustusKling
2012-10-10 13:49:01 +02:00
Tom Payne
ac8dd5db98
Fix sort problem identified by @tschaub in f8462460bf
2012-10-10 10:27:42 +02:00
Tim Schaub
f8462460bf
Two lessons learned
...
Telling the compiler that object keys are numeric causes more harm
than good (see === comparison that could never be met though the
compiler didn't catch it).
Never use goog functions without reading the source first. The
goog.array.sort method does nothing special sorting numeric strings
(so the zs array might be ['1', '10', '2'] here).
2012-10-09 23:31:38 -06:00
Tim Schaub
ce1b99cb56
Remove alt-z tiles when all tiles load at target z
...
The changes in a14a15159f made it so tiles
at alternate resolutions were not pruned when target tiles finished loading.
2012-10-09 22:56:37 -06:00
Tom Payne
8df0cfb9d9
Abstract out key conditions for interactions, fixes #51 , see also #54
2012-10-08 12:55:20 +02:00
Tim Schaub
a14a15159f
Simpler and more thorough tile pruning
...
The render method always generates a map of all tiles that should be drawn
(called tilesToDrawByZ). This includes tiles at alternate resolutions, tiles
still loading, and tiles previously rendered. At the end of the render
sequence we can simply remove all previously rendered tiles that aren't in
tilesToDrawByZ. This provides an alternate solution to the problem described
in #53 and more.
2012-10-08 00:41:21 -06:00
Tim Schaub
2c2d40a53c
Remove tiles outside rendered extent
...
To avoid having misplaced at alternate resolutions while zooming, all tiles
outside the rendered extent need to be removed from the dom (closes #53 ).
2012-10-07 23:47:47 -06:00
Tim Schaub
d6173a5aac
Removing unused code
2012-10-07 22:57:09 -06:00
Tom Payne
9d253ab6bb
Refactor exports and externs
2012-10-04 15:11:26 +02:00
Tom Payne
d35df1d53b
More detailed texture upload logging
2012-10-04 11:38:21 +02:00
Tom Payne
21ab556d2f
Cope with layers being undefined
2012-10-04 11:38:21 +02:00
Frederic Junod
c38889955c
Use protocol-relative URL for Bing metadata.
...
The [URI standard](http://tools.ietf.org/html/rfc3986#section-4.2 )
allows for URI without a scheme. Where http is used to load the app,
using a schemeless URL for the Bing metadata loads a script using http
- and the same goes for https.
2012-10-04 09:16:30 +02:00
Tom Payne
a95e9b9c8b
Avoid unecessary style changes in attribution control
2012-10-03 18:51:33 +02:00
Frederic Junod
e700ed99be
Travese the interaction array in reverse order.
...
The interactions added via getInteractions().push(...) are evaluated
first.
2012-10-03 16:52:38 +02:00
Frederic Junod
488a8224c3
Remove interactions from MapProperty
2012-10-03 11:39:04 +02:00
Tom Payne
5e8747d37c
Add missing require
2012-09-30 18:28:27 +02:00
Tom Payne
5a51087526
Re-order declarations for clarity, thanks @elemoine
2012-09-30 15:18:16 +02:00
Tim Schaub
c120c03fb1
Properly maintain offset and origin while rotating
...
This brings equivalent behavior when rotating in both renderers. Previously, offsets were maintained with style top/left. Now a single transform handles the translation and rotation. The scale3d function removes the separation between tiles. The next step for the DOM renderer is to scale in this same transform.
2012-09-29 17:55:28 -06:00
Tim Schaub
0e27f31785
Avoid undefined rotation
2012-09-29 17:47:44 -06:00
ahocevar
69859b415b
More MapBrowserEvent improvements
...
Now we use the browser's native dblclick event on pointer
devices, and we fire dragstart and dragend only if we're really
dragging, and not on mousedown/touchstart and mouseup/touchend.
2012-09-29 18:54:29 +02:00
ahocevar
877971185f
MapBrowserEvent simplifications and improvements
...
We don't register two listeners for mouseup and touchend any
more. And instead of using the native click event on touch
devices, we react on touchend, to make clicking more responsive.
On pointer devices, the underlying native event of a dblclick
event is now a click event.
2012-09-29 16:51:08 +02:00
Tom Payne
24771c73a0
Export layer options type
2012-09-29 15:36:17 +02:00
Tom Payne
8387f74a7b
Generate exports automatically from src/ol/exports.txt
2012-09-29 15:17:40 +02:00
Tom Payne
c7c93ce099
Consistent nomenclature
2012-09-29 14:42:12 +02:00
Tom Payne
1a5375fa51
Move target container in to map options
2012-09-29 13:58:15 +02:00
Éric Lemoine
936a769869
Fix typo in ShiftDragZoom (caught by @ahocevar)
2012-09-29 13:47:00 +02:00