Commit Graph
100 Commits
Author SHA1 Message Date
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
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