Frederic Junod
baf424f99c
Only update the rbush item if the extent has changed
2015-01-14 13:29:28 +01:00
Andreas Hocevar
017ff47bf8
Merge pull request #3117 from ahocevar/domvector-pixelratio
...
Add pixelRatio support for DOM vector renderer
2015-01-14 12:55:05 +01:00
Tobias Sauerwein
110ed04a84
Merge pull request #3124 from sirtet/master
...
Add a space between scale -value and -unit
2015-01-14 12:41:01 +01:00
Frédéric Junod
2f5bbb37ed
Merge pull request #3130 from fredj/doc
...
Document default value
2015-01-14 12:39:15 +01:00
Frédéric Junod
68f5ff0045
Merge pull request #3105 from fredj/geom-getextent
...
ol.geom.Geometry#getExtent re-factoring
2015-01-14 12:20:37 +01:00
Frederic Junod
5f55e01849
Document default value
2015-01-14 12:12:38 +01:00
Frederic Junod
f7943b9401
Set extent and extentRevision variables to private
2015-01-14 11:01:18 +01:00
Frederic Junod
8bd0a1232a
Add geom.ol.geom.Geometry#computeExtent function
2015-01-14 11:01:18 +01:00
oterral
c97a29d13b
Allow rendering of feature when download of icon failed
2015-01-14 09:34:03 +01:00
sirtet
66fea4dec9
Add a space between scale -value and -unit
...
For improved readability. Issue #3116
2015-01-13 16:16:20 +01:00
Bart van den Eijnden
35468e2bbb
Merge pull request #3118 from naturalatlas/wfs-firstelementchild-bugfix
...
Bugfix: "Cannot read property 'firstElementChild' of null" (WFS)
2015-01-13 10:13:56 +01:00
Brian Reavis
37dac8e0cf
Fixed "Cannot read property 'firstElementChild' of null" on WFS readProjectionFromNode.
...
Occurs when a FeatureCollection is empty.
Code style changes @bartvde
Added test case for #3118 .
Attempt to make jshint happy.
Fixed tab character.
Another code style change (jshint)....
2015-01-13 01:42:03 -07:00
Andreas Hocevar
bbf074b70a
Add pixelRatio support for DOM vector renderer
...
Adds the scaling and transforms to support pixelRatio values other than
1.
2015-01-12 22:14:52 +01:00
Éric Lemoine
5dca3e9b20
Merge pull request #3114 from elemoine/contributing
...
Specify node version in CONTRIBUTING.md
2015-01-12 21:13:16 +01:00
Éric Lemoine
789ddad536
Specify node version
2015-01-12 20:49:23 +01:00
Frédéric Junod
409969fa2a
Merge pull request #3106 from fredj/tilelayer-constr
...
Don't pass specific options to the parent constructor
2015-01-12 15:31:36 +01:00
Éric Lemoine
76418bdbe5
Merge pull request #3110 from PeterDaveHello/patch-1
...
Use svg instead of png to get better image quality
2015-01-11 11:22:56 +01:00
Peter Dave Hello
3e2574bf49
Use svg instead of png to get better image quality
2015-01-11 14:33:36 +08:00
Éric Lemoine
12863cf3fd
Merge pull request #2707 from gberaudo/source_map
...
Generate source map of minified ol.js
2015-01-09 13:16:18 +01:00
Éric Lemoine
2ef8302122
Add a build/ol.js.map target
2015-01-09 12:33:38 +01:00
Guillaume Beraudo
132686b4a7
Generate source map of minified ol.js
...
Allows automatic unminification by the browser.
A postprocessing is required to:
- fix the paths to the sources;
- add the link from the minified script to its map.
If someone knows how to do the first item in Python or nodejs, please provide a
patch. A simple shell script is:
```
\#!/bin/sh
pwd=`pwd`
sed -i "s!$pwd/build!olsource!g" 'build/ol.js.map'
sed -i "s!$pwd!olsource!g" 'build/ol.js.map'
```
The second item should always be manually handled to avoid 404 errors
in debuggers
`echo '//# sourceMappingURL=ol.js.map' >> build/ol.js`
Finally, create an alias / copy ol3 directory to /olsource in your
deployed environment.
2015-01-09 12:17:35 +01:00
Éric Lemoine
0f486e86f7
Add tests for ol.renderer.Layer#loadImage
2015-01-09 09:45:25 +01:00
tsauerwein
c85982bbe5
Remove unused variables
2015-01-09 09:21:40 +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
tsauerwein
d39904b66b
Add @const annotation
2015-01-08 16:12:52 +01:00
tsauerwein
25612f1af2
Unify return statement
...
Only return the callback result if it is truthy,
otherwise return undefined.
2015-01-08 16:12:52 +01:00
tsauerwein
35c58b3b0e
Use hasFeatureAtPixel in icon example
2015-01-08 16:12:52 +01:00
tsauerwein
3e5c4d0bf6
Show hasFeatureAtPixel in example
2015-01-08 16:12:52 +01:00
tsauerwein
bc71a36292
Implement hasFeatureAtPixel for webgl
2015-01-08 16:12:52 +01:00
tsauerwein
d62e910239
Implement hasFeatureAtPixel for canvas
2015-01-08 16:12:52 +01:00
tsauerwein
d0691ecc4d
Add hasFeatureAtPixel function to map
2015-01-08 16:12:52 +01:00
tsauerwein
974823dbd4
Refactor createTexture
2015-01-08 15:40:03 +01:00
tsauerwein
38322d615b
Use renderBuffer for hit-detection
2015-01-08 15:38:00 +01:00
tsauerwein
060c9f3bc6
Reduce number of arrays created
2015-01-08 15:38:00 +01:00
tsauerwein
6c48b2067b
Make icon example work with webgl
2015-01-08 15:38:00 +01:00
tsauerwein
da7f38635b
Remove hitDetectionOrigin
2015-01-08 15:38:00 +01:00
tsauerwein
461ec1d3bc
Make sure hit-detection atlas is in sync
...
... with the atlas for the original images, so that
the offsets are the same.
2015-01-08 15:38:00 +01:00
tsauerwein
cf6dd38866
Use hit-detection images
2015-01-08 15:38:00 +01:00
tsauerwein
3ef61fa1c5
Add hit-detection support for webgl
2015-01-08 15:38:00 +01:00
tsauerwein
740420468e
Add hit-detection framebuffer to context
2015-01-08 15:38:00 +01:00
Frederic Junod
b827bc126c
Don't pass specific options to the parent constructor
2015-01-08 14:07:33 +01:00
Frédéric Junod
1f90aad4ad
Merge pull request #3104 from fredj/vector-constr
...
Don't pass renderBuffer option to the parent constructor
2015-01-08 11:58:39 +01:00
Frederic Junod
91d2b3b87f
Don't pass renderBuffer option to the parent constructor
2015-01-08 10:59:42 +01:00
Frédéric Junod
904fac082c
Merge pull request #3096 from fredj/example-cleanup
...
popup example cleanup / simplification
2015-01-08 09:07:25 +01:00
Tim Schaub
b952f118ba
Merge pull request #3072 from tschaub/hit-extent
...
Optimize canvas hit detection by rendering features in a limited extent.
2015-01-07 23:54:21 -07:00
Tim Schaub
1ee03625e9
Optimize hit detection by rendering features in a limited extent
2015-01-07 23:04:42 -07:00
Tim Schaub
3be6a84de6
Merge pull request #3101 from tschaub/object
...
Use bracket notation instead of goog.object functions.
2015-01-07 22:57:28 -07:00
Tim Schaub
1ff43686f5
Use bracket notation instead of goog.object.get
2015-01-07 22:31:01 -07:00
Tim Schaub
a09a76c766
Merge pull request #3079 from tschaub/sourceless-docs
...
Exclude source files from docs.
2015-01-07 22:20:57 -07:00
Tim Schaub
f9a92c422c
Use bracket notation instead of goog.object.set
2015-01-07 21:08:24 -07:00