Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Google Map Integration

Hi,

I'm new to QV, using the Personal Edition, I'm trying to integrate Google Maps to our solution. I have attached the PDF which I followed to integrate Google Maps and its not working for me at all. The fields i have got in the expression are Longitude,Latitude and Patient_Registration for that location. Kindly help me on this, I'm stuck up with this nearly from 2 days.

Thanks in Advance

1 Solution

Accepted Solutions
Not applicable
Author

Hi all, Finally it worked for me. All I had to do is  use https like this https://maps.google.com/staticmap?center=29,77&zoom=5&maptype=roadmap&size=700x700&key=ABQIAAAA0HJ57... instead of http only.. Anyways,many thanks again for all the help and support.

Thanks,

Pavan

View solution in original post

14 Replies
erichshiino
Partner - Master
Partner - Master

Hi,

If you are using an example from QlikCommunity as your reference, your fields should probably be renamed to latitude and longitude (lower case)

Please, check if you don't have problems with decimal numbers  as mentioned here:

http://community.qlik.com/thread/23115

Hope this helps,

Erich

kamalqlik
Partner - Specialist
Partner - Specialist

Hi pavan ,

                Erich is right.Please make sure about the dimension that you are using and that is in the refrence.

If you still have the problem than I am attahing the application that I have worked.

Hope that help you

Not applicable
Author

Hi Pavan,

please keep in mind that the white paper is almost three years old. The Google Maps API has changed in the meantime, e.g. you don't need an API-key anymore.

Furthermore be sure to read the updated terms of service of the Google Maps API (e.g. usage limits and commercial use restrictions).

If you post your QVW-file here (with demo data if you are working with sensitive data) we might be able to help you

better.

Otherwise, if you are looking for a commercial solution, I would like to invite you to take a look at our product GlobeQlik (http://lrlikes.com/gq2) which display maps within QlikView easily.

Currently we are using OpenStreetMaps (OSM) as the main background map, but we are working on a new extension object to use more map providers (e.g. Google Maps, OSM, Bing Maps, ...).

Hope this helps,

Wilhelm

Not applicable
Author

Hi,

Here I'm attaching the Map Sample qvw file which i was working on. Please tell me describing whats the problem rather than editing the same file and sending me back as I use personal edition. Waiting to hear back soon.

Thanks,

Pavan

kamalqlik
Partner - Specialist
Partner - Specialist

Hi Pavan,

                  I opened your applicaion on my desktop.It is working fine without any change.

I am attaching the screenshot for that.

regards

Kamal

Not applicable
Author

Hi Pavan,

it also works on my computer.

Another thing you might try, is load your data into the QVW posted by Kamal.

Regards,

Wilhelm

GoogleMapsWorking.png

Not applicable
Author

Presentation.pngGeneral.pngExpressions.pngDimensions.pngAxes.pngColors.png

Hi,

I still don't understand y its not working, so i have attached the chart properties' screen shots tab by tab, so that it will give a clear idea of what mistake could have i made in the chart properties as well. I have also shown the dynamic image link what I used for the google maps. Waiting to hear back soon, its really urgent.

Thanks again,

Pavan

kamalqlik
Partner - Specialist
Partner - Specialist

Hi Pavan,

                I run your same application without any change ...but it is working fine for me.

Not applicable
Author

Hi again,

there seems to be an error in your maptype expression.

What get's generated:

http://maps.google.com/staticmap?center=29,77&zoom=5&maptype='=if(isnull(only(maptype)),fieldvalue( '&chr(39)&'maptype'&chr(39)&', 4 ),maptype)'&size=700x700&key=ABQIAAAA0HJ57VTP_SlbhN2l8S_wGRSCC1Qo7o9qRVortWI-RePD7begzxTfJ_AH5jfn1kxWiZEw7ngNoHss2g.jpg

What it shoud look like:

http://maps.google.com/staticmap?center=29,77&zoom=5&maptype=roadmap&size=700x700&key=ABQIAAAA0HJ57V...

Another note: Please check, if you can even access this link. Maybe it is blocked by your firewall.

Regards

Wilhelm