Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod 7f9fd3db5e Merge pull request #1554 from fredj/exports
Export some ol.source.* functions
2014-01-21 05:23:53 -08:00
Frederic Junod ebbbcea30b Export ol.source.Source#getState function and ol.source.State symbol 2014-01-21 14:08:01 +01:00
Frederic Junod 08dbffd763 Export ol.source.VectorEvent#getFeature function 2014-01-21 14:08:01 +01:00
Frederic Junod a139814b2f Scale WebGL output canvas by devicePixelRatio 2014-01-15 16:20:51 +01:00
Frédéric Junod d63067f18e Merge pull request #1529 from fredj/vector-api-immediate-drawCircleGeometry
Uncomment ol.render.canvas.Immediate#drawCircleGeometry
2014-01-14 07:57:08 -08:00
Frederic Junod 56547681c3 Uncomment ol.render.canvas.Immediate#drawCircleGeometry 2014-01-14 16:38:01 +01:00
Frédéric Junod 69b36e7b7b Merge pull request #1523 from fredj/side-by-side
Fix ol.BrowserFeature.HAS_WEBGL test in side-by-side example
2014-01-14 00:52:45 -08:00
Frederic Junod f058d54277 Fix ol.BrowserFeature.HAS_WEBGL test in side-by-side example 2014-01-14 09:46:02 +01:00
Frédéric Junod 932bc36d7a Merge pull request #1518 from fredj/vector-api-1503
[vector-api] Add encoding param to goog.fs.FileReader.readAsText
2014-01-13 05:04:02 -08:00
Frédéric Junod 9aba98797a Merge pull request #1516 from fredj/vector-api-source-observable
Make ol.source.Source inherit from Observable
2014-01-13 05:03:47 -08:00
Frederic Junod 79c8f17e83 Add encoding param to goog.fs.FileReader.readAsText
This is a workaround for https://code.google.com/p/closure-library/issues/detail?id=524
2014-01-13 13:51:09 +01:00
Frederic Junod e9db2eefb9 Make ol.source.Source inherit from Observable 2014-01-13 10:57:34 +01:00
Frédéric Junod 164170e593 Merge pull request #1517 from fredj/vector-api-drawinteraction-cleanup
[vector-api] drawinteraction cleanup
2014-01-13 01:56:01 -08:00
Frederic Junod f68631d61c Use goog.asserts.assertInstanceof to check the getSource return type
See 1499af397d
2014-01-13 10:29:29 +01:00
Frederic Junod f5ce88789e Use goog.isNull in if statements 2014-01-13 10:28:42 +01:00
Frédéric Junod 15b649ecd4 Merge pull request #1515 from fredj/vector-api-const-annotation
[vector-api] Create 'type' annotation for 'const' variables
2014-01-13 00:45:21 -08:00
Frederic Junod b53ddf5b42 Create 'type' annotation for 'const' variables 2014-01-13 08:53:36 +01:00
Frédéric Junod bed7084200 Merge pull request #1491 from fredj/const-annotation
Create 'type' annotation for 'const' variables
2014-01-09 04:32:28 -08:00
Frederic Junod 80cae77161 Add 'const' annotation to ol.MapBrowserEvent.browserEvent 2014-01-09 10:32:30 +01:00
Frederic Junod 9f79d33486 Create 'type' annotation for 'const' variables
From https://developers.google.com/closure/compiler/docs/js-for-compiler:
  "The type declaration and additional comment are optional. If you
  provide a type declaration, put the declaration on a separate line."
