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
mike-000
9039e2629b
fix trailing space
2020-02-24 21:57:22 +00:00
mike-000
737f3a5066
Handle view projections crossing dateline
...
Use custom toLonLat transform to return wrapped longitudes for extents if view projection crosses the dateline.
Enhance the validation for center and extents to avoid proj4 errors.
2020-02-24 21:53:53 +00:00
mike-000
6ae6d0b835
Optional extra stops to refine extent transforms
...
Add optional extra stops to refine some non-parallel transforms
Refine extent transforms use by Gratucule by using 32 points (8 per side) instead of the standard corners only transform
Update Graticule class description with current limitations
Correct projection extent in Mollweide example and revise opening zoom level correspondingly
2020-02-23 19:13:06 +00:00
mike-000
e731574e06
Fix disappearing labels when rotation returns to 0
2020-02-20 17:49:05 +00:00
mike-000
a74d33dafb
Draw labels in a postrender function
2020-02-20 14:12:37 +00:00
mike-000
c28793ae04
Draw labels in a postrender function
...
Position labels relative to the viewport when view is rotated
2020-02-20 13:31:41 +00:00
mike-000
d102f561f9
add minZoom and maxZoom options
2020-02-17 16:52:12 +00:00
mike-000
e820042748
Fix ol/layer/Graticule rendercomplete problem
...
fix typedef imports
2020-01-26 14:04:05 +00:00
mike-000
a7bdee43b3
Fix ol/layer/Graticule rendercomplete problem
...
Use custom loading strategy to avoid problems caused by calling removeLoadedExtent in the loader function
2020-01-26 13:51:11 +00:00
Andreas Hocevar
ac50cc3460
New eslint config with no-multi-assign
2019-11-02 15:20:21 +01:00
mike-000
110c17cf9e
Remove label style caches
2019-10-22 12:04:06 +01:00
mike-000
b727e4f45e
Set label text for option styles
...
Set label text for lonLabelStyle and latLabelStyle options
2019-10-04 22:00:20 +01:00
Frederic Junod
41b7893523
Mark properties as nullable
2019-10-01 10:47:07 +02:00
Olivier Guyot
167fa6b8a0
Add property to all layers api doc
2019-09-24 10:58:55 +02:00
Tim Schaub
deb00f20fe
Include full filename in import specifier
2019-05-29 08:51:10 -06:00
Frederic Junod
7c7b43ee91
Use the constructor options instead of changing the private variables
2019-02-27 15:11:08 +01:00
Frederic Junod
0b53a3229b
Remove unneeded type cast
2019-02-04 09:58:49 +01:00
Frederic Junod
e991dcc38c
Fix JSdoc type cast format
2018-11-16 11:12:17 +01:00
Olivier Guyot
d5c390e726
Fixed tests & linting
2018-11-15 17:12:40 +01:00
Olivier Guyot
1b8a6baa35
Added extent handling to graticule layer
2018-11-15 17:12:40 +01:00
Olivier Guyot
94bcb8a0f6
Added wrapX option on graticule
2018-11-15 17:12:40 +01:00
Olivier Guyot
4ee75359c0
Implemented a feature pool for lines and labels
2018-11-15 17:12:40 +01:00
Olivier Guyot
adb1bd7a31
First version to handle lines only
2018-11-15 17:12:40 +01:00
Olivier Guyot
dbd6dad4f3
Add a new Graticule layer, nothing rendered for now
2018-11-15 17:12:40 +01:00