Templates Plugins Courses

Frustrating MapBox Bug

Dear Zeroqode Team,

while using your Mapbox plugin, I noticed that the plugin does not fully support Bubble App Types, only App Data.

We show a Mapbox while the user creates a route “on the spot” from locations that are loaded by API, so using pre-created locations is not an easy way going forward in our case.

The API object we intend to use for markers contains the correct properties for lat/longitude:

{
“image”: “//s3.amazonaws.com/appforest_uf/f1652362186095x470785804127119360/marker”,
“lat”: 51.7846746,
“long”: 6.1231343,
“position”: 1
}

Using this object will result in a exception though:

The plugin “Mapbox” Maps / action Add List of Markers a MapBox Map threw the following error: Error: Invalid fieldName: undefined at Object.get (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/849525be430e092b6aece10c5d92cc89c87cf148fbfaeb57e2c9c37a0414d512/xfalse/x15/run_debug.js:6:2260031) at instance.data.addSingleMarker (PLUGIN_1521096392586x373091021041696800/-Mapbox–Maps-initialize–MapBox-Map-.js:28:31) (please report this to the plugin author)

I kindly request any information on if/when Bubble App Types support will be fixed or advice on how to proceed with using Mapbox (any help greatly appreciated).

Regards,

Hello, @sysadmin
Thanks for using our plugin.

Allow me to mention that generally, the plugin supports the Data, which was received through the API for adding the Markers (so it works not only with the App Data).
Thus, in order to help you define an exact issue, can you please share with us screenshots with the settings for:

  • The plugin element (map);
  • Marker’s settings, where you indicated the App Type;
  • Settings of the API object.

Looking to hearing from you soon.
Best regards,