Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahamed_Qlik
Specialist
Specialist

Query on using Gmap in application

Dear all,

I am facing below problem in my application :

The bubbles in the chart are not reflecting as per the actual longitude and latitude provided from the database.

Example :

If I select Hong Cong City then the actual longitude and latitude are different and while reflecting on the chart those are different,Also the location of the bubble is showing below the Africa region as the county is China.

Below are screenshot :

Gmap.png

Gmap1.png

Kindly Help.

Regards,

Mahamed.

3 Replies
petter
Partner - Champion III
Partner - Champion III

Do you translate the Latitude and Longitude into x,y coordinates of the chart? If not you will have to use a formula to do that which is rather involved but easy to copy and paste from sample Google Map applications like the one described here: Step-by-Step Google Map API v3 integration

Mahamed_Qlik
Specialist
Specialist
Author

Hey Petter,

Thank you for your response. Yes I followed the standard steps for this Gmap application.

kedar_dandekar
Creator
Creator

Hi Faizan,

It seems the latitude and longitude you are displaying in the tool tip (on hover) are the computed X and Y values, and not the actual Latitude and Longitude values as seen in the list-box.

Also, please check the longitude values in your DB, the lat, long values for HongKong are (22.30138, 113.8975) where as in your list-box it is seen as (22.30138, -113.8975).

HTH,

Kedar