Tim Schaub
857baaa7e6
Merge pull request #3575 from nd0ut/master
...
Check proj equivalence by code.
2015-04-17 13:55:29 -06:00
Bart van den Eijnden
560a45847f
No quotes needed around object keys
2015-04-17 18:36:17 +02:00
Bart van den Eijnden
6c4f2a4ce3
Document convert rings function and use GeometryType enums
2015-04-17 18:36:16 +02:00
Bart van den Eijnden
a438ffb280
Add full support for XYM and XYZM layouts
2015-04-17 18:36:16 +02:00
Bart van den Eijnden
db8c6ef1b4
Write support for Esri JSON
2015-04-17 18:36:16 +02:00
Bart van den Eijnden
93c524baa0
Esri JSON read support
2015-04-17 18:36:16 +02:00
Tim Schaub
3b1c33ded5
Remove unused ol.IS_HTTPS
2015-04-17 10:30:31 -06:00
Tim Schaub
b22f3c6829
Use HTTPS where available
2015-04-17 10:30:31 -06:00
Tim Schaub
0dfc2ce44f
Avoid protocol relative URLs
...
These fail to load in contexts where the "file protocol" is used (e.g. PhantomJS).
2015-04-17 10:30:31 -06:00
nd0ut
12e817e408
Check projections equivalence also by their code
...
Method ol.proj.equivalent used only reference equality check ===
That doesn't work for basic checks of two strongly equal projections
For example, `EPSG:4326` and `EPSG:4326`
In this case method searches similar proj in ol.proj.transforms_ mapping
And it finds it if proj is default and not custom
But in case of custom proj `EPSG:3413` it doesn't find it
2015-04-17 14:36:37 +03:00
Bart van den Eijnden
4306ecbb8d
Merge pull request #3573 from gberaudo/interaction_dispatch_order
...
Modify draw interaction dispatch order
2015-04-16 19:05:41 +02:00
Guillaume Beraudo
a468e8025a
Modify draw interaction dispatch order
...
When finishing drawing, this PR dispatches the `drawend` event before adding
the feature to the source or collection.
This change allows user code to finish configuring the feature (setting style,
properties, ...).
It is useful since inserting a feature, or later on modifying it, may trigger
processing which only makes sense if the feature is ready. For example,
ol3-cesium will recreate a 3D counterpart.
2015-04-16 16:51:54 +02:00
Andreas Hocevar
4cad17f839
Do not return a null tileSize
2015-04-16 15:32:35 +02:00
Guillaume Beraudo
65614d74f8
Add missing @api
...
These types are referenced in the externs but were not declared.
Found by ol3-cesium.
2015-04-16 11:09:41 +02:00
Andreas Hocevar
ab9846ff24
Merge pull request #3559 from ahocevar/tile-width-height
...
Add support for non-square tiles
2015-04-16 09:26:27 +02:00
Andreas Hocevar
509a661fda
Reference ol.size.toSize()
2015-04-15 08:40:20 +02:00
Andreas Hocevar
ddf5e48830
Make ol.size.toSize exportable and optimize it
2015-04-15 08:28:31 +02:00
Andreas Hocevar
9c415ac9da
Use simple tile sizes for Bing maps by default
2015-04-15 08:12:17 +02:00
Andreas Hocevar
0d53edfa21
Get rid of ol.tilegrid.DEFAULT_TILE_SIZE
2015-04-14 23:16:29 +02:00
Andreas Hocevar
2b75341068
Add support for non-square tiles
2015-04-14 22:54:57 +02:00
Petr Sloup
f1f0b37bdc
Stronger type checking to continue only if data is defined
2015-04-14 14:15:47 +02:00
Frederic Junod
6c33f84798
Move ol.DRAGROTATE_ANIMATION_DURATION const to a constructor option
2015-04-14 09:05:52 +02:00
Frederic Junod
a94a87323d
Move ol.DRAGROTATEANDZOOM_ANIMATION_DURATION const to a constructor option
2015-04-14 08:57:27 +02:00
Frederic Junod
1daf4628b7
Move ol.ROTATE_ANIMATION_DURATION const to a constructor option
2015-04-13 15:05:35 +02:00
Frederic Junod
2fcdc48d20
Move ol.DRAGZOOM_ANIMATION_DURATION const to a constructor option
2015-04-13 14:59:39 +02:00
Frederic Junod
3eb22559d6
Move ol.ZOOMSLIDER_ANIMATION_DURATION const to a constructor option
2015-04-13 14:54:23 +02:00
Frederic Junod
3b4bc0be25
Move ol.KEYBOARD_PAN_DURATION const to a constructor option
2015-04-13 14:54:23 +02:00
Éric Lemoine
e636119c93
Merge pull request #3448 from elemoine/webgl-image-retina
...
Fix WebGL image layer rendering on retina displays
2015-04-13 11:16:53 +02:00
Tim Schaub
ec4a6aab3a
Clarify comment and link to issue
2015-04-12 22:17:11 -06:00
Tim Schaub
9d8ec2c8d0
Write options allow control over GeoJSON coordinate order
...
See be0c9f3c8a .
2015-04-12 22:13:28 -06:00
Milan P. Antonovic
400e81431d
PointerEventHandler exception with Overlay containing SVG
...
Using an ol.Overlay as marker I put inside an SVG graphic element. As soon I move the mouse over the SVG the error appear.
In IE9 the SVG Element does not have the contains function so it throws the exception, on the contrary using goog.dom.contains it handles the cross-browser issues.
https://groups.google.com/forum/#!topic/ol3-dev/DBi2HCTqulU
2015-04-10 14:33:16 +02:00
Frederic Junod
0fce3d5ec9
Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result
...
The return type of the function is {!ol.Collection.<ol.layer.Base>}
2015-04-08 12:16:39 +02:00
Éric Lemoine
ce83fbdbe3
Rename rBush_ to featuresRtree_ in ol.source.Vector
2015-04-08 10:22:56 +02:00
Éric Lemoine
c3658de75a
Make addFeature(s) ignore features with same id
2015-04-08 10:22:56 +02:00
Éric Lemoine
bb0ee1e6e9
Make ol.source.TileVector inherit from ol.source.Vector
2015-04-08 10:22:56 +02:00
Éric Lemoine
bdb326c310
Port vector examples to new vector API
2015-04-08 10:22:56 +02:00
Éric Lemoine
09b90c8424
Add loader and strategy to ol.source.Vector
2015-04-08 10:22:56 +02:00
Éric Lemoine
e86fd4afd4
Get rid of disliked vector classes
2015-04-07 17:36:57 +02:00
Tim Schaub
e5c6915761
Update documentation
2015-04-07 08:35:48 -06:00
Tim Schaub
e1079ab9a3
Improve overview map handling of map and view changes
2015-04-07 08:35:48 -06:00
Tim Schaub
0189e11931
Remove unconditionally exported methods
2015-04-07 08:35:47 -06:00
Tim Schaub
f42c0cb0aa
Remove 2-way binding from objects
2015-04-07 08:35:47 -06:00
Éric Lemoine
765fc4c279
Add a type alias to goog.vec.Number
...
This addition is related to the definition of olx.FrameState in olx.js. Without this alias and corresponding goog.provide in src/ol/vec/mat4.js we get this error when compiling an OpenLayers application:
ERR! compile node_modules/openlayers/externs/olx.js:6853: ERROR - Bad type annotation. Unknown type goog.vec.Mat4.Number
ERR! compile * coordinateToPixelMatrix: goog.vec.Mat4.Number,
Currently, the Closure Library does not have a goog.provide for goog.vec.Mat4.Number. If it did have this goog.provide then we wouldn't have the error.
This commit works around the issue by creating our own type alias (ol.vec.Mat4.Number) and adding a goog.provide for that type alias.
2015-04-07 14:10:46 +02:00
Éric Lemoine
e45c44fa01
Add missing goog.provide's
2015-04-07 13:49:36 +02:00
Éric Lemoine
9ce3bc7f3d
Fix WebGL image layer rendering on retina displays
...
This commit takes the device pixel ratio into account when calculating the matrix used to apply the image to the output canvas.
2015-04-07 12:13:16 +02:00
Pierre GIRAUD
5eb13660d3
Dispatch change event even when geometry is set to null
2015-04-07 12:12:07 +02:00
Andreas Watermeyer
c530f872f9
#3328 - GML3: Writing features with multiple geometries
2015-04-07 10:32:26 +02:00
Tim Schaub
50f71655e5
Style docs
2015-04-04 17:38:03 +02:00
Tim Schaub
02c4c8b360
Tile grid docs
2015-04-04 17:38:02 +02:00
Tim Schaub
e2b37a74a5
WebGL context docs
2015-04-04 17:38:02 +02:00