Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod 6790b8655a Merge pull request #2975 from fredj/mouseevent-offset
Use offsetX and offsetY if available
2014-12-01 11:23:09 +01:00
Frederic Junod fabf05977a Use offsetX and offsetY if available 2014-12-01 10:56:34 +01:00
Frederic Junod 26ce8032eb Use ol.Map#getEventPixel in mouse position control 2014-12-01 10:56:34 +01:00
Frédéric Junod aba47907ca Merge pull request #2956 from fredj/mousewheel-event-name
Revert "Remove mousewheel event name workaround"
2014-11-19 08:19:59 +01:00
Frederic Junod 552f9483cb Revert "Remove mousewheel event name workaround"
This reverts commit 20ce664068.

Reverted upstream: https://github.com/google/closure-library/commit/4ee0daca0ec1bea486ab670310a6e9bdbaaad720
2014-11-18 09:00:50 +01:00
Frédéric Junod a77b7aa817 Merge pull request #2895 from fredj/remove-font-family
Move font-family customization to layout.css
2014-11-17 16:43:57 +01:00
Frédéric Junod 41eeed5f35 Merge pull request #2943 from fredj/applyTransform-api
Mark applyTransform api stable
2014-11-13 11:05:18 +01:00
Frederic Junod c701ad6749 Mark applyTransform api stable 2014-11-13 10:46:06 +01:00
Frédéric Junod 1df7f6c2c7 Merge pull request #2906 from fredj/polyline-order
Assume a latitude, longitude order for Polyline format
2014-11-10 12:13:35 +01:00
Frederic Junod 83025fb97d Assume a latitude, longitude order for Polyline format 2014-11-06 10:58:52 +01:00
Frédéric Junod afe1467ddf Merge pull request #2897 from fredj/longclick
Remove pointerup listener on controls
2014-11-04 17:32:14 +01:00
Frédéric Junod 03ed3fe43f Merge pull request #2912 from fredj/jquery-externs
jQuery externs update
2014-11-04 14:57:18 +01:00
Frederic Junod 84c11b08fa Fix filter() function parameter in jquery externs
Submitted upstream: https://github.com/google/closure-compiler/pull/672
2014-11-04 14:26:05 +01:00
Frederic Junod 161d75dd22 Update jquery externs
From https://github.com/google/closure-compiler/blob/master/contrib/externs/jquery-1.9.js
2014-11-04 14:23:34 +01:00
Frederic Junod 1253177ae4 Add FastClick in mobile-full-screen example 2014-11-04 11:48:33 +01:00
Frederic Junod 4c8d8c21dc Remove 'pointerup' listener in ol.control.OverviewMap 2014-11-04 09:21:41 +01:00
Frederic Junod e32be091a4 Remove 'pointerup' listener in ol.control.Attribution 2014-11-04 09:21:41 +01:00
Frederic Junod cc442d964b Remove 'pointerup' listener in ol.control.ZoomToExtent 2014-11-04 09:21:40 +01:00
Frederic Junod e55caef0d2 Remove 'pointerup' listener in ol.control.Rotate 2014-11-04 09:21:40 +01:00
Frederic Junod c7a3fcd426 Remove 'pointerup' listener in ol.control.Zoom 2014-11-04 09:21:40 +01:00
Frederic Junod 224d86802e Remove 'pointerup' listener in ol.control.FullScreen 2014-11-04 09:21:40 +01:00
Frederic Junod d4bd5f24c6 Move font-family customization to layout.css 2014-10-31 11:57:27 +01:00
Frédéric Junod 127818f9b7 Merge pull request #2893 from fredj/simplify-createDom
Don't pass an object to goog.dom.createDom for the class name
2014-10-30 17:57:44 +01:00
Frederic Junod 6ca1640659 Don't pass an object to goog.dom.createDom for the class name
If the second argument to goog.dom.createDom is a string, then this is
the className of the new element.
2014-10-30 16:53:42 +01:00
Frédéric Junod 2d53eb7667 Merge pull request #2781 from fredj/button-title
Use a standard title attribute for the control buttons
2014-10-30 16:52:09 +01:00
Frédéric Junod ffeda3f25a Merge pull request #2852 from fredj/issue-2845
Add missing space between class names
2014-10-30 12:17:54 +01:00
Frederic Junod b40c439d33 Add new button-title example 2014-10-29 16:21:34 +01:00
Frederic Junod 9ebde652dc Use a standard title attribute for the control buttons 2014-10-28 15:22:46 +01:00
Frédéric Junod ee3259d13e Merge pull request #2882 from fredj/wmts_requestEncoding_string
Allow olx.source.WMTSOptions#requestEncoding to be a string
2014-10-27 14:24:15 +01:00
Frederic Junod 398b1f86ce Allow olx.source.WMTSOptions#requestEncoding to be a string 2014-10-27 13:48:47 +01:00
Frédéric Junod f938ce82d9 Merge pull request #2881 from fredj/doc
Add default requestEncoding in documentation
2014-10-27 13:41:18 +01:00
Frederic Junod 70375d5227 Add default requestEncoding in documentation 2014-10-27 13:38:37 +01:00
Frédéric Junod d77d504d01 Merge pull request #2877 from fredj/rm_fixme
Remove FIXME in src/ol/structs/rbush.js
2014-10-27 09:34:52 +01:00
Frederic Junod bd72f6117b Remove FIXME in src/ol/structs/rbush.js 2014-10-27 09:24:27 +01:00
Frédéric Junod 773ac433ce Merge pull request #2872 from fredj/remove_beforechange_event
Remove the beforepropertychange event from ol.Object
2014-10-24 21:03:31 +02:00
Frederic Junod 1d533d2924 Remove the beforepropertychange event from ol.Object
propertychange events include the oldValue so remove the beforepropertychange
event type.
2014-10-24 18:09:34 +02:00
Frédéric Junod a6c3607897 Merge pull request #2855 from fredj/blur_preventDefault
Move touchstart preventDefault to ol.renderer.dom.Map
2014-10-23 17:38:44 +02:00
Frederic Junod c83caa9686 Add ol.renderer.dom.Map#disposeInternal 2014-10-23 08:53:55 +02:00
Frederic Junod f440de2446 Move touchstart preventDefault to ol.renderer.dom.Map
`preventDefault` is called to prevent the img context menu on mobile devices.
2014-10-23 08:48:22 +02:00
Frederic Junod d8d0f87ad6 Add missing space between class names
Fixes #2845
2014-10-18 12:06:24 +02:00
Frédéric Junod a121d4c568 Merge pull request #2834 from fredj/compiler_mode_name_doc
Use ADVANCED instead of ADVANCED_OPTIMIZATIONS
2014-10-14 14:12:36 +02:00
Frederic Junod f277b5c9a5 Use ADVANCED instead of ADVANCED_OPTIMIZATIONS
ADVANCED_OPTIMIZATIONS is deprecated (but still accepted)
2014-10-14 14:01:31 +02:00
Frédéric Junod 0858017085 Merge pull request #2815 from fredj/leftover-2756
Fix jquery.min.js path in xyz-esri-4326-512 example
2014-10-08 14:33:42 +02:00
Frederic Junod bb1f51e5f0 Fix jquery.min.js path in xyz-esri-4326-512 example 2014-10-08 14:27:21 +02:00
Frédéric Junod 1f098633e2 Merge pull request #2814 from fredj/css-calc
Add missing whitespaces in CSS calc
2014-10-08 10:52:36 +02:00
Frederic Junod 2139e4455a Add missing whitespaces in CSS calc
See http://dev.w3.org/csswg/css-values/#calc-syntax
2014-10-08 10:40:27 +02:00
Frédéric Junod 3dcba3bf15 Merge pull request #2811 from fredj/leftover-2810
Remove defaultProjection and object from typedef
2014-10-07 16:24:21 +02:00
Frederic Junod 31bb1ada0a Remove defaultProjection and object from typedef
Leftover from #2810
2014-10-07 16:03:07 +02:00
Frédéric Junod 9d1101c727 Merge pull request #2779 from fredj/resources
Update jQuery to 1.9.1
2014-10-07 15:58:28 +02:00
Frédéric Junod 352d7071f7 Merge pull request #2808 from fredj/reprojectTo
Remove reprojectTo option from olx.source.OSMXMLOptions
2014-10-07 13:50:33 +02:00
Frédéric Junod 44c300bfef Merge pull request #2809 from fredj/button-cleanup
Miscellaneous controls cleanups
2014-10-07 13:37:27 +02:00
Frederic Junod be6c6ee93c Remove unused ResetRotation name attribute 2014-10-07 12:25:41 +02:00
Frederic Junod 0cf83c2047 Add missing 'button' type attribute to html button 2014-10-07 12:25:01 +02:00
Frederic Junod ec129f5778 Rename reprojectTo option to projection 2014-10-07 11:41:59 +02:00
Frederic Junod 4c1d2f8c86 Remove reprojectTo option from olx.source.OSMXMLOptions
Leftover from #1640
2014-10-07 10:41:32 +02:00
Frédéric Junod ee4ca5bd2c Merge pull request #2798 from fredj/update-closure-util
Update closure-util to version 1.0.0
2014-10-06 18:29:57 +02:00
Frederic Junod 04e7a81b1e Update closure-util to version 1.0.0 2014-10-06 13:42:34 +02:00
Frédéric Junod 24484d5e51 Merge pull request #2782 from fredj/hide-rotate
Hide the rotate control when the rotation is 0
2014-10-01 20:47:19 +02:00
Frederic Junod 6f3b01f3dc Hide the rotate control when the rotation is 0
To prevent the cursor to be displayed as a pointer (only happens with bootstrap)
2014-10-01 19:09:14 +02:00
Frederic Junod 898f5ac547 Update jquery to 1.9.1 2014-10-01 10:05:06 +02:00
Frederic Junod 078ba2dec0 Move jquery.min.js to resources 2014-10-01 09:59:20 +02:00
Frederic Junod fa60ec294e Remove 'examples/bootstrap' path from example filter
The directory was moved to resources/bootstrap in 6c5377eebe
2014-10-01 09:50:29 +02:00
Frédéric Junod 7273b501f1 Merge pull request #2774 from fredj/dead-code
Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown
2014-10-01 09:10:42 +02:00
Frederic Junod a3b3e044f5 Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown
The object is filled but never used.
2014-09-30 15:08:15 +02:00
Frédéric Junod c0fc220298 Merge pull request #2772 from fredj/changefeature
Rename updatefeature event to changefeature
2014-09-30 09:27:58 +02:00
Frederic Junod cf8738f9f6 Rename updatefeature event to changefeature 2014-09-30 09:02:53 +02:00
Frédéric Junod 1a4d841a26 Merge pull request #2764 from fredj/remove-rtree-example
Remove rtree example
2014-09-29 14:37:41 +02:00
Frederic Junod ced15e27c1 Remove rtree example
Fixes #2732
2014-09-29 13:29:52 +02:00
Frédéric Junod 14e8c098c8 Merge pull request #2763 from fredj/cleanup
Miscellaneous coding style and typo fixes
2014-09-29 11:45:14 +02:00
Frederic Junod 98ceee5d28 Fix documentation typo 2014-09-29 09:05:22 +02:00
Frederic Junod aaeb2b6938 Remove unnecessary parentheses 2014-09-29 09:05:22 +02:00
Frederic Junod 6e3a5ca7ca Remove unnecessary newlines 2014-09-29 09:05:22 +02:00
Frédéric Junod 5f51fbc93d Merge pull request #2658 from oterral/fix_getcap
Set inherited values when parsing a GetCapabilities
2014-09-25 13:51:40 +02:00
Frédéric Junod 884fb5736c Merge pull request #2750 from fredj/export-layer-base
Export ol.layer.Base
2014-09-25 10:58:04 +02:00
Frédéric Junod 9fd0b53b02 Merge pull request #2749 from fredj/export-source-source
Export ol.source.Source
2014-09-25 10:42:08 +02:00
Frederic Junod 48b9475bb6 Export ol.layer.Base
See #2615
2014-09-25 10:40:03 +02:00
Frederic Junod 4e5120ff71 Export ol.source.Source
Fixes #2615
2014-09-25 10:33:31 +02:00
Frédéric Junod aafe50c30e Merge pull request #2742 from fredj/updatefeature
Dispatch an 'updatefeature' from the vector source
2014-09-25 09:20:15 +02:00
Frédéric Junod d03755859f Merge pull request #2744 from fredj/feature-id-change
Fix ol.Feature 'change' event documentation
2014-09-24 09:35:14 +02:00
Frederic Junod 1dcde66839 Fix ol.Feature 'change' event documentation
Setting the id also dispatch a `change` event
2014-09-23 17:40:46 +02:00
Frederic Junod 79b8ef3a53 Dispatch an 'updatefeature' from the vector source 2014-09-23 16:19:00 +02:00
Frédéric Junod 7dcb54fb58 Merge pull request #2616 from fredj/attributions-target
Target for attribution links differs between maps
2014-09-23 14:46:11 +02:00
Frédéric Junod 5eaafc5936 Merge pull request #2724 from fredj/examples-unknownDefines
Error when compiling individual example
2014-09-17 16:25:58 +02:00
Frederic Junod 7ba7a61bb8 Disable unknownDefines check when compiling individual examples 2014-09-17 16:11:15 +02:00
Frederic Junod 0938ab654a Remove target attribute on attributions link 2014-09-17 11:26:15 +02:00
Frédéric Junod 8e2cc7e3db Merge pull request #2717 from fredj/rotate-css
Change the control visibility by using css class
2014-09-16 13:29:58 +02:00
Frederic Junod e136b4b4db Change the control visibility by using css class
Instead of changing the button opacity in the control, only add/remove
a css class (ol-hidden). This let the developer easily change the
behavior by updating the css.
2014-09-16 11:00:44 +02:00
Frédéric Junod 0b43183616 Merge pull request #2714 from fredj/opacity
Set the opacity directly to element.style.opacity
2014-09-15 17:13:50 +02:00
Frederic Junod ec9386acfe Set the opacity directly to element.style.opacity
goog.style.setOpacity handles the IE8 case (but we are doing the same
above in the same function) and Firefox prior to version 3.5 (latest
stable release in April 2011).

