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

Underlay an ImageAttachment from the base Location when rendering the SVG #6

Open
glennmatthews opened this issue Feb 8, 2023 · 1 comment

Comments

@glennmatthews
Copy link
Collaborator

Environment

  • nautobot-floor-plan version: 0.9

Proposed Functionality

Nautobot provides the ability to upload and associate images to a Location as ImageAttachments. It would be really nice if we could select a specific one of these attachments (e.g., a blueprint) to associate to the FloorPlan and have the SVG rendering of the FloorPlan overlay the tiles atop this image.

Known challenges this would pose:

  • Would need to be able to easily adjust the position and scale of the image relative to the rendered grid (some sort of grab-and-drag feature in the UI?)
  • LIkelihood that a constant grid as we have now would not align well with different parts of a blueprint (e.g. offset rows, racks oriented north/south versus east/west needing different grid alignment, etc.)

Use Case

Improved usability

@rlad78
Copy link

rlad78 commented Nov 28, 2023

This would be very very much appreciated by organizations such as my own that work with a large number of buildings and desire a centralized way to keep track of network closet and device locations.

LIkelihood that a constant grid as we have now would not align well with different parts of a blueprint (e.g. offset rows, racks oriented north/south versus east/west needing different grid alignment, etc.)

Would it be feasible to introduce an additional "coordinate" option instead? Something akin to how comments work on a PDF, where a symbol is placed on a coordinate and mousing over the symbol reveals the contents? I'm not sure myself if it's a good idea, as it seems like it goes outside the original scope of this plugin, but I wanted to throw it out there as an idea.

Either way, I'm definitely willing to contribute to this if there's a solid direction to take. Still getting my feet wet with Django view templates, but this would be a great chance to get that practice in.

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

2 participants