Map svg shifting with Firefox

Hi all,

I recently faced an issue with the use of the map component.
It appears that the svg is shifting while zooming in and out but only using firefox

Issue

firefox map

As you can see, the marker:

  • Initially appears t in the top half of the room
  • Then it drop in the bottom half.

The marker position is supposed to remain in the upper part:

Observeations:

Only svg images are shifting.

What I tried

Here is a list of all non-shifting component that i tested:

  • PNG/JPG images
  • Markers
  • Tiles (from openstreetmap etc.)
  • geoJson configs

I checked with the following onMapMouseMove event the position of my image and it has indeed moved.

onMapMouseMove script
def runAction(self, event):
	self.custom.lat = event.lat
	self.custom.lng = event.lng

The problem occur with whatever scale I use.

After zooming in and out, the image stay shifted and restore itself once the page reloaded.

Reproduce

  • Create a perspective view containing a Map
  • Load a svg image in Tools > Image Management
  • Set Map.props.layers.raster.image[0].source to the path of the previously loaded image and give it bounds

Environnement