Commit Graph
100 Commits
Author SHA1 Message Date
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
Frederic Junod ade9984872 Add new condition param to ol.control.DragBox 2013-10-17 07:44:05 +02:00
Frédéric Junod 29221a9869 Merge pull request #1128 from fredj/offset_props
Rename offset* attributes to delta*
2013-10-14 07:59:36 -07:00
Frederic Junod 9ffabb481c Rename offset* attributes to delta* 2013-10-14 14:22:51 +02:00
Frédéric Junod 0af2ac60d6 Merge pull request #1119 from fredj/drz_offset
Use getPixel function instead of offset from event
2013-10-10 23:17:45 -07:00
Frederic Junod ef97da2b77 Use getPixel function instead of offset from event 2013-10-11 07:35:27 +02:00
Frédéric Junod b022da3da0 Merge pull request #1103 from fredj/doc
Minor apidoc updates
2013-10-08 00:15:08 -07:00
Frederic Junod 307e2d936c Minor apidoc updates 2013-10-08 09:04:50 +02:00
Frédéric Junod 948735f948 Merge pull request #1075 from fredj/center-constraint
Add ol.CenterConstraint
2013-10-02 02:54:17 -07:00
Frederic Junod 680f5cbb5a Constrain center in ol.interaction.TouchPan 2013-09-30 10:37:02 +02:00
Frédéric Junod 2878309a41 Merge pull request #1067 from fredj/attribution_osm_option
Remove 'attribution' option from ol.source.OSMOptions
2013-09-26 06:10:17 -07:00
Frederic Junod 9891e5fbc2 Remove 'attribution' option from ol.source.OSMOptions 2013-09-26 14:15:46 +02:00
Frédéric Junod 20ce29a5c6 Merge pull request #1064 from fredj/createFromQueryData
Use ol.RendererHints.createFromQueryData in examples
2013-09-26 03:38:09 -07:00
Frédéric Junod b5035888f6 Merge pull request #1044 from fredj/tileLoadFunction_override
Allow tile load override for all ol.source.TileImage based classes
2013-09-26 03:36:31 -07:00
Frederic Junod fc0f46344d Use ol.RendererHints.createFromQueryData in examples 2013-09-26 10:21:38 +02:00
Frederic Junod 907e796b55 Allow tileLoadFunction override for ol.source.MapQuestOSM and MapQuestOpenAerial 2013-09-24 15:54:53 +02:00
Frederic Junod 9fcd057c1e Allow tileLoadFunction override for ol.source.Stamen 2013-09-24 13:33:01 +02:00
Frederic Junod 4614a43d48 Allow tileLoadFunction override for ol.source.WMTS 2013-09-24 13:33:01 +02:00
Frederic Junod 980d311680 Allow tileLoadFunction override for ol.source.TileWMS 2013-09-24 13:33:01 +02:00
Frederic Junod 331005468c Allow tileLoadFunction override for ol.source.TileJSON 2013-09-24 13:33:01 +02:00
Frederic Junod 5a99adfc68 Allow tileLoadFunction override for ol.source.BingMaps 2013-09-24 13:33:01 +02:00
Frederic Junod dd509ed39e Allow tileLoadFunction override for ol.source.OSM 2013-09-24 13:33:01 +02:00
Frédéric Junod ac6d8f2df1 Merge pull request #1057 from fredj/apidoc
Fix jsdoc formating
2013-09-24 04:30:47 -07:00
Frederic Junod ef929e9a72 Fix jsdoc formating 2013-09-24 12:18:00 +02:00
Frederic Junod f07294698a Include ol.css in doc/quickstart.hbs 2013-09-24 11:15:26 +02:00
Frédéric Junod 3546a15f39 Merge pull request #1049 from fredj/webgl_ie11
Add 'experimental-webgl' to ol.webgl.CONTEXT_IDS_ (IE11 support)
2013-09-23 05:55:17 -07:00
Frédéric Junod 29165ddc1f Merge pull request #1050 from fredj/social-links.js
Remove social-links.js script from examples and doc
2013-09-23 05:38:55 -07:00
Frederic Junod d061994842 Remove webgl-experimental from ol.webgl.CONTEXT_IDS_ 2013-09-23 14:18:30 +02:00
Frederic Junod 88f938ea47 Remove social-links.js script from examples and doc 2013-09-23 13:58:12 +02:00
Frederic Junod c7b5bd0b6d Add 'experimental-webgl' to ol.webgl.CONTEXT_IDS_ (IE11 support)
see: http://msdn.microsoft.com/en-us/library/ie/ff975238(v=vs.85).aspx
2013-09-23 09:38:45 +02:00
Frederic Junod 5c15c18f1a Remove xyz-seturl example 2013-09-19 17:23:25 +02:00
Frederic Junod e97b2d35d4 Add missing source attribution in xyz-esri example 2013-09-19 16:07:11 +02:00
Frédéric Junod 9a8269f780 Merge pull request #1040 from fredj/goog_global
Use goog.global instead of window
2013-09-19 06:46:34 -07:00
Frederic Junod 4666f64673 Use goog.global instead of window
See f1f319d6ad
2013-09-19 15:03:17 +02:00
Frédéric Junod 58693be9e6 Merge pull request #1039 from fredj/perf
Only reset canvas transformation matrix when it has changed
2013-09-19 02:37:57 -07:00
Frederic Junod 9906497cb8 Only reset canvas transformation matrix when it has changed 2013-09-18 19:12:36 +02:00
Frédéric Junod 8a97535d93 Merge pull request #1037 from fredj/perf
ol.TileCoord.getKeyZXY optimization
2013-09-18 09:16:28 -07:00
Frederic Junod e30d0fefb0 Concatenate keys instead of joining it
For performances reasons, see http://jsperf.com/array-join-string-concat
2013-09-18 17:19:50 +02:00
Frederic Junod 42f7288d73 Assign function instead of calling it 2013-09-18 17:19:50 +02:00
Frederic Junod 764aacb568 Rename {get|set}FeatureId to {get|set}Id 2013-09-17 12:50:56 +02:00
Frédéric Junod c0486f6f65 Merge pull request #1031 from fredj/unused_requires
Remove unused goog.requires
2013-09-17 01:40:56 -07:00
Frederic Junod 7de0e79c62 Remove unused goog.requires 2013-09-17 09:41:22 +02:00
Frédéric Junod 2ce1c29c4d Merge pull request #995 from fredj/export-map_example
Better user notification if a.download attribute is not supported
2013-09-13 05:11:15 -07:00
Frédéric Junod 643e4592c5 Merge pull request #1007 from fredj/objectliterals
Fix ol.animation.BounceOptions apidoc (default easing function)
2013-09-10 09:18:39 -07:00
Frederic Junod adf8422391 Fix ol.animation.BounceOptions apidoc (default easing function) 2013-09-10 18:16:33 +02:00
Frédéric Junod 398c527e1a Merge pull request #1006 from fredj/WMTSOptions
Add missing 'version' property to ol.source.WMTSOptions
2013-09-10 08:16:02 -07:00
Frederic Junod 25aa1688e5 Add 'version' property to ol.source.WMTSOptions 2013-09-10 16:40:36 +02:00
Frédéric Junod 2e4ffb3591 Merge pull request #1003 from fredj/extent
Minor coding style and simplification for ol.Extent
2013-09-10 07:06:31 -07:00
Frederic Junod f1bce39fa9 Rename optional param to opt_extent 2013-09-10 14:41:12 +02:00
Frederic Junod d34a63944b Use ol.extent.createOrUpdate function 2013-09-10 14:33:12 +02:00
Frédéric Junod 14d550de0f Merge pull request #997 from fredj/apidoc
More api doc content
2013-09-09 08:29:58 -07:00
Frédéric Junod 7ffd2bcaa1 Merge pull request #993 from pagameba/deviceorientation-ios
Detect iOS compass heading
2013-09-09 05:57:34 -07:00
Frederic Junod 03e2f1a903 Add links to Proj4js and CONTRIBUTING.md 2013-09-09 12:07:16 +02:00
Frederic Junod 20916c75bb Add more api doc 2013-09-09 12:07:03 +02:00
Frédéric Junod cf7b40268b Merge pull request #988 from fredj/icon_example
IE10 compatibility: no tooltip on icon.html example
2013-09-09 01:58:22 -07:00
Frederic Junod 0efe92ab4c Fix popover in icon example 2013-09-09 10:23:28 +02:00
Frédéric Junod f123f5e57b Merge pull request #986 from fredj/rotate-north_example
IE10 CSS compatibility: custom-controls example
2013-09-09 01:09:17 -07:00
Frederic Junod 77c7d02873 Better user notification if a.download attribute is not supported 2013-09-09 09:55:30 +02:00
Frederic Junod 0b82cb8050 Fix rotate-north control display on touch devices 2013-09-09 09:19:45 +02:00
Frederic Junod 4bae5e755a Rename externs/html5.js to externs/closure-compiler.js
Add add a fix for issues:
  * https://code.google.com/p/closure-compiler/issues/detail?id=1084
  * https://code.google.com/p/closure-compiler/issues/detail?id=1088
