Commit Graph

10559 Commits

Author SHA1 Message Date
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
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
Bruno Binet
caf958826d Add new container which don't stop event propagation
and allow overlays to optionnally stop event propagation
2013-10-11 12:16:56 +02:00
Bruno Binet
8c8dbe2ece Add stopEvent option in ol.OverlayOptions typedef 2013-10-11 12:14:58 +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
Tom Payne
3f1ae87eee Only build combined examples in integration tests 2013-10-10 16:45:24 +02:00
Tom Payne
e2df5ceacb Add target to concatenate and build all examples 2013-10-10 16:45:05 +02:00
Tom Payne
effc09edd6 Add script to combine examples 2013-10-10 16:44:34 +02:00
Éric Lemoine
4c765d817d Merge pull request #1116 from elemoine/loader
Revert "Always set CLOSURE_NO_DEPS to true"
2013-10-10 06:41:33 -07:00
Éric Lemoine
036dee55a9 Revert "Always set CLOSURE_NO_DEPS to true"
This reverts commit aa5a571ab1.
2013-10-10 09:26:37 +02:00
Tim Schaub
08de33c020 Merge pull request #1115 from tschaub/no-deps
Stop base.js from trying to load deps.js.
2013-10-09 16:03:28 -07:00
Tim Schaub
ca3dcb0e14 Stop base.js from trying to load deps.js 2013-10-09 15:47:30 -06:00
Tim Schaub
dd67c7d8c3 Merge pull request #1111 from tschaub/font-weight
Add fontWeight property to TextSymbolizer.
2013-10-09 13:20:47 -07:00
Tim Schaub
3893351d01 Merge pull request #1113 from tschaub/point-symbolizers
ol.style.Shape and ol.style.Icon don't inherit from ol.style.Point.
2013-10-09 13:19:14 -07:00
Tim Schaub
2ee776d9f6 Support fontWeight in text symbolizer 2013-10-09 11:59:30 -06:00
Tim Schaub
d5ab5ec1d2 Shape symbolizer extends point symbolizer 2013-10-09 09:01:51 -06:00
Tim Schaub
e36c53dd23 Icon symbolizer extends point symbolizer 2013-10-09 09:01:30 -06:00
Tom Payne
7be90877fe Merge pull request #1105 from twpayne/example-fixes
Example type-related fixes
2013-10-09 04:56:45 -07:00
Tim Schaub
f302fee5ad Merge pull request #1108 from tschaub/java
Rely on java in path.
2013-10-08 13:53:27 -07:00
Tim Schaub
03c7e7c031 Rely on java in path 2013-10-08 13:47:46 -06:00
Tim Schaub
2f3cd430de Merge pull request #1070 from tschaub/text-stroke
Add stroke support to text symbolizers.
2013-10-08 08:12:11 -07:00
Tom Payne
2f10e62b76 Merge pull request #1100 from twpayne/animation-duration-control
Animation duration control
2013-10-08 06:53:18 -07:00
Tom Payne
1a000c3719 Add typecast in WMTS IGN example 2013-10-08 15:37:32 +02:00
Tom Payne
4e5d50de98 Fix use of ol.dom.Input numeric value 2013-10-08 15:30:26 +02:00
Tom Payne
88d019a0bb Add typecasts in animation example 2013-10-08 15:29:44 +02:00