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

Entity behaviour during Leaflet zoom #1515

Closed
rdengate opened this issue May 10, 2016 · 3 comments
Closed

Entity behaviour during Leaflet zoom #1515

rdengate opened this issue May 10, 2016 · 3 comments

Comments

@rdengate
Copy link
Contributor

If you zoom out with points/polygons/lines on screen in Leaflet, they fly to the upper left corner. When zooming in they disappear briefly which looks much more normal.

I will be putting up a demo and once this is up I will add steps to reproduce here, as it's not easy to reproduce without the measure tool.

@rdengate
Copy link
Contributor Author

Ok, so after some changes (including to leaflet version?) the behaviour is now that the polygon goes from fillOpacity 0.25 to 1.0 during zoom. This doesn't happen during pan. It also doesn't happen with a geojson polygon dragged onto the map, or if the drawn polygon has hardcoded positions, so it's something to do with the CallbackProperty being used to define positions.

To reproduce:

  • Use rd_newui_measure with commit dacc4a8 with nationalmap commit 30cd4a7.
  • Switch to 2D mode.
  • Draw a polygon
  • Zoom out
  • Notice how the opacity of the polygon changes while the zoom is in progress.

@rdengate
Copy link
Contributor Author

This might be related: CesiumGS/cesium#3945

@kring
Copy link
Member

kring commented Feb 16, 2018

I can't find a way to interactively draw polygons anymore. Is there a way to do it with the measure tool? I'm going to close this because there's no issue in other polygons cases.

@kring kring closed this as completed Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants