as the first child of body in the application layout, zooming works perfectly. However, if we move it till after nav, (where it would be rendered through angular magic) zooming doesn't work perfectly; it gets blurry.
Note, in both cases, viewing would be a child of body.
Zooming also works perfectly if it is a child of any other element (nav / div) in the application layout except under the div main-content.
If viewing is located inside show.html.erb, as a child of no one, the map will inherit .floor's css of width: 15%, at this point zooming works up to a certain point...
For example, if we move
as the first child of body in the application layout, zooming works perfectly. However, if we move it till after nav, (where it would be rendered through angular magic) zooming doesn't work perfectly; it gets blurry.Note, in both cases, viewing would be a child of body.
Zooming also works perfectly if it is a child of any other element (nav / div) in the application layout except under the div main-content.
If viewing is located inside show.html.erb, as a child of no one, the map will inherit .floor's css of width: 15%, at this point zooming works up to a certain point...