How to Fix Azure Maps PCF Component Drawing Tools Offset

252 Views Asked by At

I have an Azure Maps PCF Component imported as a solution into a PowerApp.

  • If a pin is dropped in the upper-left corner, it falls directly under the cursor (like it should).
  • As I drop pins down and to the right, the pins fall increasingly further from the cursor (problem)
  • This also happens when drawing vertices of polygons and origins of circles/squares

Example: enter image description here

Additional findings:

  1. Offset distance and direction changes depending on browser window size enter image description here

  2. Inspect div's enter image description here

Where would I look in the source code to find the fix for this issue?

1

There are 1 best solutions below

0
On

The offset was due to the following settings. When turned to "Off", the offset disappeared: enter image description here