SpheroidUniverse / SpheroidScript

https://spheroiduniverse.github.io/SpheroidScript/
141 stars 13 forks source link

Icon on Map tab #5

Closed hodlinn closed 4 years ago

hodlinn commented 4 years ago

I was able to work everything fine but when opened, the coins on the navigation map still that of Spheroid even after all was changed. @SpheroidUniverse

SpheroidUniverse commented 4 years ago

We've solved this in the latest version of XRHub.

We've added the "icon" parameter to the "MapMarker" constructor which allows you to control the coin appearance on the map. Here is an example use case:

val marker = MapMarker(location = coin.location, icon = mapIcon)

We've also updated the Quickstart tutorial and its source code.

Please, follow these steps to upgrade your app:

Thanks for the feedback and please let us know if you have any questions!