Templates Plugins Courses

Mapbox error cant show markers

So with the Mapbox map plugin, I got an error and I think it’s because of the _id field. Can I not add data from an external API Request? if anyone knows how to add in data from an external API and display them as markers that would be great.

The plugin MapBox Maps / action Add List of Markers a MapBox Map threw the following error: UnexpectedError This fieldName does not exist: _id
at Object.get (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/1b874f2a6aa69d5fef0248fa95fa4e686a276f470d435515a49824efff9030c2/xfalse/x5:18:452260)
at eval (PLUGIN_MapBox-Maps-element_action--MapBox-Map-Add-List-of-Markers-.js:17:40) (please report this to the plugin author)

Hello @lukejamison0

I would recommend you to check out the documentation: https://docs.zeroqode.com/plugins/mapbox-maps-plugin#introduction
And our demo setup: https://zeroqode-demo-08.bubbleapps.io/mapbox-map
Check the editor page on how it set and how it should be used.

Thanks for understanding.


@Dumitru thanks for the reply. So I looked at the docs. And still didn’t find my answer. Can I not add makers from a API source? I keep getting the same error message. I want to load in the address’s for a external API.

Hello @lukejamison0

I’m afraid it is not possible, unfortunately. Sorry for not being helpful.
The markers should be added from internal source.
Thanks for understanding.

Is markers from an external source something that might be added in the future?

1 Like

Hello @alex3

Thanks for the feedback, we might try to add it at some point later, but not at the moment, I’m afraid sorry about that.