Issue with Mapbox feature

Hi all,

Does anyone know how to make it so the map feature shows a specific country, and isn’t zoomed out on the whole world?

My marketplace is for users in the UK only, so those users might find it odd that the map is zoomed out on the whole world.

Many thanks,

Ben

Hi @mben!

Is your question about the source-available version of Sharetribe Go, Sharetribe’s legacy marketplace builder, in which you’ve integrated Mapbox? Or is it about the new Sharetribe, which supports Mapbox as the default map provider?

I believe you are asking about the new Sharetribe. Can you confirm?

If yes, do you mean that you’d like the default view on the Search page to display only a specific country? To do so, you can simply search, using the location search in the top bar, for the region you’d like to feature (for example, a country). Then copy the URL for that page (it contains the coordinates limiting the area) and use it as the link you add on your landing page or anywhere you want. That way, visitors will automatically be directed to this geographically limited map view!

Does it help? Let us know!

Finally, note that this forum is focused on the source-available version of Sharetribe Go, so if you’re asking about the new Sharetribe, it may be not the best place for this :slight_smile: If you have any question about the new Sharetribe, you can always contact our team using the chat widget in Console, or find information at https://www.sharetribe.com/help/en/, and discuss with other developers (if you’re customizing with code) at https://www.sharetribe.com/dev-slack/.

Cheers!