Andreas Hocevar
8b76f52652
Make createTransformString work in non-window context
2020-03-23 12:46:20 +01:00
Andreas Hocevar
717b8ad0cf
Make createCanvasContext2D work in non-window context
2020-03-23 12:46:19 +01:00
Andreas Hocevar
f896d9fb03
Move tile priority function to the TileQueue module
2020-03-23 12:46:18 +01:00
Andreas Hocevar
3944a5a038
Make DEVICE_PIXEL_RATIO work in non-window context
2020-03-23 12:46:18 +01:00
Jiri Lysek
2b6e767840
encoding color into KML
2020-03-23 10:10:12 +01:00
Maximilian Krög
24f9e1c6ac
Update comment for the IconImage replaceColor_ method
2020-03-22 13:29:29 +01:00
Maximilian Krög
fbb0364ea5
Make Icon's color attribute work in ie11
2020-03-21 00:33:41 +01:00
Jiri Lysek
7bf44078e1
fixed type comment
2020-03-19 13:32:02 +01:00
Jiri Lysek
d5b3d27e62
parsing color from IconStyle in KML files
2020-03-19 13:02:53 +01:00
regileeso
406c38403b
make ImageSourceEventType available for consumers
2020-03-13 11:36:20 +00:00
Edward Nash
859bf338a2
Use Object for options to Overlay panIntoView
...
* animation and margin encapsulated in a single object to allow
easier extension in future
* Constructor options extended to allow single object for
autoPan; separate options still allowed but deprecated
* Protected fields for animation and margin replaced with single
field
2020-03-13 10:12:14 +01:00
Edward Nash
022caae848
Document default margin in Overlay.panIntoView
2020-03-12 09:37:40 +01:00
Edward Nash
092a199757
Make Overlay.panIntoView an API method
...
* Add parameters for custom animation parameters and margin
* Add protected wrapper method for previous autoPan functionality
See #10741
2020-03-12 08:57:32 +01:00
Andreas Hocevar
0b7b979c89
Merge pull request #10474 from mike-000/patch-2
...
Fix for undefined source in Image layer
2020-03-11 18:05:29 +01:00
mike-000
4ca966bd92
show labels in wrapped worlds
...
test labels in wrapped world
2020-03-11 16:06:31 +00:00
Andreas Hocevar
f448d7179a
Merge pull request #10785 from ahocevar/zoomify-retina
...
Detect Zoomify server-side retina tiles
2020-03-11 11:05:57 +01:00
Andreas Hocevar
2f35a3be75
Merge pull request #10792 from flexjoly/native-javascript-eventListener.handleEvent
...
Add support for EventListener Object
2020-03-10 19:17:22 +01:00
Andreas Hocevar
e59aa02a15
Remove duplicated for loop
2020-03-10 14:20:20 +01:00
Andreas Hocevar
4fa454f2b3
Fix types
2020-03-10 14:20:12 +01:00
Andreas Hocevar
ed10ac168b
Merge pull request #10791 from sosmo/fix-ios-pointermove-2
...
iOS 12 touchmove: Prevent touchmove event default when no preceding pointer event
2020-03-10 13:40:59 +01:00
Andreas Hocevar
5e51e397bb
Merge pull request #10786 from ahocevar/resolve-contraints-on-updatesize
...
Resolve constraints when updating size
2020-03-10 13:05:29 +01:00
Lydia de Jongh
e099257461
Add support for EventListener Object
...
See: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
Support for native javascript eventListener.handleEvent()
Typedef not correct yet.
2020-03-10 12:51:05 +01:00
Sampo Osmonen
dd480feda1
Prevent touchmove event default when no preceding pointer event
...
Prevents zooming the page instead of the map on the first interaction
2020-03-10 12:56:15 +02:00
Andreas Hocevar
9f76ec197a
Merge pull request #10788 from sosmo/fix-ios-pointermove
...
Add safeguard to handleTouchMove
2020-03-10 09:49:42 +01:00
Andreas Hocevar
a1386e3a1f
Update comment
2020-03-10 09:36:10 +01:00
John Leonard
e6a2d4b235
fix: handle layer clear event in case clear(true) called
...
and individual delete feature events aren't generated
2020-03-09 18:36:12 +00:00
Sampo Osmonen
85d84a0c40
Add safeguard to handleTouchMove
2020-03-09 19:37:21 +02:00
Andreas Hocevar
c5fd013e31
Resolve constraints when updating size
2020-03-09 16:20:21 +01:00
Andreas Hocevar
686b4dbdc8
Merge pull request #10723 from mike-000/patch-6
...
Improve the extent transforms used by Graticule and handle extents crossing the dateline
2020-03-09 15:26:52 +01:00
Andreas Hocevar
ad476f6086
Detect Zoomify server-side retina tiles
2020-03-09 15:22:43 +01:00
Jackie Ng
6d16fe8405
Make arg2 of GeometryFunction also optional as it comes after an optional arg1
2020-03-05 01:01:03 +11:00
Jackie Ng
21fcb4621b
Ensure consistent optionality for options.projection for all ImageSource-derived constructor options
2020-03-04 23:38:54 +11:00
Olivier Guyot
29387a2cbb
Merge pull request #10758 from jahow/webgl-rotation-fix-attribute
...
Allow using feature attributes for symbol rotation in WebGL layers
2020-03-03 12:55:25 +01:00
Olivier Guyot
40d44db85e
Shader Builder / use vertex context to parse the symbol rotation expression
...
Previously the expression was parsed in the fragment shader context, which
meant in case the expression used an attributes the resulting GLSL code
would be wrong.
Fragment shader context:
`float angle = v_heading; // we're using the varying: not OK`
Vertex shader context:
`float angle = a_heading; // we're using the attribute: OK`
2020-03-03 10:09:39 +01:00
mike-000
ce6d7bd55c
Fix "Cannot read property 'anchor' of undefined"
...
replace unnecessary filter with for loop and break
2020-02-29 10:12:48 +00:00
mike-000
5ba978311e
Fix "Cannot read property 'anchor' of undefined"
2020-02-28 21:47:22 +00:00
mike-000
b8e34ef5bf
rename some variables and add comments
2020-02-27 19:12:40 +00:00
Andreas Hocevar
0fd336daa5
Merge pull request #10743 from ahocevar/ignore-cache-size-when-too-small
...
Ignore user provided tile cache size when too small
2020-02-27 14:52:33 +01:00
Andreas Hocevar
e235ad0708
Merge pull request #10736 from M393/clustersource-setsource
...
Allow cluster source to unlisten from its source
2020-02-27 14:00:38 +01:00
Andreas Hocevar
a072e3acea
Ignore user provided tile cache size when too small
2020-02-27 13:41:21 +01:00
Maximilian Kroeg
ba84cfad61
Do requeseted changes 3/3
2020-02-27 10:28:26 +01:00
Maximilian Kroeg
f18b78d2da
Do requested changes 2/3 to cluster source
2020-02-27 10:01:20 +01:00
Andreas Hocevar
df1d0ac4a0
Merge pull request #10739 from ahocevar/timeout-typo
...
Fix typo in trackpad timeout
2020-02-27 07:49:09 +01:00
Matthias
b695320dcf
Update DragPan.js
2020-02-26 20:37:51 -05:00
Matthias
10a624db3c
Update MouseWheelZoom.js
2020-02-26 20:36:07 -05:00
mike-000
591e5ce01b
More validation. Handle voids in some projections.
...
Handle NaN latitude transform results at void centers of some projections (e.g. Pole LAEA).
Clamp latitudes to not go beyond the poles when calculating intervals.
Further improve polar projections by checking if extent contains max and min intersection coordinates when calculating max and min.
2020-02-26 22:17:49 +00:00
Andreas Hocevar
e9227a9bc1
Fix typo in trackpad timeout
2020-02-26 19:27:20 +01:00
Andreas Hocevar
59f14eaa2e
Merge pull request #10738 from ahocevar/textbackground-declutter
...
Fix text background decluttering
2020-02-26 14:47:25 +01:00
Andreas Hocevar
a03cfa35ed
Store copies of background points for decluttering
2020-02-26 13:30:00 +01:00
mike-000
adcf57ef20
Better validation to handle polar projections
...
For some projections (e.g. polar) the maximum or minimum values may be at the center.
To improve the display for polar projections take validated center values into account when calculating max and min.
2020-02-25 13:47:02 +00:00