2013-09-08 16:53:28 +02:00
Frédéric Junod a177cf159b Merge pull request #990 from fredj/examples_no_webgl
Better user notification if WebGL is not supported
2013-09-06 14:35:54 -07:00
Frederic Junod aa823e2b28 Better user notification if WebGL is not supported 2013-09-06 22:36:39 +02:00
Frederic Junod 393566155d Export ol.*.SUPPORTED symbols 2013-09-06 22:34:32 +02:00
Frédéric Junod 48bf1702d4 Merge pull request #981 from fredj/side-by-side
Side-by-side example broken
2013-09-06 12:51:43 -07:00
Frederic Junod 169e66835d Bind to layergroup instead of layers 2013-09-06 18:17:12 +02:00
Frédéric Junod cd11ebbc8a Merge pull request #976 from fredj/focus_touchend
Reset the map focus on 'mouseout' and 'touchend'
2013-09-04 07:06:22 -07:00
Frederic Junod ae314916cf Reset the map focus on 'mouseout' and 'touchend' 2013-09-04 13:21:06 +02:00
Frédéric Junod 25b99d5997 Merge pull request #925 from fredj/ms_pointer_events
MSPointer events fixes
2013-09-03 22:34:14 -07:00
Frederic Junod f994c4f8a1 Only dispatch touchmove events after a touchstart 2013-09-03 09:35:30 +02:00
Frederic Junod 77f6b4ff59 Only consider touch events to compute ol.interaction.Touch.targetTouches 2013-09-03 09:35:30 +02:00
Frederic Junod 2b5e0c2c31 Change touchmove and touchstart listened element to 'document'
As for the mouse events, this allows to drag, zoom or rotate the map
with pointer(s) who moved outside of the viewport.
2013-09-03 09:35:30 +02:00
Frédéric Junod 4483725185 Merge pull request #933 from fredj/focus
Move focus_ position update into handleMapBrowserEvent
2013-09-02 08:16:55 -07:00
Frédéric Junod 7b3a95288e Merge pull request #966 from fredj/geolocation_example
Reduce the width of the div to better see the error messages
2013-09-02 05:53:20 -07:00