Mapbox Plugin not loading the “atmosphere” for a custom style. Can this be fixed?
Hi @hrwilliampro1, thanks for your message.
If you would like to add a custom style, it is required to indicate a link to the created & saved style.
Please see guiding information on how to create a custom style here: Create a custom style | Help | Mapbox
Please let me know if there are any other plugin-related questions that I can help with.
Regards,
Thank you for the response, but the issue Iam having is not creating or loading the custom style. The issue I have and also see on Demo for the pluging is that the custom style does not take/show the background/Attmosphere.
Iam able to see the Mapbox custom style background when I load the style using the mapbox preview app but not on my app.
The other issue I see on both my app and your demo is that if you have two styles and you change between them when using the your app, the GPS traking position/dot no longer shows unless you reset or refresh map again. Even if you add the Trigger to Start GPS traking again.
Hi @hrwilliampro1, thanks for your reply.
I’ll pass this on to the developer team for research. Once any results will appear, I will let you know asap.
Thank you for understanding.
Regards,
Hi @hrwilliampro1, thanks for your patience.
We’ve pushed an update that added the Sky Style field, to select one of the 6 available styles:
To test it, update the plugin version to 1.78.0 and give it a try.
The work on the second reported moment is ongoing.
Regards,
I have to say this is one of the best updates so Far. Now I see the atmosphere, complete earth view, and motion orientation.
The only problem I see now, is that when I “start location Tracking” does not work if pitch is changed. before it worked. Before I could set a button to click and set pitch and start location tracking.
Image below show before I could set pitch or 78 and start location tracking.
After the update when pitch is set location tracking won’t start. If I click the button circled inn RED tracking start but pitch is remarried and set back to 0.
Ultimately what I want is for map to load with pitch and start location tracking already set and also have option for user to set pitch and Strat location tracking again if need to reset by way of clicking a button.
I really like it that you can see full earth and atmosphere now. Awesome work thank you.
Hi @hrwilliampro1, thanks for your reply and appreciation
Let us check that internally. Once I will get any feedback from the devs, I will let you know.
Regards,
Thank you for the support.
The only problem I see now, is that when I “start location Tracking” does not work if pitch is changed. Before the update it worked. Before I could set a button to click and set pitch and start location tracking for load map with pitch and location tracking started.
Image below show before I could set pitch of 78 and start location tracking or load map like this.
After the update when pitch is set location tracking won’t start. If I click the button circled in RED tracking start but pitch is removed and set back to 0.
Ultimately what I want is for map to load with pitch and start location tracking already set and also have option for user to set pitch and Strat location tracking again if need to reset by way of clicking a button which I can do before the update.
Hi @hrwilliampro1, thanks for the additional information shared.
I’ve passed them on to the developers. Once any feedback will appear, I will let you know asap.
Regards,
@hrwilliampro1, for a better understanding of your case, please share a screencast (I suggest using the Loom tool) with the use case setup and issues that you encounter and reported earlier. It will allow us to provide the required support much faster.
Looking forward to your reply.
Regards,
Basically the issue is If you Start location Tracking, it takes map to 0 pitch always.
What I have try:
1 – Element click → fly to → set pitch 78 → Start Tracking (map pitch is set but traking does not start)
2 – Element click → fly to → set pitch 78 → Stop tracking → Start Tracking (but map goes to 0 pitch and tracking is started)
3 – Load Map → fly to → set pitch 78 → Start Tracking (map pitch is set but traking does not start)
4 – Load map → fly to → set pitch 78 → Stop tracking → Start Tracking (but map goes to 0 pitch and tracking is started)
Also when you click the small Maps control to start tracking when you have a pitch, send map
to 0 pitch.
None of this happen before the update.
Hi @hrwilliampro1, thanks for the details shared.
I’ve passed them on to the developer team. Once any results will appear, I will let you know asap.
Regards,
Hi @hrwilliampro1, thanks for your patience.
Here is the developer team’s feedback:
The issue with the map pitch appeared due to the fact that for adding the Sky style feature, we’ve updated the used Mapbox library and this pitch option is now acting in a different way than in previous versions.
So, to use the pitch feature as desired - it is required to use the previous version of the plugin (but in this case, the Sky field option would be unavailable). Sorry about that, in this case, we are limited by the options that are provided by the used Mapbox library that we use within the plugin.
Please let us know if there is anything else that I can help with our plugin.
Regards,
Are you positive the developer can do anything else to fix.
In the mapbox “Studio Preview” app it seems to work when you hit the start tracking button the pitch is not set back to 0.
Hi @hrwilliampro1, thanks for your reply.
On the Mapbox docs, their example has the same case as we’ve mentioned earlier, the pitch angle goes to 0 once the location is triggered. Please see here: Locate the user | Mapbox GL JS | Mapbox
Regretfully, in this case, we can not do much. Please let me know if there is anything else that I can help with about our plugin.
Regards,
In this example you show they dont set the pitch in the code. There has to be a fix that can be made on the code or a workaround js script I can use in bubble.
Hi @hrwilliampro1, thanks for your reply.
I’ve asked the developer team for feedback, so once any news will appear, I will let you know asap.
Regards,
Regretfully, here we are limited by the platform capacities, as this pitch parameter is not saved\retrieved from the platform. Sorry about that.
In case any other questions will appear, please let me know.
Regards,