Commit Graph
100 Commits
Author SHA1 Message Date
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
Frederic Junod 32c2b5311e Move apidoc CSS style out of layout.css 2013-11-21 10:51:59 +01:00
Frederic Junod 84dcf24511 Highlight features in vector-layer example 2013-11-20 17:55:37 +01:00
Frederic Junod 4e61f045e1 Remove clearRect from geojson example 2013-11-20 15:14:26 +01:00
Frederic Junod 0bc8ff81e6 Explicitly read and load data in JSON 2013-11-20 11:45:26 +01:00
Frederic Junod 99ce67aedc Nicer dragbox style 2013-11-20 11:45:25 +01:00
Frederic Junod f4c5168cdf Remove renderer.Map#getCanvas function 2013-11-20 11:45:24 +01:00
Frederic Junod 38bbe35e8d Remove ol.Map#getRenderer function 2013-11-20 11:45:24 +01:00
Frederic Junod 87014feb01 Use 'postcompose' event to export the map as png image 2013-11-20 11:45:24 +01:00
Frederic Junod 650370f740 Simplify export-map example by removing jpeg output 2013-11-20 11:45:24 +01:00
Frederic Junod c20f80ca91 Export ol.Map#render function 2013-11-20 11:45:23 +01:00
Frederic Junod b39496f380 Dispatch 'precompose' event for ol.renderer.canvas.VectorLayer 2013-11-20 11:45:23 +01:00
Frederic Junod c4e125e972 Rename ol.source.BingMapsOptions style property to imagerySet 2013-11-20 11:44:50 +01:00
Frederic Junod a66a557978 Remove NOCOMPILE flag from vector-layer example 2013-11-20 11:44:47 +01:00
Frederic Junod 9738c672d7 Export ol.render.Event.prototype.getFrameState 2013-11-20 11:44:47 +01:00
Frederic Junod d65ae078ef Add layer-swipe example 2013-11-20 11:44:47 +01:00
Frederic Junod 77b7abb96a Don't rely on goog.net.XhrIo in vector-layer example 2013-11-20 11:44:45 +01:00
Frédéric Junod cc1962917f Merge pull request #1292 from fredj/canvasSize
Don't use ol.size.equals function
2013-11-19 09:54:05 -08:00
Frederic Junod 7052884913 Don't use ol.size.equals function
To avoid creating an array on each frame (60 times per second).
2013-11-19 17:43:46 +01:00
Frédéric Junod e83c6065ae Merge pull request #1291 from fredj/canvasSize
Fix ol.Size order in ol.renderer.canvas.Map and ol.renderer.webgl.Map
2013-11-19 08:25:15 -08:00
Frederic Junod 1816d8d160 Don't set the canvas size too early 2013-11-19 16:23:21 +01:00