See https://developer.mozilla.org/en-US/docs/Web/CSS/opacity
2014-09-15 16:01:24 +02:00
Frédéric Junod 8bf43f5f22 Merge pull request #2647 from fredj/closure-lib-upgrade
Upgrade closure library version
2014-09-15 14:36:17 +02:00
Frédéric Junod 007fc34a23 Merge pull request #2549 from fredj/assume-array-native
Use goog.array.ASSUME_NATIVE_FUNCTIONS define
2014-09-15 13:28:14 +02:00
Frederic Junod fb87c22359 Set goog.array.ASSUME_NATIVE_FUNCTIONS to true 2014-09-11 13:24:13 +02:00
Frédéric Junod be7ee49701 Merge pull request #2702 from fredj/export-map
Add vector layer in export-map example
2014-09-10 09:48:32 +02:00
Frederic Junod 1ae3e2a7f4 Add vector layer in export-map example 2014-09-10 09:06:51 +02:00
Frederic Junod 20ce664068 Remove mousewheel event name workaround
Fixed upstream https://github.com/google/closure-library/pull/308
2014-09-09 15:03:18 +02:00
Frederic Junod 2b395d3160 Add missing goog.require 2014-09-09 15:03:18 +02:00
Frederic Junod 2eb9a4b72e Upgrade closure-library and closure-util version 2014-09-09 15:03:18 +02:00
Frédéric Junod ad1f255211 Merge pull request #2687 from fredj/legacy-ie
Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define
2014-09-09 09:25:56 +02:00
Frédéric Junod 95d295bc6b Merge pull request #2675 from fredj/map.getlayers
Remove undefined from ol.Map#getLayers return type
2014-09-08 16:30:47 +02:00
Frederic Junod c0c14cb09c Remove undefined from ol.Map#getLayers return type
It's already assumed that the collection is defined in ol.Map#addLayer
and ol.Map#removeLayer.
2014-09-08 15:47:14 +02:00