Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod cad215e0cc Merge pull request #230 from fredj/touch-navigation
Touch navigation issues
2013-03-04 00:42:59 -08:00
Frédéric Junod d783df0840 Merge pull request #223 from fredj/touch-click
Click handling broken
2013-03-03 12:43:01 -08:00
Frederic Junod 0a80feccfc Allow touch event (touchstart) to fire click events 2013-03-03 14:45:12 +01:00
Frederic Junod c72877b33b Listen to both click and touchend events 2013-03-03 14:45:12 +01:00
Frédéric Junod b14912567b Merge pull request #244 from fredj/zoom-control
Zoom control
2013-03-03 04:37:44 -08:00
Frederic Junod 0fcc06b8ae Set ol-zoom content in css using :before pseudo class 2013-03-03 12:23:29 +01:00
Frederic Junod 7d79a77052 Remove css size dependent rule (hover color) 2013-03-03 12:10:12 +01:00
Frederic Junod 66d4c44159 Rename ol.ViewHint.PANNING to ol.ViewHint.INTERACTING 2013-03-03 10:44:58 +01:00
Frédéric Junod 8a66d69d3b Merge pull request #235 from fredj/tilejson-externs
Fix 'grids' type declaration.
2013-03-01 01:17:59 -08:00
Frédéric Junod 709b5f2e73 Merge pull request #236 from fredj/exports
Add some missing exports and fix side-by-side example
2013-02-27 12:51:43 -08:00
Frederic Junod 5ccf94a395 Do not use goog.now() in the examples (see #229) 2013-02-27 13:58:30 +01:00
Frederic Junod 90cb0e8fcb Export ol.easing.* 2013-02-27 13:52:39 +01:00
Frederic Junod dda4060d84 Export ol.animation.zoom 2013-02-27 13:35:32 +01:00
Frederic Junod 7a8b331213 Fix 'grids' type declaration.
grids property is optional.
see: https://github.com/mapbox/tilejson-spec/blob/master/2.0.0/README.md
2013-02-27 10:18:19 +01:00
Frederic Junod 3b74f72c56 Add optional kinetic parameter. 2013-02-26 10:54:15 +01:00
Frederic Junod 20e8eab142 Add missing 'protected' comment for targetTouches prop. 2013-02-26 09:46:24 +01:00
Frederic Junod 585c397a0f Reset position on touch end 2013-02-26 08:58:47 +01:00
Frederic Junod c0aa50abfc Split TouchRotateAndZoom interaction.
Split TouchRotateAndZoom interaction into two new interaction:
TouchRotate and TouchZoom.
2013-02-26 08:58:47 +01:00
Frédéric Junod 03e502fba1 Merge pull request #225 from fredj/css-cleanup
Remove CSS color workarounds.
2013-02-21 06:35:29 -08:00
Frederic Junod 9eeea82338 Remove CSS color workarounds. 2013-02-21 15:21:17 +01:00
Frédéric Junod 60f0bdb113 Merge pull request #168 from fredj/touch-events
Touch events support
2013-02-21 03:29:51 -08:00
Frederic Junod 8d24311bc8 Take the resolution constraint into account.
But only at the end of the pinch zoom action.
2013-02-20 09:40:19 +01:00
Frederic Junod 3e4ae0d79d Stop ongoing kinetic animation 2013-02-20 09:33:04 +01:00
Frederic Junod 48ff4a95e0 Remove unused variable, coding style 2013-02-20 09:33:04 +01:00
Frederic Junod 8c1d42a318 Listen to both mouse and touch events 2013-02-20 09:33:04 +01:00
Frederic Junod 735e534095 Add ol.interaction.TouchRotateAndZoom 2013-02-20 09:33:04 +01:00
Frederic Junod d9a1c18300 Add ol.interaction.TouchPan 2013-02-20 09:32:34 +01:00
Frederic Junod ccd568ca3b Remove unused goog.require 2013-02-20 09:31:40 +01:00
Frederic Junod a066b323f2 Move dblclick handling into touch handlers 2013-02-20 09:31:40 +01:00
Frederic Junod 942255e177 Listen to IE pointer events 2013-02-20 09:31:40 +01:00
Frederic Junod 0d42e08785 Add listeners for touchstart, touchmove and touchend events 2013-02-20 09:31:40 +01:00
Frederic Junod dc40ac6831 Remove touch events handling in handleMouse* handlers 2013-02-20 09:31:39 +01:00
Frederic Junod 0296380807 Rename MapBrowserEventHandler internal handlers name 2013-02-20 09:31:39 +01:00
Frédéric Junod cb0fb64dd9 Merge pull request #214 from fredj/supported-const
Rename *.isSupported functions to *.SUPPORTED constants
2013-02-19 08:35:59 -08:00
Frederic Junod c117fbbf7c Rename ol.Geolocation.isSupported to ol.Geolocation.SUPPORTED.
And add the 'const' JSDoc Tags.
2013-02-19 16:51:59 +01:00
Frederic Junod 7e3dcf36a0 Rename ol.*.isSupported function to ol.*.SUPPORTED const 2013-02-19 16:14:37 +01:00
Frédéric Junod 4dd78719cf Merge pull request #201 from fredj/kinetic-begin
Remove x,y params from ol.Kinetic.begin
2013-02-18 08:01:27 -08:00
Frederic Junod e4a5744e06 Remove x,y params from ol.Kinetic.begin 2013-02-18 16:43:20 +01:00
Frédéric Junod b305d7fdfa Merge pull request #192 from fredj/rotation
Change view.rotate params: rotation and optional anchor.
2013-02-14 04:48:42 -08:00
Frederic Junod 34975428c4 Change view.rotate params: rotation and optional anchor. 2013-02-14 12:17:26 +01:00
Frédéric Junod b4bd1a5569 Merge pull request #190 from fredj/rotation
view.getRotation default value already set to 0.
2013-02-12 06:55:34 -08:00
Frederic Junod f4e9dd5c37 view.getRotation default value already set to 0. 2013-02-12 15:37:08 +01:00
Frédéric Junod 03b10204a4 Merge pull request #173 from fredj/geolocation
Add ol.Geolocation
2013-02-08 21:57:11 -08:00
Frederic Junod a36145fc1f Check if the Geolocation API is supported 2013-02-07 16:20:15 +01:00
Frederic Junod 44a5eca437 Add ol.Geolocation.isSupported property 2013-02-07 15:59:12 +01:00
Frédéric Junod f7ba03f4dd Merge pull request #179 from fredj/kinetic-update-arg
Change ol.Kinetic.update and begin arguments.
2013-02-07 00:08:01 -08:00
Frédéric Junod 9c9fe4a9b1 Merge pull request #181 from fredj/rotation-anim
Replace ol.animation.createSpin with ol.animation.createRotateFrom
2013-02-06 08:39:22 -08:00
Frederic Junod 3355f9345d Replace ol.animation.createSpin with ol.animation.createRotateFrom 2013-02-06 17:10:21 +01:00
Frederic Junod 2fea469037 Change ol.Kinetic.update arguments.
Instead of goog.events.BrowserEvent, accept a x,y pair.
2013-02-06 12:55:15 +01:00
Frederic Junod 753b37ad47 Add 'undefined' return type for all get* functions 2013-02-06 11:00:55 +01:00
Frederic Junod a679bb7bef Set handleProjectionChanged from protected to private 2013-02-06 10:59:18 +01:00
Frederic Junod 114280e60e Add a marker at the device position 2013-02-04 12:29:20 +01:00
Frederic Junod 6675de437f Handle projection change in ol.Geolocation 2013-02-04 09:46:31 +01:00
Frederic Junod 38f245c5c8 Add projection property to ol.Geolocation 2013-02-01 13:53:55 +01:00
Frederic Junod 37e172f043 Add missing export file for ol.Geolocation 2013-02-01 13:50:43 +01:00
Frederic Junod 035f487dc5 Add ol.Geolocation 2013-02-01 11:10:17 +01:00
Frédéric Junod 47fbdb53e2 Merge pull request #167 from fredj/mapbrowserevent-listen
Listen to all ol.MapBrowserEvent events
2013-01-29 03:15:19 -08:00
Frederic Junod a980de7830 Listen to all ol.MapBrowserEvent events 2013-01-29 11:29:27 +01:00
Frédéric Junod eb103d3bd1 Merge pull request #160 from fredj/dblclick-unlisten
Remove event listener cleanups
2013-01-28 04:19:24 -08:00
Frederic Junod f8646394ae Remove event listener with goog.events.unlistenByKey 2013-01-28 10:37:32 +01:00
Frederic Junod 9e030854b2 Don't remove event listener for this.handleUp_ twice.
The listener key is in this.dragListenerKeys_
2013-01-28 10:31:24 +01:00
Frederic Junod 01098c4d8c Remove event listener with goog.events.unlistenByKey 2013-01-28 10:26:09 +01:00
Frederic Junod f208e99c64 Add missing goog.events.EventType.DBLCLICK argument to unlisten 2013-01-28 09:54:41 +01:00
Frederic Junod 43fe004917 Add a comment about msTouchAction css on viewport 2013-01-25 17:37:04 +01:00
Frédéric Junod 36500682c3 Merge pull request #157 from fredj/ms-touch
Direct all pointer events to js code (IE pointer events)
see: http://msdn.microsoft.com/en-us/library/ie/hh673557(v=vs.85).aspx
2013-01-25 08:16:05 -08:00
Frederic Junod 9c794d8b00 Direct all pointer events to js code (IE pointer events).
see: http://msdn.microsoft.com/en-us/library/ie/hh673557(v=vs.85).aspx
2013-01-25 16:38:45 +01:00
Frederic Junod bf63ddfebe Test if browser supports Windows Pointer events 2013-01-25 16:38:45 +01:00
Frédéric Junod d6c96c058f Merge pull request #133 from fredj/options-obj
ol.animation.create* functions should use options objects rather than positional arguments
2013-01-23 08:50:22 -08:00
Frederic Junod 7568688301 Use option object rather than positional arguments for ol.animation.create* functions 2013-01-23 17:07:55 +01:00
Frederic Junod be64408728 Export map as jpeg instead of png 2013-01-21 16:13:19 +01:00
Frédéric Junod 9969a64d81 Merge pull request #143 from fredj/get-renderer-canvas
Get renderer canvas
2013-01-21 07:09:18 -08:00
Frederic Junod 8cbe0fbbbb Export canvas map as jpeg image 2013-01-21 16:08:33 +01:00
Frederic Junod 2f2ea373ca Add ol.renderer.Map.getCanvas function. Only valid with the canvas and webgl renderers 2013-01-21 15:18:18 +01:00
Frederic Junod c836c8d9c4 Add ol.Map.getRenderer function 2013-01-21 15:08:15 +01:00
Frédéric Junod a51cd3b9bd Merge pull request #139 from fredj/easing
Add new ol.easing.elastic and ol.easing.bounce easing functions.
2013-01-21 04:36:45 -08:00
Frederic Junod 8825251c42 Add new ol.easing.elastic and ol.easing.bounce easing functions. 2013-01-21 09:48:56 +01:00
Frederic Junod 4de5adf32d make replaced with build.py 2013-01-07 09:16:25 +01:00
Frederic Junod 14f7b9a41e git-update-ghpages removed, bin/readme.md no longer necessary 2012-11-14 12:50:13 +01:00
Frédéric Junod 12d5626288 make replaced with build.py 2012-11-14 12:45:07 +01:00
Frederic Junod 6eb505eb2b Remove question mark from wms urls (see #85) 2012-11-08 09:02:03 +01:00
Frédéric Junod 1de8821739 Merge pull request #81 from fredj/wms-format
Use jpeg tiles for background layer
2012-11-02 07:58:52 -07:00
Frederic Junod 127c00e1ea Use jpeg tiles for background layer 2012-11-02 15:52:34 +01:00
Frédéric Junod 2b4a7e418e Merge pull request #47 from fredj/protocol-relative
Use protocol-relative URL for Bing metadata.
2012-10-04 01:24:16 -07:00
Frederic Junod c38889955c Use protocol-relative URL for Bing metadata.
The [URI standard](http://tools.ietf.org/html/rfc3986#section-4.2)
allows for URI without a scheme.  Where http is used to load the app,
using a schemeless URL for the Bing metadata loads a script using http
- and the same goes for https.
2012-10-04 09:16:30 +02:00
Frédéric Junod 73a93c4f48 Merge pull request #43 from fredj/interaction-traversal
Travese the interaction array in reverse order.
2012-10-03 08:58:13 -07:00
Frederic Junod e700ed99be Travese the interaction array in reverse order.
The interactions added via getInteractions().push(...) are evaluated
first.
2012-10-03 16:52:38 +02:00
Frédéric Junod 67770c439a Merge pull request #39 from fredj/getinteraction
Remove interactions from MapProperty
2012-10-03 04:22:36 -07:00
Frederic Junod 488a8224c3 Remove interactions from MapProperty 2012-10-03 11:39:04 +02:00
Frédéric Junod 10708ccfea Merge pull request #38 from fredj/overlay-example
Overlay example
2012-10-02 10:27:33 -07:00
Frederic Junod 3df18d2df8 Use existing local coordinate var 2012-10-02 11:26:44 +02:00
Frederic Junod 8a5e7c77c9 Don't set map at each click 2012-10-02 11:25:58 +02:00
Frédéric Junod 6b0669c834 Fix path to ol.css 2012-10-01 11:05:37 +03:00
Frederic Junod 0b6f4e348c Fix plovr download path 2012-07-20 13:36:21 +02:00
Frederic Junod bd27f6a2ae Remove deprecated reproject property in Tile.Image tests 2012-05-31 11:47:40 +02:00
Frédéric Junod 1c4253f465 Merge pull request #500 from fredj/scrollable
Handler.MouseWheel: don't always block the handler
2012-05-31 02:08:23 -07:00
Frédéric Junod 4c788c156b Merge pull request #474 from fredj/2685
Remove Handler.MouseWheel mozilla workaround.
2012-05-31 01:05:17 -07:00
Frederic Junod 0e24164da3 Remove mouse wheel work-around in tests for Opera < 9.2 (see #498) 2012-05-31 09:39:28 +02:00
Frederic Junod b0377b54b0 Call the callbacks if the cursor is over a div with an 'olScrollable' css class 2012-05-31 09:36:28 +02:00
Frédéric Junod 2bb9385b53 Merge pull request #499 from fredj/global-var
Remove global variable 'overflow', no functional change.
2012-05-30 07:55:45 -07:00
Frederic Junod 792e6d6a2c Remove global variable 'overflow', no functional change. 2012-05-30 16:42:30 +02:00