mike-000
09a1dd43c6
reset to collapsible when no uncollapsible sources
2020-09-28 14:05:23 +01:00
mike-000
c3378466fe
in IE use textContent instead of innerText
2020-09-22 12:14:19 +01:00
mike-000
20936508aa
Replace globe gif
...
Use better quality image based on public domain landmask image at https://ian.macky.net/pat/map/globe.html and data at http://www.shadedrelief.com/natural3/pages/extra.html
2020-09-21 10:41:20 +01:00
mike-000
27bba85be9
Use public domain image
...
Derived from https://commons.wikimedia.org/wiki/File:Globe.gif using ezgif.com
2020-09-20 18:42:23 +01:00
mike-000
c18227df36
Add animated gif example
2020-09-20 14:47:33 +01:00
mike-000
190661bfdb
Use flagcdn.com for images
2020-09-19 14:04:02 +01:00
mike-000
b60574261c
Fix binary data, ./ relative path syntax, and IE
2020-09-17 22:09:31 +01:00
mike-000
685040347b
Add rotation and rotateWithView
...
Add rotation and rotateWithView to options and clone
Add rotation and rotateWithView to clone test
Also check that scale and displacement arrays are cloned
2020-09-08 16:23:45 +01:00
mike-000
6cc063241a
Use pixelRatio 2
2020-09-01 09:29:42 +01:00
mike-000
0807b44722
Clear this.canvas_ whenever render() is called
2020-09-01 09:27:17 +01:00
mike-000
f897503e10
Cosmetic fix to doc (missing closing quote)
2020-08-28 22:27:33 +01:00
mike-000
722e0c5b69
Include scale in options
...
Add rectangle to example
Add ellipse and rectangle to rendering tests
2020-08-09 10:25:16 +01:00
mike-000
588e3b91d8
use numbers for expected values
2020-08-08 13:01:04 +01:00
mike-000
857f4e01ac
use precise international inchesPerMeter
...
test scalebar text
2020-08-07 10:49:31 +01:00
mike-000
9468a088c0
ensure extent is valid when scale is negative
...
test large flipped icon in buffer zone
test hit detection for negative image scale
2020-08-07 10:26:38 +01:00
mike-000
95702648b2
simplify scale calculation
...
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +01:00
mike-000
95e506cf36
Apply context options in handleImageChange
...
update tests
add new tests
2020-08-01 16:07:58 +01:00
mike-000
562b2f632f
Revert #11193 , set vectorRenderer.clipping = false
2020-07-30 20:11:11 +01:00
mike-000
6610391c0b
Add clipping property
2020-07-30 19:58:23 +01:00
mike-000
e6592c95ea
remove whitespace
2020-07-30 14:23:51 +01:00
mike-000
eee7e2523c
fix prettier
2020-07-30 14:18:58 +01:00
mike-000
dcdaf6ddc5
add non-global projection wrapX text
2020-07-30 14:15:17 +01:00
mike-000
39334fa95d
check projection can wrap before getting width
2020-07-30 12:24:03 +01:00
mike-000
926d740a8e
fix syntax of return with typecast
2020-07-20 19:24:56 +01:00
mike-000
f9f90ea766
move type cast to tryReadFeatures_
2020-07-20 19:16:49 +01:00
mike-000
9fb45aa2d2
fix prettier
2020-07-20 17:06:52 +01:00
mike-000
21f4d4998b
type casting
2020-07-20 17:02:38 +01:00
mike-000
1812ce8b28
update source and fire event only if features added
2020-07-20 16:08:00 +01:00
mike-000
b896fd0010
specify font family
2020-07-13 10:47:03 +01:00
mike-000
49a4344446
reinsert experimental: tag
2020-07-13 10:43:21 +01:00
mike-000
8321cc6fbf
remove dependence on container div
2020-07-12 14:15:49 +01:00
mike-000
54fc7439b4
make style override consistent with other examples
2020-07-12 13:47:02 +01:00
mike-000
30d48573a7
make compatible with ol.css import
2020-07-12 13:04:34 +01:00
mike-000
635f380a9d
make compatible with ol.css import
2020-07-12 12:57:25 +01:00
mike-000
6ea784ae1b
make compatible with ol.css import
2020-07-12 12:54:14 +01:00
mike-000
d8a440ba4a
make compatible with ol.css import and with IE
2020-07-12 12:45:22 +01:00
mike-000
942b306a97
make compatible with ol.css import and with IE
2020-07-12 12:45:14 +01:00
mike-000
2bc3f2ed73
remove dependence on container div
2020-07-12 12:28:41 +01:00
mike-000
896352bd8b
remove container div
2020-07-12 12:21:05 +01:00
mike-000
bee05bbd24
update to latest mapbox gl version
2020-07-10 21:47:31 +01:00
mike-000
233269d56c
add missing import
2020-07-10 18:27:35 +01:00
mike-000
960fad2fc7
Fix rotation reset and add attributions
2020-07-10 18:16:32 +01:00
mike-000
63135dadf6
Reset font size changed by Mapbox CSS
2020-07-10 17:58:17 +01:00
mike-000
5461a1dafd
Add files via upload
2020-07-10 17:53:44 +01:00
mike-000
d99f58d7ff
update mapbox gl version
2020-07-10 17:45:25 +01:00
mike-000
75ae8634f7
use 'source-over' to render edges
2020-06-28 14:51:36 +01:00
mike-000
6c5a0674ec
revert previous commit
2020-06-24 15:57:39 +01:00
mike-000
658bc0a729
correct clipping of the vector rendering
2020-06-24 15:51:41 +01:00
mike-000
4c7a1817fa
optimise check for NaN in extent
2020-06-24 12:46:02 +01:00
mike-000
342b69fe92
fix prettier
2020-06-18 15:42:48 +01:00
mike-000
64167a5d7e
Use condition instead of setActive and listeners
2020-06-18 15:31:33 +01:00
mike-000
3acb0b28de
Add condition option
2020-06-18 15:17:55 +01:00
mike-000
74b74e2478
fix pettier
2020-06-17 16:59:56 +01:00
mike-000
1685913a55
getExtent() return getEmpty() for invalid extents
2020-06-17 16:46:24 +01:00
mike-000
136936979f
test getCoordinateAt returns Z and M values
2020-06-17 15:56:36 +01:00
mike-000
19f3c6b94a
getCoordinateAt return Z and M values if available
2020-06-17 15:46:28 +01:00
mike-000
f5d85ab4f9
interpolatePoint optionally returns Z and M values
2020-06-17 15:24:41 +01:00
mike-000
365b757856
test clipping with rotation
2020-06-17 12:15:39 +01:00
mike-000
272ae55345
test clipping with rotation
2020-06-17 11:31:10 +01:00
mike-000
a27e3486c6
test clipping with rotation
2020-06-17 11:20:29 +01:00
mike-000
1c725c8cfc
do not clip the vector rendering
2020-06-17 11:13:33 +01:00
mike-000
091584a120
do not clip rendering for VectorImage layers
2020-06-17 11:11:19 +01:00
mike-000
e3a89a2e55
test clipping with rotation
2020-06-16 13:24:52 +01:00
mike-000
0747f44e4a
test clipping with rotation
2020-06-16 12:29:15 +01:00
mike-000
014f17d14b
correct clipping with rotation
2020-06-16 12:20:50 +01:00
mike-000
db074a27e6
correct scalebar box sizing
2020-05-30 12:26:12 +01:00
mike-000
cf0e650435
allow scale to be two dimensional
...
add getScaleArray() method
test two dimension scale icons
test two dimension scale text
add example of icon and label scaling
use smaller icon and larger interval
test two dimensional scale icons
test two dimensional scale icons
2020-05-20 09:54:47 +01:00
mike-000
9a8b9d8ade
add Image source imageSmoothing option
...
Add Image smoothing checkbox to example
Test imageSmoothing option
2020-05-09 10:41:20 +01:00
mike-000
7f99ce46bb
set background fill style for each label
...
add check for declutter
2020-05-05 16:22:58 +01:00
mike-000
d72c7fdc13
set background fill style for each label
2020-05-05 13:04:25 +01:00
mike-000
960abdbec1
Revert dummy parameter change
...
fix typo
2020-05-04 17:14:57 +01:00
mike-000
e0047139e1
Revert dummy parameter change
2020-05-04 17:11:16 +01:00
mike-000
c0577c3293
Include context options in reprojection cache key
...
fix prettier
2020-05-04 16:45:29 +01:00
mike-000
76d2d6e737
Include context options in reprojection cache key
...
override the inherited getKey() method
2020-05-04 16:27:27 +01:00
mike-000
9e160e75f9
Include context options in reprojection cache key
...
use reprojection tileCoordKey instead of source key
2020-05-04 14:31:46 +01:00
mike-000
9bf037947c
Include context options in reprojection cache key
...
fix prettier
2020-05-04 12:53:24 +01:00
mike-000
b2a1540ee0
Include context options in reprojection cache key
2020-05-04 12:47:15 +01:00
mike-000
62f150176a
add dummy parameter to url to avoid shared cache
...
fix prettier
2020-05-01 12:28:07 +01:00
mike-000
7a46b3a61a
add dummy parameter to url to avoid shared cache
2020-05-01 12:06:38 +01:00
mike-000
bf77f59656
revert change to IMAGE_SMOOTHING_DISABLED
2020-04-30 21:33:00 +01:00
mike-000
8415627731
Test log2 function
...
use string to test NaN
2020-04-30 19:39:33 +01:00
mike-000
f91e51c28b
Test log2 function
...
fix typo
2020-04-30 19:11:41 +01:00
mike-000
d3507e5c5e
replace Math.log2 with log2 from ol/math
2020-04-30 19:07:20 +01:00
mike-000
bce9730644
Test log2 function
2020-04-30 19:03:37 +01:00
mike-000
8076a5126d
Add log2 function
2020-04-30 18:44:49 +01:00
mike-000
48e938e235
Define browser specific IMAGE_SMOOTHING_DISABLED
...
fix prettier
2020-04-30 16:56:02 +01:00
mike-000
3c1e00a3ec
Define browser specific IMAGE_SMOOTHING_DISABLED
...
Avoid msImageSmoothingEnabled if the browser does not need it
2020-04-30 16:49:05 +01:00
mike-000
c515183bad
Use explicit test for image smoothing disabled
...
fix prettier
2020-04-30 16:27:43 +01:00
mike-000
fc2fe25e69
Use explicit test for smoothing disabled
2020-04-30 16:23:39 +01:00
mike-000
3643f9ec98
Use BrokenDiagonalRendering with contextOptions
...
Apply the BrokenDiagonalRendering processing if opt_contextOptions is set to avoid color distortion along reprojection edges
2020-04-30 13:04:30 +01:00
mike-000
51ad3824e3
correctly close bold font tag
2020-04-30 10:24:59 +01:00
mike-000
6519b54647
fix prettier
2020-04-17 00:08:11 +01:00
mike-000
71b866947f
read and set features in custom tileLoadFunction
2020-04-17 00:01:28 +01:00
mike-000
7d2e367fd0
fix prettier
2020-04-16 22:18:40 +01:00
mike-000
25b0cce8ed
fix prettier
2020-04-16 22:13:12 +01:00
mike-000
3bac7acb48
Use the tile coordinate as a pseudo URL
...
Use the unique tile coordinate as a pseudo tile URL instead of a GeoJSON data URL which may not be unique
2020-04-16 21:40:38 +01:00
mike-000
a1dd9cacf7
fix return type
2020-04-04 14:00:20 +01:00
mike-000
fb84426411
use constant for default dpi
2020-04-03 17:17:11 +01:00
mike-000
6aa953b571
base minWidth on default dpi & remove setMinWidth
2020-04-03 17:11:25 +01:00
mike-000
6006fb2c03
base minWidth on default dpi & remove setMinWidth
2020-04-03 17:11:20 +01:00