Mapbox UI Component (Possible Bug)

Good Day all,

Thank you for adding the mapbox component I feel it may help a lot of people.

I am having trouble with the following:

  • Polygon Data with data binding is not reflected unless the component is re-mounted

  • The documentation regarding setting zoom and centers (What is Event Data)

As always thank you for your assistance.

Kind Regards,

Hello @Raymond_Woodley,

  • The documentation regarding setting zoom and centers (What is Event Data)

This parameter comes directly from the Mapbox and maybe this link could be useful.

According to the issues you experience with polygons - unfortunately I was unable to reproduce them. What errors do you see in the console? What additional logic do you have on page related to the Mapbox?


Hello @olhadanylova

I am receiving no errors in console.

The procedure is as follows

  • On Map Click event the following logic is triggered
  1. This adds the point to a list, as well as the point added to a markers list with Data Binding (Markers)
    (Working - Not Relevant)
  2. It does a perimeter calculation of the polygon in meters (Working - Not Relevant) Printed to Console
  3. It does a Area calculation of the polygon in Hectares (Working - Not Relevant) Printed to Console
  4. The polygon is sent via Data Binding (Test) to the map. (The values are present if printed to Console
    however are not reflected on the map.)

In the 2 images above the Map is Not Reloaded and the Polygon does not show. However in the images below I simply toggle the visibility and the polygon will now appear?

This is a work around but severely impacts the user experience.

I am hoping that this will bring a bit more clarity.

Kind Regards,

Hello @Raymond_Woodley,

thank you for providing the details. Our engineer was able to reproduce it, an internal ticket is created for this issue. We’ll let you know here in this thread once the component is released with the fix.

Kind Regards,

Thank You