The last days I have found out that my htmlViewer is no longer displaying google maps.
I stopped my code and took the html I create for Google maps and i used it on w3schools test environment and everything worked fine.
Does anyone has a suggestion to make in order to make HTMLViewer display maps again?
I have tested both native and webkit. The difference is that on native i get a grey screen and on webkit it looks like it load the google labels and navigation cursors
but the map is grey too.
There’s a couple of possibilities, but my instinct (since you’re able to get partial content) is that you need a Google Maps API Key. A few years ago they decided to start charging developers for use of their maps based on application usage.
I create a html on my App. This one i pass it to the htmlViewer and it cannot be displayed in Xojo App.
The same html is working on every browser both on my Windows and Mac.
I don’t think it is a problem with the key.
Have you set the registry key for the browser version used in the HTMLViewer on Windows? By default, it is the minimum version provided by the OS, so it could be that Google has dropped support for whatever version the HTMLViewer is presenting.
If you could create a simple sample app that shows the problem, I could take a look at it. If the project requires any private data, please create private message to send me a link. You can do that by clicking on my name and then select “Start a private conversation…”
I will try to create a new project and go step by step. Because we use a subwindow of Xojo window and rubber views.
If I do not find any solution i will contact you.