We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for globe.gl. You can see my project at http://www.maptap.gg/
I'm trying to change the font on the label and I'm clearly doing something dumb. I'm unable to get .labelTypeFace to work.
const myGlobe = Globe() (globeContainer) .globeImageUrl('https://unpkg.com/three-globe/example/img/earth-blue-marble.jpg') .labelTypeFace('helvetiker_bold') .pointOfView({ lat: 0, lng: 0, altitude: 2 });
Are there any examples of using .labelTypeFace ?
The text was updated successfully, but these errors were encountered:
@mostlyrand0m thanks for reaching out.
You need to pass the whole typeface object itself, not just a string with the name. There's a few to choose from here: https://github.com/mrdoob/three.js/tree/dev/examples/fonts
But anything generated with Facetype.js should work.
Sorry, something went wrong.
No branches or pull requests
Thank you for globe.gl. You can see my project at http://www.maptap.gg/
I'm trying to change the font on the label and I'm clearly doing something dumb. I'm unable to get .labelTypeFace to work.
const myGlobe = Globe()
(globeContainer)
.globeImageUrl('https://unpkg.com/three-globe/example/img/earth-blue-marble.jpg')
.labelTypeFace('helvetiker_bold')
.pointOfView({ lat: 0, lng: 0, altitude: 2 });
Are there any examples of using .labelTypeFace ?
The text was updated successfully, but these errors were encountered: