Commit Graph
100 Commits
Author SHA1 Message Date
Frederic Junod 1e0ce96e9f Remove 'valueAsNumber' property from observable list
The property was removed in a0bea641d1
2014-02-19 09:53:46 +01:00
Frédéric Junod 497a71ca6e Merge pull request #1715 from fredj/apidoc
Minor jsdoc fixes
2014-02-17 14:46:58 +01:00
Frederic Junod d2c2ba3921 Add geom.jsdoc 2014-02-17 14:31:28 +01:00
Frederic Junod bef5b0debe Minor api fixes 2014-02-17 14:25:34 +01:00
Frédéric Junod 0007b5e3ec Merge pull request #1692 from fredj/osm-tiles
Use protocol relative URL for OSM tiles
2014-02-13 12:14:59 +01:00
Frederic Junod 4cb4ab89db Use protocol relative URL for OSM tiles 2014-02-13 11:21:27 +01:00
Frédéric Junod b0698443ab Merge pull request #1679 from fredj/layer-swipe
Use 'input' event for HTML input range
2014-02-11 15:41:43 +01:00
Frederic Junod cd8977fca1 Use 'input' event for HTML input range 2014-02-11 15:20:21 +01:00
Frédéric Junod 8536bb3d8f Merge pull request #1677 from fredj/xsd-from-string
Add ol.format.XSD.read*String functions
2014-02-10 16:34:46 +01:00
Frederic Junod f06adff56c Add ol.format.XSD.readNonNegativeIntegerString function 2014-02-10 16:19:08 +01:00
Frederic Junod f6629fae6c Add ol.format.XSD.readDecimalString function 2014-02-10 16:19:08 +01:00
Frederic Junod e3deb03e71 Add ol.format.XSD.readBooleanString function 2014-02-10 16:19:08 +01:00
Frederic Junod c94b78144f Fix test description 2014-02-06 12:48:51 +01:00
Frederic Junod ce721bc42f Assert that an element is removed in ol.structs.RBush#remove_ 2014-02-06 12:48:51 +01:00
Frédéric Junod c61e74f3dc Merge pull request #1637 from fredj/getfeatureinfo-example
Use evt.coordinate instead of evt.getCoordinate()
2014-02-04 06:46:07 -08:00
Frederic Junod 0377df5e06 Use evt.coordinate instead of evt.getCoordinate() 2014-02-04 15:31:03 +01:00
Frédéric Junod 1b35d0afbb Merge pull request #1599 from fredj/1525
Trigger a render when a control is added to the map
2014-01-27 04:49:40 -08:00
Frederic Junod 80bb95e553 Trigger a render in ol.Control#setMap
Closes #1525
2014-01-27 13:34:20 +01:00
Frédéric Junod acc974d664 Merge pull request #1587 from fredj/misc
Various ol.format.XSD and ol.format.KML cleanups
2014-01-23 07:50:13 -08:00
Frederic Junod 295d4fbaa3 Use ol.format.XSD.readDecimal in ol.format.KML 2014-01-23 16:35:39 +01:00
Frederic Junod 271caef342 Better ol.format.XSD.* documentation 2014-01-23 16:35:38 +01:00
Frederic Junod 64ccfdc805 Add exponent support in ol.format.XSD.readDecimal 2014-01-23 16:14:55 +01:00
Frederic Junod 7b09e04001 Rename ol.format.KML.readscale_ to ol.format.KML.readScale_ 2014-01-23 16:14:55 +01:00
Frederic Junod 401acc77f3 Remove unneeded 'ms' param from Date.UTC function 2014-01-23 16:14:50 +01:00
Frédéric Junod f98beb473b Merge pull request #1582 from fredj/kml-cleanup
Kml cleanup
2014-01-23 03:34:21 -08:00
Frederic Junod 9fe5eff865 Use ol.format.XSD.readBoolean in ol.format.KML 2014-01-23 10:55:02 +01:00
Frederic Junod cb25267341 Add ol.format.XSD.readBoolean function 2014-01-23 10:54:40 +01:00
Frederic Junod 827ae44a5f Use ol.format.XSD.readString in ol.format.KML 2014-01-23 10:43:47 +01:00
Frédéric Junod 996f193deb Merge pull request #1578 from fredj/exports
Remove ol.DragBoxEvent, ol.DrawEvent, ol.ObjectEvent, ol.source.VectorEvent symbols
2014-01-22 08:53:54 -08:00
Frederic Junod ffe1ad5fe3 Remove ol.DragBoxEvent, ol.DrawEvent, ol.ObjectEvent, ol.source.VectorEvent symbols
These objects will never be constructed by the application
2014-01-22 17:20:42 +01:00
Frédéric Junod 6df6a26764 Merge pull request #1575 from fredj/cleanup
Minor draw-features example cleanup
2014-01-22 05:21:32 -08:00
Frederic Junod ff4b85811d Minor draw-features cleanup 2014-01-22 14:12:32 +01:00
Frédéric Junod 898ad63a8b Merge pull request #1570 from fredj/exports
Export ol.Map#getPixelFromCoordinate
2014-01-22 04:49:13 -08:00
Frederic Junod c12cb94cf3 Export ol.Map#getPixelFromCoordinate 2014-01-22 09:06:16 +01:00
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