Commit Graph

10584 Commits

Author SHA1 Message Date
Peter Robins f5c6565617 Some additions to View2d docs
[ci skip]
2013-10-22 07:15:30 -04:00
Tom Payne ba1a4cbac8 Merge pull request #1144 from twpayne/wms-logo
Add missing logo option for ol.source.TileWMS
2013-10-18 07:26:02 -07:00
Tom Payne 2a1bdf6b16 Add missing logo option 2013-10-18 15:56:05 +02:00
Tom Payne 9997e710ea Merge pull request #1143 from twpayne/wmts-logo
Logo given in options not being displayed
2013-10-18 05:32:25 -07:00
Tom Payne 228ff4e56b Add missing logo option 2013-10-18 14:23:16 +02:00
Éric Lemoine c8f02fcd6e Merge pull request #1141 from elemoine/relay
Do not relay contextmenu and mousemove events
2013-10-18 02:58:17 -07:00
Éric Lemoine 1c890d837e Unconditonally set the framestate focus 2013-10-18 10:03:59 +02:00
Éric Lemoine 08bad9746b Do not relay mouseout events 2013-10-18 10:00:53 +02:00
Éric Lemoine 4008ab7f6c Vector examples display feature info on click again 2013-10-18 09:59:47 +02:00
Éric Lemoine 4c7f30c139 Make overlay container stop touchend and mouseup 2013-10-18 09:59:47 +02:00
Éric Lemoine 70eb5a5f13 Emulate click and dblclick on touch devices 2013-10-18 09:59:47 +02:00
Éric Lemoine fe3440a83d Use jQuery to listen to map mousemove in examples
This commit also removes the click listener, which was used for touch devices. The click listener will be added back when the lib will correctly handle clicks on touch devices.
2013-10-18 09:59:47 +02:00
Éric Lemoine 938f45a032 Do not relay mousemove events 2013-10-18 09:59:46 +02:00
Éric Lemoine 1c051aa055 Do not relay contextmenu events 2013-10-18 09:59:46 +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
ahocevar 33f426fd85 Merge pull request #1135 from ahocevar/no-blur
Use integers when positioning on the target canvas
2013-10-16 09:03:08 -07:00
ahocevar 386fac2429 Use integers when positioning on the target canvas
This avoids blurred images after view center changes (dx, dy)
and at fractional zoom levels (dw, dh).
2013-10-16 16:39:45 +02:00
Tim Schaub a8442df56a Merge pull request #1136 from pagameba/null-framestate-bug
Fix a bug when frameState is null which occurs in offline mobile devices.
2013-10-16 06:46:20 -07:00
Tim Schaub 3c5107b218 Merge pull request #1133 from tschaub/align-pixels
Ensure that pixels are aligned when rendering icons.
2013-10-16 06:37:46 -07:00
Paul Spencer 3173ddbb5f Fix a bug when frameState is null which occurs in offline mobile devices 2013-10-16 08:59:46 -04:00
Éric Lemoine 63c9aed620 Merge pull request #1077 from ThomasG77/setPositioning
Export ol.Overlay#setPositioning
2013-10-16 02:50:38 -07:00
Tim Schaub b02f47a5a5 Align pixels when drawing icons or shapes
The floor before setting the transform ensures that we translate by integer pixels for odd and even dimenstions.  The round before drawing the image ensures pixels are aligned.
2013-10-15 22:12:12 -06:00
Tim Schaub 5fe7c20450 Merge pull request #1132 from tschaub/wide-stroke
Only call lineTo if we are in a new pixel.
2013-10-15 12:35:58 -07:00
Éric Lemoine a5c6a865bf Merge pull request #1129 from elemoine/eventcoord
Add ol.Map#getEventPixel and ol.Map#getEventCoordinate
2013-10-15 04:03:07 -07:00
Tom Payne 3eded60938 Merge pull request #1118 from twpayne/build-examples-together
Build examples together
2013-10-15 03:48:34 -07:00
Éric Lemoine 69642f9a6d Export ol.Map#getViewport 2013-10-15 11:33:32 +02:00
Tim Schaub 2011e02364 Avoid calling lineTo on the same pixel for polygon stroke 2013-10-14 17:07:06 -06:00
Tim Schaub 71a6c4f270 Only call lineTo if we are in a new pixel for linestring
Rendering performance degrades as the context lineWidth increases when calling lineTo many times for the same pixel coordinate.  This appears to be a widespread performance issue and is very clearly improved by only calling lineTo when in a new pixel coordinate.
2013-10-14 17:06:44 -06:00
Éric Lemoine be4d8a5698 Merge pull request #1131 from jomue/fix-apidoc-typo
Fix 2 typos on the API docs mainpage
2013-10-14 14:15:56 -07:00
Jonas Mueller 3c902af042 Typo retieving -> retrieving 2013-10-14 22:50:19 +02:00
Jonas Mueller 843c9cab83 Typo describes -> describe 2013-10-14 22:48:17 +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
Éric Lemoine 4c04c9fa5c Use getCoordinatePixel in ol.MapBrowserEvent 2013-10-14 15:36:46 +02:00
Éric Lemoine 49e0af5abb Use getEventPixel in ol.MapBrowserEvent 2013-10-14 15:36:37 +02:00
Éric Lemoine 3aeb4d1584 Export ol.Map#getEventCoordinate 2013-10-14 15:30:23 +02:00
Éric Lemoine dbdacec6df Export ol.Map#getEventPixel 2013-10-14 15:30:23 +02:00
Frederic Junod 9ffabb481c Rename offset* attributes to delta* 2013-10-14 14:22:51 +02:00
Éric Lemoine c9b1ba51fa Add ol.Map#getEventCoordinate 2013-10-14 09:43:25 +02:00
Éric Lemoine 406207213f Add ol.Map#getEventPixel 2013-10-14 09:43:11 +02:00
Tim Schaub 86bb213048 Merge pull request #1126 from kryger/patch-1
Typo crossOriin => crossOrigin.
2013-10-13 10:13:50 -07:00
Lukasz Kryger f1c45c4a6c Typo crossOriin => crossOrigin 2013-10-13 17:57:22 +01:00
Bruno Binet c07933beef Merge pull request #1120 from bbinet/overlay-stop-events
Configurable event propagation for overlays
2013-10-11 07:13:31 -07:00
Bruno Binet 06580950ca Add controls to ol-overlaycontainer-stopevent
so that events won't be propagated to the map when interacting with a control
2013-10-11 12:51:22 +02:00
Bruno Binet e1da49fb32 Merge pull request #1121 from bbinet/fix-whitespace-indent
Fix indent
2013-10-11 03:24:32 -07:00
Bruno Binet aaf64c8fec Fix indent 2013-10-11 12:23:21 +02:00
Bruno Binet 623b2fab14 Adjust event propagation for popup example 2013-10-11 12:17:08 +02:00
Bruno Binet 2d0fdfdd87 Adjust event propagation for overlay example 2013-10-11 12:17:08 +02:00