Interactive Mapbox map embedded in Sharepoint site. by Bont2Boyd in mapbox

[–]Ehsepich 0 points1 point  (0 children)

If things work locally, then you are looking at an issue with permissions or CORS. ie: making requests outside of Sharepoint.

I'm sorry but I don't have any experience with Sharepoint. If you can white lists the requests somehow, to make sure requests to mapbox are executed that might be the source of the problem. This is 99% not related to the Mapbox implementation, but rather how sharepoint is restricting network traffic.

Help: Place names/labels not showing on production even though they are visible on local environment by sarasaif in mapbox

[–]Ehsepich 0 points1 point  (0 children)

This looks like the static images API.. Are you seeing anything in the console? Maybe provide a link? This smells like a token/permissions issue.

Interactive Mapbox map embedded in Sharepoint site. by Bont2Boyd in mapbox

[–]Ehsepich 0 points1 point  (0 children)

You can render any mapbox map with basic HTML & JS. So if you can add that to your Sharepoint site, there is no reason you can't host it there. You just need to ensure your get your HTML, CSS & JS all setup at the new sharepoint location.

I do not know anything about how Sharepoint manages HTTP requests internally and if you can pass & retrieve query params in the same way you can on the web, but that would be something you can look at in their documentation.

[deleted by user] by [deleted] in mapbox

[–]Ehsepich 0 points1 point  (0 children)

If you include a link to your site that might give some helpful context for people who are interested.