Commit Graph

11042 Commits

Author SHA1 Message Date
Tim Schaub
303f2df9e1 Merge pull request #256 from tschaub/transform-arrays
Updating ol.TransformFunction instances so they work with arrays instead of coordinates.
2013-03-03 14:46:22 -08:00
Frédéric Junod
d783df0840 Merge pull request #223 from fredj/touch-click
Click handling broken
2013-03-03 12:43:01 -08:00
Tim Schaub
e9fa08fccb Use in-place transforms where possible 2013-03-03 20:53:13 +01:00
Bruno Binet
93131d6105 Add some tests for the multiple tileSizes in tilegrid. 2013-03-03 20:43:47 +01:00
Bruno Binet
bf325c38b4 Fix tests related to createBboxParam. 2013-03-03 20:43:46 +01:00
Bruno Binet
2816e3256c Add support for multiple tileSizes in the tilegrid.
This is needed by WMTS.
2013-03-03 20:43:46 +01:00
Bruno Binet
7c440d087f Ensure we cannot set both origin and origins in the tilegrid 2013-03-03 20:43:46 +01:00
Bruno Binet
f7a895a823 Remove unused tileGrid.getTileSize() call. 2013-03-03 20:43:45 +01:00
Tim Schaub
40bde4056b Accept a destination array for transforms
This allows in-place transforms.
2013-03-03 20:24:14 +01:00
Éric Lemoine
26cf882d68 Make createLayerRenderer always return a renderer 2013-03-03 19:46:09 +01:00
Éric Lemoine
5202281ce8 Remove references to goog in epsg-4326 example 2013-03-03 19:46:09 +01:00
Éric Lemoine
337fd11a05 Load the examples using PhantomJS
This commit adds a check-examples target to check that the hosted examples load without errors.
2013-03-03 19:46:09 +01:00
Tim Schaub
7a5e6a06d8 Make transform functions work with arrays
Instead of working with ol.Coordinate instances, transform functions work with arrays.  This is in anticipation of using transform functions to transform large arrays of vertex coordinate values.  The ol.projection.transform and ol.projection.transformWithCodes are slightly more convenient functions for dealing with ol.Coordinate instances.  Whether we make this more consistent with the use of functions returned by ol.projection.getTransform is up for discussion.
2013-03-03 19:27:57 +01:00
Bruno Binet
6407b7c1c1 Merge pull request #254 from bbinet/indent-wmscap-example
Better indentation for wms capabilities example
2013-03-03 09:58:16 -08:00
Bruno Binet
d754c34a04 Better indentation for wms capabilities example 2013-03-03 18:57:53 +01:00
ahocevar
f1120287c3 Features can now have symbolizers
If specified, feature symbolizers take precedence over rule
based styling.
2013-03-03 18:55:52 +01:00
ahocevar
44ca6c9ff6 Merge branch 'master' of github.com:openlayers/ol3 into vector 2013-03-03 18:37:02 +01:00
Tom Payne
f897c743b1 Merge pull request #255 from twpayne/dont-check-requires-in-comments
Don't check for requires in comments
2013-03-03 09:36:29 -08:00
Tom Payne
b75298e957 Don't check for requires in comments 2013-03-03 18:29:16 +01:00
Bruno Binet
7454314578 Merge pull request #253 from bbinet/gitignore
Ignore ol-simple.js and ol-whitespace.js generated files
2013-03-03 08:59:26 -08:00
Tim Schaub
0df692e159 Lint in the tests 2013-03-03 17:58:03 +01:00
Bruno Binet
88335da8de Ignore ol-simple.js and ol-whitespace.js generated files 2013-03-03 17:55:53 +01:00
Éric Lemoine
bf50828a0d Merge pull request #251 from elemoine/remove-goog-references
Clean up examples
2013-03-03 08:12:57 -08:00
Éric Lemoine
bbc9785b81 IE9 supports addEventListener (thanks @fredj) 2013-03-03 17:10:50 +01:00
Éric Lemoine
d0c0231d98 Add exports for the canvas export feature 2013-03-03 17:10:50 +01:00
Éric Lemoine
bd67a14389 Make wms-capabilities example work when hosted 2013-03-03 17:10:50 +01:00
Tim Schaub
022917e719 Lint free externs 2013-03-03 17:06:15 +01:00
Éric Lemoine
01d49ef9c9 Remove references to goog in examples 2013-03-03 17:01:37 +01:00
ahocevar
d4ecf53801 Adding example for rule based styling
For the first time in the history of OpenLayers, we can render
features with multiple symbolizers now, which is also shown in
this new example.
2013-03-03 17:00:20 +01:00
Tim Schaub
d3c4869917 Work with new ol.projection package 2013-03-03 16:09:00 +01:00
Éric Lemoine
e6a42168d8 Merge pull request #249 from elemoine/playwithbuild
SIMPLE and WHITESPACE builds
2013-03-03 06:53:26 -08:00
Tim Schaub
5a73529da5 Merge branch 'master' of github.com:openlayers/ol3 into vector 2013-03-03 15:52:40 +01:00
Tim Schaub
b247031fe2 Test reading with shared vertices 2013-03-03 15:51:24 +01:00
Tim Schaub
4af32560ce Removing abstract methods for now
Later we'll discuss having more specific FeatureParser and readFeatures type methods.
2013-03-03 15:50:33 +01:00
Tom Payne
7126d63db5 Merge pull request #247 from twpayne/hyperbolic-functions
Add hyperbolic functions
2013-03-03 06:47:32 -08:00
Tom Payne
1c5e29f5a7 Merge pull request #246 from twpayne/xyztilegrid-tests
Add ol.tilegrid.XYZ tests
2013-03-03 06:47:16 -08:00
Tom Payne
183df560ad Merge pull request #245 from twpayne/projection-refactoring
Projection refactoring
2013-03-03 06:46:38 -08:00
ahocevar
5535a26d4a Adding unit tests for rule based styling 2013-03-03 15:25:20 +01:00
ahocevar
63c048edb2 Use the actual value, not just the index in the array. 2013-03-03 15:22:52 +01:00
ahocevar
db52ff926e Return an empty array for features without geometry
This ensures that the static applyDefaultStyle() method works
exactly the same way as the instance's apply() method.
2013-03-03 15:22:33 +01:00
Bruno Binet
302ba3a8e1 Merge pull request #248 from bbinet/prefer-canvas
Prefer the canvas renderer over dom.
2013-03-03 06:19:12 -08:00
Bruno Binet
0a462f1254 Prefer the canvas renderer over dom. 2013-03-03 15:11:27 +01:00
Éric Lemoine
6b9e79171b SIMPLE and WHITESPACE builds 2013-03-03 15:05:02 +01:00
Tom Payne
a94418edab Add ol.tilegrid.XYZ tests 2013-03-03 14:48:37 +01:00
Tom Payne
00ce5c6a78 Add hyperbolic functions 2013-03-03 14:47:25 +01:00
Frederic Junod
0a80feccfc Allow touch event (touchstart) to fire click events 2013-03-03 14:45:12 +01:00
Frederic Junod
c72877b33b Listen to both click and touchend events 2013-03-03 14:45:12 +01:00
ahocevar
9d1f737bce ol.Filter is now a (base) class, not an interface any more
ol.Filter can now also be used to provide a simple filter that
just evaluates a user provided filter function against a
feature.
2013-03-03 14:38:04 +01:00
Tim Schaub
5d917ebed6 Helper functions for running tests after xhr 2013-03-03 14:29:22 +01:00
Frédéric Junod
b14912567b Merge pull request #244 from fredj/zoom-control
Zoom control
2013-03-03 04:37:44 -08:00