Services Plugins FAQs

Mapbox Plugin keep marker in center while dragging map

Is there any way to keep a marker in the same location, as you drag the map? If there was a drag_stopped action, you could then remove the marker, and redraw it in the center. Lots of mapping apps work this way, but I can’t find any action in the plugin that will allow this. Seems that dragging does not trigger the MapClicked event.

1 Like

Hello @ariklevy ,

Thank you for reaching out to us.

Regarding your use-case: when dragging the map, the “Map is Clicked” event won’t trigger because these actions are considered separate. However, your use-case is still fully achievable. In the plugin, you have access to two states—“Map Center Lng” and “Map Center Lat”—which you can use to create a workflow that triggers when these values change.


Could you please try this workaround and let me know how it goes?

Thanks, and I look forward to your response.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Thank you so much @Stephan! It’s a little clunky but I’ve been able to get it to work. I’ll keep working on optimizing the code to make it seamless.

1 Like

Hello @ariklevy,

Thanks for your message.

I’m glad to hear that the workaround is working well for you. Please keep us updated on your progress, and feel free to reach out if you have any further questions or inquiries.

If you’d like to add a specific functionality to the plugin to streamline your work, we also offer a sponsoring option. You can get started by completing this form: Airtable

We’ll get back to you with more details. :pray:

Thanks for your cooperation, and have a great week ahead!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

That’s great that you offer this. Let me see if I can get it dialed in as is, and if not I may go this path.

1 Like

Hello @ariklevy,

Yes, definitely!

Please take your time to consider all your options, and let me know if you will have any questions or need any support. :pray:

Wishing you a great day ahead!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3