Skip to content
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

Merged
merged 93 commits into from
Jan 21, 2019
Merged

Ol 5 #218

merged 93 commits into from
Jan 21, 2019

Conversation

will-moore
Copy link
Member

@will-moore will-moore commented Jan 10, 2019

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):

  • Double-click to complete Polyline/Polygon also zooms (pre-existing bug)?
  • Drag a Rectangle, then try to resize it - it remembers previous coordinates.

Other TODOs / questions:

  • Fix tests: ant unit-tests-only and reactivate in setup.py
  • Remove ol3 references? E.g. rename ol3-viewer.js and replace "ol3" everywhere (lots).
  • Naming strategy etc. Viewer code is currently in /src/viewers/viewer/.
  • Use OlMap instead of PluggableMap everywhere
  • Investigate why some imports are undefined. E.g. globals.PROJECTION is undefined when imported into utils/Misc.
  • More build cleanup - remove anything required for google closure etc.
  • Investigate the docs build that Harald had. Do we want to maintain it etc? Lots of links to ome.ol3 in the doc strings have now been removed etc.

@@ -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'])
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/viewers/ol3-viewer.js Outdated Show resolved Hide resolved
src/viewers/ol3-viewer.js Outdated Show resolved Hide resolved
src/viewers/viewer/controls/Zoom.js Outdated Show resolved Hide resolved
src/viewers/viewer/geom/Ellipse.js Outdated Show resolved Hide resolved
src/viewers/viewer/geom/Ellipse.js Outdated Show resolved Hide resolved
src/viewers/viewer/tiles/ImageTile.js Outdated Show resolved Hide resolved
src/viewers/viewer/tiles/ImageTile.js Outdated Show resolved Hide resolved
src/viewers/viewer/tiles/ImageTile.js Outdated Show resolved Hide resolved
src/viewers/viewer/interaction/Select.js Outdated Show resolved Hide resolved
src/viewers/viewer/interaction/BoxSelect.js Outdated Show resolved Hide resolved
@jburel
Copy link
Member

jburel commented Jan 21, 2019

Merging so we can move forward with the rest of the work

@jburel jburel merged commit bd05e63 into ome:master Jan 21, 2019
@will-moore will-moore mentioned this pull request Jan 22, 2019
@will-moore will-moore mentioned this pull request Jan 29, 2019
@jburel jburel added this to the 0.7.0 milestone Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants