Google Maps: How do I configure the map type to 'Satellite with no labels' on page load?

I am trying to load the page with Satellite with no labels as the default map type.

Here is what I have tried so far:

self.map_2.map_type_id = ‘satellite’

GoogleMap.MapTypeId.SATELLITE

I have also tried other variations of this, but I think I am missing something.

Hi Luke,

Can you prepare a sample application showing your problem, and then share it with us? (Check the Publish dialog - you can choose “allow someone to make a copy of my app” - that’s a link that will let us copy your app with its source code)

1 Like

Here is a link to my app: https://anvil.works/ide#clone:Q3H2OG4OSPLNWLGC=IGBKCPZPI6W3KE5HDMWJO2GO

Thank you!

Hi Luke,

This turned out to be a bug in our Google Maps implementation, which is now fixed. It should be deployed in the next day or two.

Thanks for letting us know!

[Moved to bug reports]

1 Like

For information, the fix to this is now online.