by Omega8 » 06 Jan 2018 17:59
OK. I finally could solve the issue with Google Maps showing on an AjaxMobile Page on Create.
What I needed to do was show google maps in an enclosed area with multiple markers on an Ajax Frame Page. The user needs to see immediately the google maps and the markers without leaving the current website.
Solution:
1) Create a complete html page containing the google map and all of the the markers using google maps javascript API
2) Drop an JQMLabel on the AjaxFrame.
3) Set AutoHeight to False and set the Height of JQMLabel to the height of the Map defined in the html file
4) In the OnCreate event load the HTML file into a TStringList and set its Text property
to JQMLLabel.Text
Thats it. When the AjaxPage opens you have full Google Maps functionality in the AjaxFrame.