Andreas Hocevar
6b4ee42c90
Refactor to a more convenient internal API
2016-06-23 13:10:41 +02:00
Andreas Hocevar
cf7ff841a7
Remove use of goog.vec.*
2016-06-23 13:10:41 +02:00
nicholas
6b465902cd
Remove goog.dom
2016-06-23 22:06:35 +12:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Frederic Junod
1092f6b2a2
Remove use of goog.dom.createElement
2015-11-23 09:22:39 +01:00
Andreas Hocevar
6e2f82c397
Introduce ol.render.Feature
2015-10-28 10:29:02 +01:00
Petr Sloup
ed1e49045a
Allow different source and view projection in image layer renderers
...
To enable image layer reprojection.
2015-10-16 09:28:41 +02:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Frederic Junod
9b6ad1b36f
Remove use of goog.dom.appendChild
...
Use `parent.appendChild(child)` instead.
2015-10-01 12:06:38 +02:00
Marc Jansen
138adf0509
Remove goog.isNull in renderer classes
2015-10-01 09:17:14 +02:00
Tim Schaub
b36d697585
Inline goog.isDef() property checks
2015-09-27 10:21:50 -06:00
Frederic Junod
bb6192bc10
Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate"
...
This reverts commit dd07fd7977 .
2015-05-05 09:38:50 +02:00
Frederic Junod
dd07fd7977
Implement ol.renderer.Layer#forEachFeatureAtCoordinate
...
And remove identical implementation in children classes.
2015-04-28 14:08:45 +02:00
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
tsauerwein
f4500c8f89
Rename *AtPixel to *AtCoordinate if coordinate
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
É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
Tim Schaub
d712b2ba54
Allow source to be set after layer construction
2014-10-25 15:34:47 -06: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
a15bacd963
Add ol.renderer.dom.ImageLayer#forEachFeatureAtPixel
2014-01-14 12:26:50 +01:00
Éric Lemoine
5af738593e
Image source refactoring
2014-01-09 15:57:04 +01:00
Frederic Junod
ca0b77d0e3
Add pixelRatio to ol.source.Image#getImage
2013-12-17 13:31:11 +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
3681b3c669
Always use goog.vec.Mat4.Number instead of goog.vec.Mat.AnyType
2013-12-13 18:59:25 +01:00
Tom Payne
e1305b4614
Use ol.vec.Mat4.equals2D in ol.renderer.dom.ImageLayer
2013-12-02 09:57:02 +01:00
Tom Payne
432a8d2e19
Use ol.vec.Mat4.makeTransform2D in ol.renderer.dom.ImageLayer
2013-12-02 09:57:01 +01:00
Tom Payne
2b2e7bf786
Rename ol.renderer.Layer#renderFrame to prepareFrame
2013-11-20 11:31:20 +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