Services Plugins FAQs

Marker hover popup on a Mapbox Bubble Map

  1. I bought the control
  2. I checked the following doc link
    ht tps://docs.zeroqode.com/plugins/mapbox-maps-plugin

With Element actions 25, looks the function I am after, when I open it, it let me set a Layer ID, I am not sure it is a ID I can name freely, or it is an existing element. I guess it is a created one.

Then I check Element action 22, looks I can create a layer here, but looks it is working working as I expected.

Do you have example showing how to pop up some information while hovering the marker?

Thank you.

1 Like

Hello @itbird ,

Thank you for reaching out.

You are correct, in order to use the “Display pop-up on hover” action, you first need to create a layer, as you have already managed to do from what I understood.

In the “Display pop-up on hover” action, you must reference the Layer ID from the “Create a symbol layer” action[image]. For a practical example of how to set this up, please visit our demo page under “Layers” → “Symbol layer” → “Add feature.”

I hope you find this information useful. If you have any more questions, please don’t hesitate to ask.

Thank you once again, and I look forward to your response.

Best regards,
Stefan

1 Like

Hi Stephan

Thank you so much, I realized this function, I think I may need learn more regarding the detail. :smiley:

Another thing, rather than display a layer, is it possible to display a tooltip when we hover the marker? (or the layer can be automatically close without click close button.)

I found the link in mapbox,

h ttps://docs.mapbox.com/mapbox-gl-js/example/popup-on-hover/

is it possible I implement in Bubble? thank you

1 Like

Hello @itbird,

Thank you for the message.

Indeed, the link you shared from the Mapbox library pertains to the “Create symbol layer”. You can create a FeatureCollection and further use it as demonstrated on our demo page.

Additionally, if you’d like to use the cluster markers, there is a “Field from DB to show” field, allowing you to select which field is displayed upon clicking a cluster marker.

For simple markers, there’s also an event labeled “marker clicked” that enables you to trigger a custom workflow and for your use-case you could create a custom pop-up, displaying information about the point of interest.

I hope you find this information useful. Please keep us updated on your progress, and don’t hesitate to ask if you have further questions.

Thank you once again, and have a great day ahead!

Best regards,
Stefan