-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to OpenLayers v6.x #147
Conversation
@@ -48,10 +48,6 @@ describe('FileUtil', () => { | |||
map = TestUtil.createMap(); | |||
}); | |||
|
|||
afterEach(() => { | |||
TestUtil.removeMap(map); | |||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Map removal leads to the following error, cause renderer
seems to be null at the moment where the test tries to access the map then:
TypeError: Cannot read property 'renderFrame' of null
at Map.PluggableMap.renderFrame_ (node_modules/ol/src/PluggableMap.js:1292:20)
at Map.<anonymous> (node_modules/ol/src/PluggableMap.js:198:12)
at Timeout.callback [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:678:19)
The error is possibly due to openlayers/openlayers#9637
For now, I've commented the afterEach
test block and added a TODO
to investigate it later.
I've also added the corresponding issue --> #150 .
- `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Value to be zerofilled. | ||
|
||
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** converted value with leading zero if necessary. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs are available here and will be updated automatically. I suggest to delete the docs from the README completely (in a follow up MR).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, will be done in a separate MR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #151
BREAKING CHANGE
Upgrades
ol-util
package to be able to work withol
v 6.x and higher.Additionally updated autogenerated API documentation.
Please review @terrestris/devs