2014-01-09 09:53:20 +01:00
Frédéric Junod 1e334bffdb Merge pull request #1488 from fredj/vector-api-image-pixelRatio
[vector-api] Scale the image size and anchor by pixelRatio
2014-01-08 07:37:42 -08:00
Frederic Junod 3f751a5903 Scale the image size and anchor by pixelRatio 2014-01-08 14:25:50 +01:00
Frédéric Junod ea678ef195 Merge pull request #1487 from fredj/cleanup
ol.TileCoord: add @struct annotation and use the ol.TileCoord.createOrUpdate function
2014-01-08 04:40:53 -08:00
Frederic Junod 34e75b3d9d Add @struct annotation to ol.TileCoord class 2014-01-08 11:48:15 +01:00
Frederic Junod 8c61dbef8a Use ol.TileCoord.createOrUpdate function 2014-01-08 11:38:12 +01:00
Frédéric Junod b8bc7b3a2a Merge pull request #1477 from fredj/cleanup
Remove extra parameters when calling ol.test.source.TileMock.getTile
2014-01-07 03:35:38 -08:00
Frederic Junod 0fda88dca3 Remove extra parameters when calling ol.test.source.TileMock.getTile 2014-01-07 12:17:17 +01:00
Frédéric Junod 125b65e82d Merge pull request #1472 from fredj/vector-api-singleclick-examples
Fix 'singleclick' in kml-timezones and kml-earthquakes examples
2014-01-06 23:56:34 -08:00
Frederic Junod 2f7064f0e8 Fix 'singleclick' in kml-timezones and kml-earthquakes examples 2014-01-06 16:44:06 +01:00
Frédéric Junod 32555a606d Merge pull request #1468 from fredj/indent
Fix indentation in commments
2014-01-06 07:17:58 -08:00
Frederic Junod b4800dc637 Fix indentation in commments 2014-01-06 16:06:47 +01:00
Frédéric Junod fcd4413dc6 Merge pull request #1374 from fredj/static-image-example
Add a ol.source.ImageStatic example
2014-01-06 02:04:42 -08:00
Frédéric Junod eb9208fd9a Merge pull request #1460 from fredj/vector-api-layer-clipping
Center the clipping region
2014-01-06 02:04:13 -08:00
Frederic Junod d894422b2d Center the clipping region
Use the real canvas size to center the heart. Only visible when
devicePixelRatio is greater than 1.0.
2014-01-06 10:13:45 +01:00
Frederic Junod 2d971ed58f Add a ol.source.ImageStatic example 2014-01-06 09:11:49 +01:00
Frédéric Junod 5514ede191 Merge pull request #1438 from fredj/proj-export-getUits
Export ol.proj.Projection#getUnits
2013-12-22 23:27:18 -08:00
Frederic Junod 1f0c70fec3 Parse HFDTE record before the others H records
ol.format.IGC.H_RECORD_RE_ don't match HFDTE records (because of the ':').
2013-12-22 12:44:12 +01:00
Frederic Junod 979083bb21 Fix ol.format.IGC HFDTE parsing (HFDTEDDMMYY not HFDTEYYMMDD) 2013-12-22 12:44:12 +01:00
Frederic Junod ead127aaec Export ol.proj.Projection#getUnits
Fixes #1365
2013-12-21 09:23:43 +01:00
Frédéric Junod be55ea5f88 Merge pull request #1420 from fredj/vector-api-igc-extensions
[vector-api] Add ol.format.IGC#getExtensions
2013-12-20 06:02:28 -08:00
Frederic Junod eaf6d7caef Add ol.format.IGC#getExtensions 2013-12-20 09:08:08 +01:00
Frederic Junod e4ea8a750e Cast serverType option in examples 2013-12-19 16:31:08 +01:00
Frederic Junod 5f3d018476 Export ol.source.wms.ServerType.* 2013-12-19 16:30:28 +01:00
Frederic Junod 1277b0ffd3 Move serverType option to olx.source.ImageWMSOptions 2013-12-19 16:14:23 +01:00
Frederic Junod fd902008a2 Fix GeoServer format option param key
See http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#format-options
2013-12-19 16:14:23 +01:00
Frédéric Junod 9bf445c37f Merge pull request #1418 from fredj/vector-api-lineCap
[vector-api] Set default canvas lineJoin and lineCap to 'round'
2013-12-19 07:08:53 -08:00
Frederic Junod 06ba19896c Set default canvas lineJoin and lineCap to 'round' 2013-12-19 15:40:31 +01:00
Frédéric Junod fa31c99563 Merge pull request #1367 from fredj/vector-api-hdpi
[vector-api] High dpi devices support
2013-12-18 00:44:25 -08:00
Frederic Junod 3e83809880 Add serverType option to ol.source.ImageWMS constructor 2013-12-18 09:08:37 +01:00
Frederic Junod 8e6b686f3d Add hidpi option to ol.source.ImageWMS and ol.source.MapGuide 2013-12-17 15:58:25 +01:00
Frederic Junod c84782bfc6 Use the image pixelRatio in ol.renderer.canvas.ImageLayer 2013-12-17 13:31:11 +01:00
Frederic Junod db322f9ade Add pixelRatio param to ol.Image constructor 2013-12-17 13:31:11 +01:00
Frederic Junod 78ec21fb85 Add pixelRatio to ol.source.Image#createImage 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 bf9ea3368c Export ol.proj.Units.PIXELS 2013-12-16 16:04:17 +01:00
Frédéric Junod 0b4b6c44b5 Merge pull request #1393 from fredj/browserfeature-export
Export DEVICE_PIXEL_RATIO and HAS_TOUCH from ol.BrowserFeature
2013-12-16 06:39:36 -08:00
Frederic Junod 983cf51a8c Export DEVICE_PIXEL_RATIO and HAS_TOUCH from ol.BrowserFeature 2013-12-16 15:30:17 +01:00
Frédéric Junod 9bca7b1509 Merge pull request #1388 from fredj/mapguide-cleanup
Mapguide cleanup
2013-12-16 03:49:25 -08:00
Frederic Junod 355c0a1017 Scale output canvas by devicePixelRatio 2013-12-16 12:15:00 +01:00
Frederic Junod bd1107f785 Add devicePixelRatio to ol.FrameState 2013-12-16 12:15:00 +01:00
Frederic Junod 01a246ca72 Add devicePixelRatio option to ol.Map constructor 2013-12-16 12:15:00 +01:00
Frederic Junod b381536b2a Add ol.source.MapGuide.getScale function 2013-12-16 10:31:54 +01:00
Frederic Junod ede84739c4 Add displayDpi option to ol.source.MapGuide constructor 2013-12-16 09:58:27 +01:00
Frederic Junod 59e04c5371 Use ol.extent.* functions in ol.source.MapGuide 2013-12-16 09:53:28 +01:00
Frédéric Junod a841c92053 Merge pull request #1378 from fredj/apidoc
Minor apidoc updates
2013-12-13 11:23:00 -08:00
Frederic Junod f5ba373208 Minor apidoc updates 2013-12-13 19:02:21 +01:00
Frederic Junod 02cee684a7 Remove trailing zeros in mtbland.geojson 2013-12-09 16:37:33 +01:00
Frederic Junod 94393c0050 Don't use describe.only in test 2013-12-09 16:37:18 +01:00
Frederic Junod 3d4199193f Allow ol.Feature to be constructed with no argument 2013-12-05 16:15:08 +01:00
Frederic Junod c36920774a Add fill and stroke properties to ol.style.Text 2013-12-02 11:05:24 +01:00
Frederic Junod 1bf2d94968 Add rotation property to ol.style.Text 2013-12-02 10:55:37 +01:00
Frederic Junod 287377c844 Remove Text from ol.render.ReplayType 2013-12-02 10:46:55 +01:00
Frederic Junod ffc357f4d4 Add text style default values 2013-12-02 10:43:22 +01:00
Frederic Junod e2d9c77e08 Notify if WebGL is not supported 2013-11-29 10:43:02 +01:00
Frederic Junod 8d40308d6e Fix indentation 2013-11-28 15:05:07 +01:00
Frederic Junod 0908490385 Add lineDash property to ol.style.Stroke 2013-11-28 13:47:31 +01:00
Frederic Junod bf9cd0a675 Add miterLimit property to ol.style.Stroke 2013-11-28 11:49:56 +01:00
Frederic Junod 0bd77d3caf Add lineJoin property to ol.style.Stroke 2013-11-28 11:31:06 +01:00
Frederic Junod b8dbac77bc Remove unused ol.style.Stroke.equals 2013-11-28 10:03:07 +01:00
Frederic Junod 06d873666f Remove unused ol.style.Fill.equals 2013-11-28 10:02:30 +01:00
Frederic Junod b210073ef0 Add lineCap property to ol.style.Stroke 2013-11-28 09:36:54 +01:00
Frederic Junod aac16a3ba1 Fix doc typos 2013-11-27 13:43:11 +01:00
Frederic Junod 2f3a85a86a Add ol.source.Vector#getAllFeatures function 2013-11-27 12:14:33 +01:00
Frederic Junod 66b08644fc Export ol.source.Vector#removeFeature function 2013-11-27 12:14:32 +01:00
Frederic Junod a3b43f21e4 Add ol.source.Vector#forEachFeature function 2013-11-27 12:14:32 +01:00
Frédéric Junod 8a15c33b86 Merge pull request #1318 from fredj/export_buffer
Export ol.extent.buffer function
2013-11-27 02:41:22 -08:00
Frederic Junod 5fef6d554b Export ol.extent.buffer 2013-11-27 10:05:06 +01:00
Frédéric Junod 67f00b37e8 Merge pull request #1314 from fredj/canvas_clear
Avoid clearing canvas twice
2013-11-25 01:58:51 -08:00
Frédéric Junod bd876831ed Merge pull request #1306 from fredj/canvas-size
ol.BrowserFeature.DEVICE_PIXEL_RATIO and canvas size
2013-11-23 14:14:53 -08:00
Frederic Junod ed211d5631 Use ol.style.Stroke and ol.style.Fill instances in vector-layer example 2013-11-21 18:05:18 +01:00
Frederic Junod 6762e70f4c Better canvas sizing handling (canvas and webgl) 2013-11-21 17:08:49 +01:00
Frederic Junod 71d3fc4921 Add ol.BrowserFeature.DEVICE_PIXEL_RATIO constant 2013-11-21 17:06:57 +01:00
Frederic Junod c0ad472984 Add missing 'undefined' in jsdoc type definition 2013-11-21 14:48:49 +01:00
Frederic Junod 76a908d00c Split anchor ImageReplay property into anchorX and anchorY 2013-11-21 14:30:55 +01:00
Frederic Junod db8f476098 Add ol.style.Image.size property 2013-11-21 14:27:04 +01:00
Frederic Junod c715764680 Change ol.style.Image.anchor property type to ol.Pixel 2013-11-21 14:11:59 +01:00
Frederic Junod 04b91f3627 Add ol.BrowserFeature.DEVICE_PIXEL_RATIO constant 2013-11-21 14:08:49 +01:00
Frederic Junod a7bb02b49c Better canvas sizing handling (canvas and webgl) 2013-11-21 14:05:28 +01:00
Frédéric Junod 5c2b5f3c11 Merge pull request #1219 from fredj/apidoc
Minor apidoc updates
2013-11-21 02:03:15 -08:00
Frederic Junod 6e88d3ba3c Minor apidoc updates 2013-11-21 10:52:00 +01:00