Thanks for the advice.
I have tried this as shown
The result shows
Any further help would be welcomed.
Kind regards
Tom
I presume you want to add the coordinates to the url ?
What should the full url to google maps look like ?
Yes, but they need to be added to the maps url...
https://www.google.com/maps/@53.57,-2.94,13z
Thank you for having a look at this issue.
I do not know how I can add Google Maps to the maps url when the other saved url coordinates are stored in TinyDB1 under the coordinates tag.
Really appreciate your help with this
Try an url like this
Just use the join block to put everything together
Taifun
I have tried your suggestion as suggested but still do not get map
The app shows location as maps.googleapis....etc
Any other suggestions would be gratefully received.
Perhaps
You don't need the join other than to include your coordinates. Share your aia and I'll show you how to do that. using the join and your coordinates variable.
as described in Get Started | Maps Static API | Google for Developers
Thanks Steve
Hi Steve
I have to go out for a couple of hours so please excuse me if you contact me and i do not reply straight away
Kind regards
Tom
OK.
Here is the code to display a GMap using a Button.
Adapt the code to work in your view Procedure substituting coordinates variable for the two places 50.80748,-0.50499 appears.
You have some issues with TinyDB I didn't fix. I used a button to display your map.
Thank you for the coding which i will try to adapt.
Looks promising that the API is connecting OK.
Tom
Brilliant, The app is now showing Google static map.
I have saved different locations in the TinyDB but on selecting one of them the Google map just keeps showing the static map.
In the call part of the WebViewer1 GoToUrl block I think that I have to reference somehow the different coordinate strings placing them after "?center=" . This would then take the place of 50.80748,-0.50499.
Would that be correct and would you mind showing how can i do that.
Thanks
Hi
I have tried to resolve the issue of taking data from Tiny DB and placing them into a URL so that they can be displayed.
After adding Taifun1 Path to this block
I get the following error message
![screenshotErrorMessage|224x500]
Also tried changing 50.807 etc with 'get cordinates' see image.
Could you please help with this. I attach the aia file.
Removed because it exposes and shares your GoogleMap key with the world. You do not want to do that because others can use your account and use up your 'free' usage.
happy to resolve this through your company.
Tom
I have some code from you but this has
Why exactly are you usimg again the PathToAssets method?
Remove it! And never use it again. It is obsolete and outdated!
Removed because the image exposes a GoogleMap Key ...
Taifun
Thanks for the warning. I have removed the images.
I really am stuck getting the TinyDB data to reflect the google map image.
Would you resolve this on a commercial basis?
The only thing you have to do from your now removed screenshot is to remove the PathToAssets method
Taifun
Many thanks for quidance.
Tom