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

Added cross layers checks to cross-links plugin #1073

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dodomorandi
Copy link
Contributor

I added a simple cross-layers checking. This should be helpful when designing big ops and there are many portals next to each other. This should avoid human errors.

EDIT: now that @mxxcon made me think about that, why not adding a screenshot?
cross_layers

@mxxcon
Copy link

mxxcon commented Nov 13, 2015

What do you mean by cross-layer checking? Do you mean if any of my own drawn links intersect?

@dodomorandi
Copy link
Contributor Author

@mxxcon Exactly! During the design of a little op, we made a mistake with a link, because of two portals next to each other. With this small feature, it should be possible to minimize these kind of human errors.

@dodomorandi dodomorandi changed the title Added cross layers checks to cross-links plugin Added cross layers checks to cross-links plugin (WIP) Nov 13, 2015
* When an intersection involving a field is detected, a polygon is
  drawn instead of a polyline
* Added an array containing pairs of layers. Now it is possible to
  track the intersections between layers
* testCrossLayers was not run inside onMapDataRefreshEnd
This should make the map more readable when a multilayer is crossed.
@dodomorandi
Copy link
Contributor Author

I fixed a couple of issues. We are testing for further bugs, but now it seems to work flawlessly...

This is how it is now, without filling color:
no_fill

@dodomorandi dodomorandi changed the title Added cross layers checks to cross-links plugin (WIP) Added cross layers checks to cross-links plugin Nov 15, 2015
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