Marc Jansen
fb9ba22c30
Add message to assertions.
2015-03-30 22:53:03 +02:00
Tim Schaub
33c197cf16
Layer renderers should not require a map renderer
2015-02-08 07:25:10 -07:00
Tim Schaub
d4b7bb7c57
Use frame state for pixel to coord conversion
2015-02-07 16:52:34 -07:00
Frederic Junod
078d3fb007
Add missing goog.require
2015-02-05 10:56:44 +01:00
tsauerwein
f4500c8f89
Rename *AtPixel to *AtCoordinate if coordinate
2015-01-30 10:00:37 +01:00
tsauerwein
4d4bed454a
Avoid pixel->coord->pixel conversion
2015-01-30 10:00:37 +01:00
tsauerwein
054227fd26
Make signature for *AtPixel methods more consistent
...
pixel/coordinate is the first argument.
2015-01-30 10:00:36 +01:00
tsauerwein
b4cb786f29
Implement forEachLayerAtPixel for canvas
2015-01-30 10:00:36 +01:00
Éric Lemoine
4814983306
Also listen on loading images
...
This fixes a bug that occured when an image source was used by multiple maps. In that case the map that didn't load the image wouldn't register a load listener on that image and would therefore not call render to request a re-render of the map.
2015-01-09 09:07:31 +01:00
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +01:00
Thomas Hirsch
8e4d7c0715
isDefAndNotNull -> !isNull
2014-12-01 12:57:35 +01:00
Thomas Hirsch
d5bafc5e9f
linting
2014-12-01 10:53:36 +01:00
Thomas Hirsch
e385e81a20
linting
2014-11-30 10:08:41 +01:00
Thomas Hirsch
c42ec27a4a
image layer renderers use source projection if given and equivalent
2014-11-28 22:09:45 +01:00
Andreas Hocevar
87a06c0086
Rename #getImageElement to #getImage
...
This adds consistency between ol.Image and ol.ImageTile. Now both have
an exportable getImage method.
2014-10-30 08:42:09 +01:00
Frederic Junod
009cd9f840
Remove unnecessary type cast
2014-09-03 11:14:33 +02:00
Éric Lemoine
def1af4492
No composeFrame if prepareFrame returns false
2014-08-24 14:55:13 +02:00
Frederic Junod
86268bcf58
Rename olx.FrameState#skippedFeatureUids_ skippedFeatureUids
...
To let the ol.Map#skippedFeatureUids_ property to be renamed by the compiler.
2014-07-31 11:30:39 +02:00
Tim Schaub
234cff4de5
Limit image layer requests to layer extent
...
This has two nice consequences that can be seen in the wms-image.js and mapbuide-untiled.js examples:
* no images are requested when you browse outside of the layer extent
* when the layer extent is within the viewport extent, cached images are used since the intersecting extent is the same for multiple viewport extents
2014-07-24 10:26:07 -06:00
Tim Schaub
b9f444a008
Rename olx.View2DState to olx.ViewState and use viewState property
2014-06-27 09:58:25 -04:00
Éric Lemoine
7a1e605f14
Skipped features support to ol.source.ImageVector
2014-06-11 16:26:21 +02:00
Éric Lemoine
2a531136fc
Pass layer to forEachFeatureAtPixel callback
...
This fixes a bug where the layer renderer instead of the layer is passed to the forEachFeatureAtPixel callback.
2014-01-17 11:38:06 +01:00
Éric Lemoine
e83ec2976f
Change forEachFeatureAtPixel arguments names
2014-01-17 11:38:06 +01:00
Tom Payne
1df516e14d
Use opt_this instead of opt_obj in ol.renderer.Layer
2014-01-15 15:00:34 +01:00
Tom Payne
4667dec7c3
Rename devicePixelRatio to pixelRatio in ol.FrameState
2014-01-15 09:46:27 +01:00
Éric Lemoine
542cf80da9
Better typing
2014-01-14 12:26:50 +01:00
Éric Lemoine
ee17babc05
Add ol.renderer.canvas.ImageLayer#forEachFeatureAtPixel
2014-01-14 12:26:50 +01:00
Éric Lemoine
5af738593e
Image source refactoring
2014-01-09 15:57:04 +01:00
Tom Payne
04a0369d68
Correct ol.renderer.canvas.ImageLayer transform for HiDPI devices
2014-01-09 15:27:57 +01:00
Frederic Junod
c84782bfc6
Use the image pixelRatio in ol.renderer.canvas.ImageLayer
2013-12-17 13:31:11 +01:00
Frederic Junod
ca0b77d0e3
Add pixelRatio to ol.source.Image#getImage
2013-12-17 13:31:11 +01:00
Frederic Junod
355c0a1017
Scale output canvas by devicePixelRatio
2013-12-16 12:15:00 +01:00
Tom Payne
b59eec7a83
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-12-13 20:22:06 +01:00
Tom Payne
b12bed8949
Use assertInstanceof instead of getImageSource
2013-12-13 18:59:25 +01:00
Tom Payne
c9b0d0bf0e
Use assertInstanceof instead of getImageLayer
2013-12-13 18:59:25 +01:00
Tom Payne
36fee8013a
Use ol.vec.Mat4.makeTransform2D in ol.renderer.canvas.ImageLayer
2013-12-02 09:57:01 +01:00
Tom Payne
4c6bd5bdf2
Rename getTransform to getImageTransform
2013-11-20 11:42:06 +01:00
Tom Payne
2b2e7bf786
Rename ol.renderer.Layer#renderFrame to prepareFrame
2013-11-20 11:31:20 +01:00
Olivier Terral
cc3660f32a
Fix getImageElement calls in canvas and webgl renderer
2013-10-28 14:04:40 +01:00
Tom Payne
7d5a84ce8a
Rename ol.layer.ImageLayer to ol.layer.Image
2013-09-09 14:36:40 +02:00
Frederic Junod
a1a7e21f92
Redefine ol.Size to be Array.<number>
2013-06-01 10:22:06 +02:00
Tom Payne
465e24cf4e
Port ol.renderer.canvas to new extents
2013-04-19 10:03:35 +02:00
Tom Payne
0371b891a6
Tighten up permission on layer renderers
2013-04-12 00:48:35 +02:00
Tom Payne
4be8c991f7
Add missing Closure Library requires
2013-04-06 14:28:12 +02:00
Tom Payne
5680b89c48
Update logos in renderers
2013-04-05 18:27:51 +02:00
Tom Payne
02196c94b5
Redefine ol.Coordinate to be Array.<number>
2013-04-05 12:30:37 +02:00
ahocevar
586f393492
Support tile sources without configured projection
...
This change adds a lot of flexibility to working with tile
layers: Sources where the server projection or tile grid do not
matter can now be constructed without specifying a projection or
tile grid.
The tileUrlFunction/imageUrlFunction now also creates updated
URLs when the params of the layer change, so things like
mergeNewParams in ol2 will be possible.
A nice side effect of this whole change is that there is no more
duplicated code between tiled and single image WMS layers.
While I was at it, I also fixed a WMS 1.1.1 axis order issue
and incorrect STYLES params (STYLES=& instead of STYLES&).
2013-03-05 00:46:58 +01:00
Frederic Junod
66d4c44159
Rename ol.ViewHint.PANNING to ol.ViewHint.INTERACTING
2013-03-03 10:44:58 +01:00
Éric Lemoine
f540dd8689
Image layer renderers add attributions to frame state
2013-02-19 15:19:44 +01:00
Éric Lemoine
d713c9b8ed
Deal with null images
2013-02-17 23:07:58 +01:00