-
Notifications
You must be signed in to change notification settings - Fork 30
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
Ol 5 #218
Ol 5 #218
Conversation
Simply use an example map as a placeholder to show usage of OpenLayers 5 in place of the ol3-viewer
Commented out other imports that haven't been updated yet
This change means that Mask is imported after Rectangle, so the when Mask imports Rectangle, Rectangle has already been imported. Otherwise, without this change, importing Rectangle within Mask.js means that Rectangle is undefined for some reason when imported by Label.js
@@ -78,7 +78,8 @@ def run(self): | |||
class Test(setuptools.command.install.install): | |||
|
|||
def run(self): | |||
self.spawn(['ant', 'unit-tests-only']) | |||
# self.spawn(['ant', 'unit-tests-only']) |
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.
add a TODO: reactivate tests
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.
This and other TODOs moved to https://trello.com/c/vyZSm0fj/15-openlayers-5-build-cleanup
Merging so we can move forward with the rest of the work |
This is a work in progress to update to latest OpenLayers 5.3.0, which doesn't use closure compiler so it doesn't need a separate build step.
At this point (3ab6501), I'm not aware of any new bugs. All functionality should be unchanged.
I have removed the closure compiler step from the npm build commands in
package.json
and they seem to work OK.Pre-existing bugs (might be able to fix):
Other TODOs / questions:
ant unit-tests-only
and reactivate insetup.py
/src/viewers/viewer/
.globals.PROJECTION
is undefined when imported intoutils/Misc
.ome.ol3
in the doc strings have now been removed etc.