CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Documentation on JQMLabel with GoogleMaps

by Alexander Bulei » 04 Jan 2018 17:05

Hi Omega8,

The link is opened with user click action.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Omega8 » 04 Jan 2018 17:12

Could you please be more specific. I click on it nothing happens. How can I programmatically have JQMLabel show its contents when the page containing it is created without user interaqction

Thanks
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 05 Jan 2018 15:29

Hi Omega8,

You cant...if you want redirect, you must use the iw functions.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

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.
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

Previous

Return to JQMLabel

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.