No pin in webmap viewer

Hello everyone,
I am working into integrating google maps into a web app and i am trying to add a location and go there. This is my code located in the opening event handler of the map viewer:

me.APIKey = *getGoogleApiKey

Var location As New WebMapLocation
location.APIKey = *getGoogleApiKey
location.Latitude = 35.152718387119826
location.Longitude = 33.31628420488782
location.Title = “Hi”
location.Visible = true

MapViewer1.Zoom = 10

With this code the map viewer works, it takes me to the location but there is no pin displayed.
What am i doing wrong? because i cannot find it!

Thanks in advance for any guidance!

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.