Commit Graph

12742 Commits

Author SHA1 Message Date
Andreas Hocevar 89c5364b2f Use correct extent for the vector image 2020-01-24 13:50:02 +01:00
Vincent Lecrubier 3a5c8d637c Zoomify: Separate the service pixel ratio and the device pixel ratio 2020-01-22 09:32:11 +00:00
mike-000 5830a36131 Convert any html character codes in labels
fix typedef
2020-01-20 10:37:04 +00:00
mike-000 83d65b61e1 Convert any html character codes in labels
fix typedef
2020-01-20 10:30:44 +00:00
mike-000 c221cc7a46 Convert any html character codes in labels
reuse single textarea element
2020-01-20 10:24:57 +00:00
mike-000 23858dc09d Convert any html character codes in labels 2020-01-19 11:28:05 +00:00
mike-000 9493d68217 Make feature styles compatible with declutter
Remove type def relating to deleted line
2020-01-18 20:19:56 +00:00
mike-000 258bfeaecc Make feature styles compatible with declutter
Return a single style object for image and text for point features as concatenating two styles in an array is not compatible with decluttering
2020-01-18 19:37:18 +00:00
Andreas Hocevar 2f094978ca Merge pull request #10502 from walkermatt/stopevent-removed-target
Stop events that originate with a removed target
2020-01-17 21:34:39 +01:00
Andreas Hocevar de5cd5c664 Merge pull request #10527 from ahocevar/no-label-cache
Remove label cache, render text directly to target canvas
2020-01-16 09:23:41 +01:00
Tim Schaub 8e2adf9955 Merge pull request #10534 from wussup/patch-1
[GeoJSON] Read projection from CRS type EPSG
2020-01-15 15:21:28 -07:00
jkonieczny 2112478b6b Added test + jsdoc 2020-01-15 11:13:45 +01:00
jkonieczny 78378f0253 refactor offset to displacement 2020-01-15 11:13:45 +01:00
jkonieczny 4c7f52c8a4 Offset for ImageStyle 2020-01-15 11:13:44 +01:00
jkonieczny 1506e13b60 use anchor for offsetting 2020-01-15 11:13:44 +01:00
jkonieczny 601bd7bae6 add offset option to RegularShape 2020-01-15 11:13:44 +01:00
wussup cbdd63a38b Strings must have singlequotes
Strings must have singlequotes
2020-01-15 10:29:14 +01:00
wussup bc6f34d691 Read projection from CRS type EPSG
CRS also may have type 'EPSG' and then the code is reading from property 'code' in object 'properties'
2020-01-15 10:13:18 +01:00
philip 76b926420c Only draw the piece of the source canvas that is required. I.e. take the clip
region into account.
2020-01-14 23:52:54 +00:00
philip ccf3532eb2 Fix the parameter name to have the opt_ prefix. 2020-01-14 13:48:23 +00:00
philip d2b0599177 Dynamically chose the number of subdivisions based on the size of the Image. 2020-01-14 13:39:52 +00:00
Andreas Hocevar fd935bae53 Remove label cache, render text directly to target canvas 2020-01-13 22:12:53 +01:00
Matt Walker 4e599a370b Use document.body to check if an event target is within the page
Some events will originate outside the map viewport such as keyboard
events which originate with the element specified by keyboardEventTarget
which could be document.body
2020-01-13 10:56:41 +00:00
philip 1772c8198b Added comment pointing to an area of improvement 2020-01-11 18:07:09 +00:00
philip 6666014721 Merge remote-tracking branch 'origin/master' into fix_triangulation
Conflicts:
	src/ol/TileCache.js
2020-01-11 17:36:40 +00:00
philip 852f6552c7 Fix pixel rounding 2020-01-11 17:29:26 +00:00
mike-000 0512c690f8 Fix for reset north when rotation is 360 degrees
Animated reset north doesn't work and isn't needed if rotation is 360 degrees (or a multiple of 360)
2020-01-10 13:39:29 +00:00
Matt Walker f3d94b3132 Fix lint error 2020-01-10 11:16:54 +00:00
Matt Walker 34dc538122 Stop events that originate with a removed target
As discussed in https://github.com/openlayers/openlayers/issues/6948#issuecomment-565375694

The check to see if the target is within the "page" uses the viewport as
the MapBrowserEventHandler instance adds it's listeners to the viewport.

Using Node.contains appears to have a slight performance benefit
over manually walking the DOM.
2020-01-10 10:48:15 +00:00
gazza0 420e7d87ae Fixing issue #10497 on behalf of LarryHuang
Since Larry is not able to access github, i'm committing on behalf of him, explanation of the issue and he's original fix can be found https://github.com/openlayers/openlayers/issues/10497
2020-01-09 02:52:21 -08:00
Andreas Hocevar 44fab1000e Merge pull request #10496 from ahocevar/stopevent-dragging
Do not stop events when dragging
2020-01-09 09:52:57 +01:00
Andreas Hocevar a4735e0700 Merge pull request #10478 from ahocevar/abort-without-dispose
Do not abort and dispose of tiles
2020-01-09 09:52:07 +01:00
Andreas Hocevar b26f570cb7 Do not stop events when dragging 2020-01-08 21:39:29 +01:00
Andreas Hocevar 9f4dbd3c35 Reuse existing canvases from vector render tiles 2020-01-08 10:53:43 +01:00
Andreas Hocevar 5a8df1d4e2 We no longer need to increase the cache size 2020-01-08 10:53:42 +01:00
Andreas Hocevar 46d98201c3 Store source tiles on render tile instead of source 2020-01-08 10:53:42 +01:00
Dan Lim 21e9601d7b typo in view.fit 2020-01-07 16:12:06 -08:00
Tim Schaub 8125463e59 Merge pull request #10473 from mike-000/patch-1
Fix for undefined source in Vector layer
2020-01-06 18:25:11 -07:00
mike-000 cb665b7ea7 Simplify to return false if layer has no source 2020-01-06 17:31:38 +00:00
Frederic Junod 5a1921d7bd Use a function to get the value of the gradient 2020-01-06 10:52:16 +01:00
philip 902ed53999 Add detection of browsers which cannot render correctly with diagonal
clipping regions. In this case, modify the shape of the clip region
so that it has (a number) of horizontal and vertical edges.
2020-01-06 02:23:58 +00:00
Björn Harrtell 05a5f162d4 Move logic from dom to xml module 2020-01-05 13:12:27 +01:00
Björn Harrtell 5b661ed84c Fix jsdoc 2020-01-05 13:00:44 +01:00
Björn Harrtell bdc20e0293 Rework to register Document and add XMLSerializer 2020-01-05 13:00:44 +01:00
Björn Harrtell fc46166821 Fix argument name mixup 2020-01-05 13:00:44 +01:00
Björn Harrtell 90d61033e0 Rework to make DOMImplementation lazy and injectable 2020-01-05 13:00:44 +01:00
Andreas Hocevar 2875685b3c Use TileCache instead of custom structure 2020-01-05 12:25:44 +01:00
Andreas Hocevar ae1ee192f3 Avoid misleading bind argument 2020-01-05 12:09:46 +01:00
Andreas Hocevar bec747e513 Remove unused argument and member 2020-01-05 12:08:43 +01:00
Andreas Hocevar 6affeb0beb Do not dispose VectorRenderTiles 2020-01-05 11:52:45 +01:00