Commit Graph
100 Commits
Author SHA1 Message Date
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
Frederic Junod 00186413f8 Remove canvasSize_ property 2013-11-19 16:23:21 +01:00
Frédéric Junod c7dcee1406 Merge pull request #1278 from fredj/apidoc_optional
Remove '(Optional)' from Description
2013-11-14 04:42:00 -08:00
Frederic Junod fd0a157a39 Remove '(Optional)' from Description 2013-11-14 10:21:23 +01:00
Frédéric Junod fac953a683 Merge pull request #1198 from fredj/bindTo_transform
ol.Object#bindTo: getter and setter
2013-11-13 09:00:33 -08:00
Frédéric Junod 376e427e05 Merge pull request #1275 from fredj/bing_style_param
Rename ol.source.BingMapsOptions style property to imagerySet
2013-11-13 07:21:19 -08:00
Frederic Junod c18b2706fb Notify target object after transform functions change 2013-11-13 16:13:08 +01:00
Frederic Junod a0bea641d1 Remove 'valueAsNumber' property from ol.dom.Input
Use bindTo.transform functions instead
2013-11-13 16:13:08 +01:00
Frederic Junod 03cc533cb3 Getter and setter support for bindTo 2013-11-13 16:13:08 +01:00
Frederic Junod e508be66d9 Rename ol.source.BingMapsOptions style property to imagerySet
To match the Bing Maps terminology
2013-11-13 10:49:17 +01:00
Frédéric Junod b8f04e0883 Merge pull request #1270 from fredj/element_jsdoc
Be more strict with {Element} types
2013-11-12 05:47:09 -08:00
Frederic Junod ca5960666d Be more strict with {Element} types 2013-11-12 13:53:37 +01:00
Frédéric Junod 1560fbace3 Merge pull request #1266 from fredj/input_checked
Set boolean value to HTMLInputElement.checked
2013-11-12 04:51:53 -08:00
Frédéric Junod c8f9b9cd7b Merge pull request #1268 from fredj/export_getCode
Export ol.proj.Projection#getCode
2013-11-12 02:25:25 -08:00
Frederic Junod 7613eaeef1 Export ol.proj.Projection#getCode 2013-11-12 11:17:03 +01:00
Frederic Junod d3be7d9d18 Set boolean value to HTMLInputElement.checked
See http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#attr-input-checked
2013-11-12 10:24:36 +01:00
Frédéric Junod d2281c4868 Merge pull request #1248 from fredj/apidoc_changename
ol.Object.getChangeEventType and key.toLowerCase
2013-11-09 04:52:33 -08:00
Frederic Junod b54547a4e1 Fix 'change' event name in apidoc 2013-11-08 08:06:11 +01:00
Frédéric Junod 7fb7a472b7 Merge pull request #1249 from fredj/apidoc_function
More precise {function} jsdoc definition
2013-11-07 13:22:30 -08:00
Frederic Junod 01cc19af80 More precise {function} jsdoc definition 2013-11-07 16:03:19 +01:00
Frédéric Junod 7f120ba685 Merge pull request #1244 from fredj/ol.js
Add project name and link to the compiled output
2013-11-07 03:32:45 -08:00
Frederic Junod 26ed0f3f12 Add project name and link to the compiled output 2013-11-07 09:03:43 +01:00
Frédéric Junod aae8040e3a Merge pull request #1240 from fredj/export_rotate
Export ol.coordinate.rotate
2013-11-06 04:29:09 -08:00
Frédéric Junod a9e980be0c Merge pull request #1241 from fredj/coordinate_format_tests
Add tests for ol.coordinate.format
2013-11-06 03:38:14 -08:00
Frederic Junod 116b107cb2 Add tests for ol.coordinate.format 2013-11-06 09:23:13 +01:00
Frederic Junod 09e4c985a0 Export ol.coordinate.rotate 2013-11-06 08:58:06 +01:00
Frederic Junod a31a28278d Sort exports alphabetically 2013-11-06 08:57:15 +01:00
Frédéric Junod ea73388c56 Merge pull request #1232 from fredj/describe.only
Use describe instead of describe.only
2013-11-05 08:02:08 -08:00
Frederic Junod db5986fcc1 Use describe instead of describe.only 2013-11-05 09:50:19 +01:00
Frédéric Junod 20d5a45b7d Merge pull request #1193 from fredj/mouseposition_precision_input
MousePosition example issues
2013-11-03 22:40:23 -08:00
Frederic Junod 10f7bf1bcb Fix precision input change in mouse-position example 2013-11-01 16:35:26 +01:00
Frédéric Junod a05c426212 Merge pull request #1186 from fredj/validate_valueAsNumber
mouse-position example: Projection select issue
2013-10-31 23:49:48 -07:00
Frederic Junod a2b9f1d0ac Only set the 'valueAsNumber' property is the value is valid 2013-10-30 14:15:59 +01:00
Frédéric Junod 68752729ab Merge pull request #1140 from fredj/rename_interaction_condition
Rename ol.interaction.condition
2013-10-30 04:22:31 -07:00
Frederic Junod a9159ecac3 Rename ol.interaction.condition to ol.events.condition 2013-10-30 12:13:44 +01:00
Frédéric Junod 9ada23a08a Merge pull request #1182 from fredj/moveend_example
Wrong extent coordinate order in moveend example
2013-10-29 05:23:50 -07:00
Frédéric Junod e3abfae02c Merge pull request #1189 from fredj/apidoc
Minor apidoc updates
2013-10-29 05:23:40 -07:00
Frederic Junod 9de78f1168 Fix bottom left and top right computation in moveend example 2013-10-29 11:03:10 +01:00
Frederic Junod 3efc810ca9 Quote values in apidoc 2013-10-29 11:01:49 +01:00
Frédéric Junod 7a0cefd872 Merge pull request #1185 from fredj/coord_format
Add ol.coordinate.format function
2013-10-28 23:46:16 -07:00
Frederic Junod 1217243f84 Better ol.coordinate.* documentation 2013-10-28 17:34:54 +01:00
Frederic Junod 9ca74200ed Remove opt_precision check in ol.coordinate.format
Default is already 0, see http://www.ecma-international.org/ecma-262/5.1/#sec-15.7.4.5
2013-10-28 16:26:21 +01:00
Frederic Junod cdf34b558a Add ol.coordinate.format function
Return a formatted coordinate. Example usage:
  > ol.coordinate.format([0.01 ,12.14], "{x}, {y}", 2)
  "0.01, 12.14"
  > ol.coordinate.format([0.01 ,12.14], "lat: {y} / lon: {x}", 1)
  "lat: 12.1 / lon: 0.0"
2013-10-28 15:32:43 +01:00
Frederic Junod 409d7d209d Export ol.extent.createEmpty function 2013-10-24 13:13:08 +02:00
Frédéric Junod 7e737f8b71 Merge pull request #1137 from fredj/dragbox_condition
Add new condition param to ol.control.DragBox
2013-10-17 23:48:34 -07:00
Frédéric Junod 19f66453fe Merge pull request #1138 from fredj/touch_pixel
Make sure that ol.MapBrowserEvent#getPixel() always returns a valid value
2013-10-17 21:45:14 -07:00
Frederic Junod 92acc3e2d9 Make sure that the event position is correct for touch events
This is a workaround for https://code.google.com/p/closure-library/issues/detail?id=588
2013-10-17 13:51:51 +02:00