<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: No data displayed calling GoogleMaps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795988#M471914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, If I understand correctly, the peace that doesn't work is the load from the Google Maps API call... Honestly, I've never seen the API used this way. I typically use the API to get the image of the map, when the coordinates are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the Google description, this API returns the image of the map and not the coordinates. Any of my attempts to retrieve anything from this API resulted in "Cannot open the HTML File" error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further search on the Google Maps API page tells me that the API that returns coordinates, is called Geocoding Service. Check it out here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple" title="https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple"&gt;Geocoding service - Google Maps JavaScript API v3 — Google Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;www.masterssummit.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 19:40:53 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2015-02-12T19:40:53Z</dc:date>
    <item>
      <title>No data displayed calling GoogleMaps</title>
      <link>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795985#M471911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a very novice QlikView user.&amp;nbsp; I have been following some threads on how to display maps inside of a Qlikview screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code appears to work, but I am not able to return any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the full code structure I am using and it successfully loads the data, populates the array and passes the string into the URL call.&amp;nbsp; But no data is returned to populate the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD Quantity,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; City&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let noRows = NoOfRows('Table1')-1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=0 to $(noRows)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let a=peek('Customer',$(i),'Table1');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let b=peek('Quantity',$(i),'Table1');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let address=peek('City',$(i),'Table1');&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(a)' as Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(b)' as Quantity,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(address)' as Address,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield([Response/Placemark/Point/coordinates], ',' ,1) AS longitude,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield([Response/Placemark/Point/coordinates], ',' ,2) AS latitude&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.google.com/maps/embed/v1/place?key=AIzaSyC741BDXPTrEYFiVTUhuXhDIUFkyS0kfik&amp;amp;q=$(address" rel="nofollow"&gt;https://www.google.com/maps/embed/v1/place?key=AIzaSyC741BDXPTfBTYENutOUhuXhDIUFkyS0kfik&amp;amp;q=$(address&lt;/A&gt;&lt;SPAN&gt;)] (XmlSimple, Table is [kml]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Google Maps in QlikView&lt;/P&gt;&lt;P&gt;// V0.85.2 - October 1st 2008&amp;nbsp; © Copyright QlikTech International AB 2008 / AES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Google Maps Key&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// get a key here &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://code.google.com/apis/maps/signup.html" rel="nofollow"&gt;http://code.google.com/apis/maps/signup.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;gmap_key = 'xx';&lt;/P&gt;&lt;P&gt;max_zoom_level = 17; //maximum value 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Variables required for calculating map&lt;/P&gt;&lt;P&gt;// No need to change these&lt;/P&gt;&lt;P&gt;var_pi180=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=pi()/180';&lt;/P&gt;&lt;P&gt;var_lat_offset=&amp;nbsp;&amp;nbsp;&amp;nbsp; '0';&lt;/P&gt;&lt;P&gt;var_mc2=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=256*pow(2,$(var_zoom))';&lt;/P&gt;&lt;P&gt;var_mc1=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=256*pow(2,($(var_zoom)-1))';&lt;/P&gt;&lt;P&gt;var_mid_lat=&amp;nbsp;&amp;nbsp;&amp;nbsp; '=min(latitude)+(1+var_lat_offset)*((max(latitude)-min(latitude))/2)';&lt;/P&gt;&lt;P&gt;var_mid_long=&amp;nbsp;&amp;nbsp;&amp;nbsp; '=min(longitude)+(max(longitude)-min(longitude))/2';&lt;/P&gt;&lt;P&gt;var_zoom=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=max(aggr(if(max( round(256*pow(2,(_zoom_level -1)))+( longitude&amp;nbsp; *((256*pow(2,_zoom_level ))/360)) )-min( round(256*pow(2,(_zoom_level -1)))+( longitude&amp;nbsp; *((256*pow(2,_zoom_level ))/360)) ) &amp;lt;map_size_x AND max((256*pow(2,(_zoom_level-1)))+((0.5*log((1+(sin((latitude)*pi()/180)))/(1-(sin((latitude)*pi()/180)))))*((-256*pow(2,_zoom_level))/(2*pi()))))-min((256*pow(2,(_zoom_level-1)))+((0.5*log((1+(sin((latitude)*pi()/180)))/(1-(sin((latitude)*pi()/180)))))*((-256*pow(2,_zoom_level))/(2*pi()))))&amp;lt;map_size_y,_zoom_level,1),_zoom_level))';&lt;/P&gt;&lt;P&gt;var_maptype=&amp;nbsp;&amp;nbsp;&amp;nbsp; '=if(isnull(only(maptype)),fieldvalue( '&amp;amp;chr(39)&amp;amp;'maptype'&amp;amp;chr(39)&amp;amp;', 1 ),maptype)';&lt;/P&gt;&lt;P&gt;map_size_x=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '400';&lt;/P&gt;&lt;P&gt;map_size_y=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '400';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HidePrefix='_' ;&lt;/P&gt;&lt;P&gt;// Field required for calcualting best zoom level&lt;/P&gt;&lt;P&gt;_zoom_level:&lt;/P&gt;&lt;P&gt;Load RecNo( ) as _zoom_level autogenerate(max_zoom_level);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maptype:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maptype&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; roadmap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mobile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; satellite&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; terrain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hybrid&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 14:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795985#M471911</guid>
      <dc:creator />
      <dc:date>2015-02-12T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: No data displayed calling GoogleMaps</title>
      <link>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795986#M471912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see where you actually call the Google maps API. Usually, it;s done in the Chart background color (chart properties, Colors tab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be easier to troubleshoot if you posted your sample document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;www.masterssummit.com&lt;/STRONG&gt; - take your QlikView skills to the next level!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 18:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795986#M471912</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-12T18:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: No data displayed calling GoogleMaps</title>
      <link>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795987#M471913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for looking into this Oleg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the sample document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 19:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795987#M471913</guid>
      <dc:creator />
      <dc:date>2015-02-12T19:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: No data displayed calling GoogleMaps</title>
      <link>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795988#M471914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, If I understand correctly, the peace that doesn't work is the load from the Google Maps API call... Honestly, I've never seen the API used this way. I typically use the API to get the image of the map, when the coordinates are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the Google description, this API returns the image of the map and not the coordinates. Any of my attempts to retrieve anything from this API resulted in "Cannot open the HTML File" error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further search on the Google Maps API page tells me that the API that returns coordinates, is called Geocoding Service. Check it out here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple" title="https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple"&gt;Geocoding service - Google Maps JavaScript API v3 — Google Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;www.masterssummit.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 19:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-data-displayed-calling-GoogleMaps/m-p/795988#M471914</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-12T19:40:53Z</dc:date>
    </item>
  </channel>
</rss>

