<?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 Google Maps unable to load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Google-Maps-unable-to-load/m-p/1518348#M748250</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been calling Google maps API in Qlikview for the past year, and it was working fine. However, recently when i reload my data, the map is unable to be displayed (blank).&lt;/P&gt;&lt;P&gt;Please help! As the mapping is important in my course of work. Thanks!&lt;/P&gt;&lt;P&gt;Below is my script:&lt;/P&gt;&lt;P&gt;// Google Maps in QlikView&lt;BR /&gt;// V0.85.2 - October 1st 2008 © Copyright QlikTech International AB 2008 / AES&lt;/P&gt;&lt;P&gt;// Google Maps Key&lt;BR /&gt;// get a key here &lt;A href="http://code.google.com/apis/maps/signup.html" target="_blank"&gt;http://code.google.com/apis/maps/signup.html&lt;/A&gt;&lt;BR /&gt;gmap_key = 'AIzaSyBvmmnBumwuXqDjJxhz7aQFqhUfi_hcMJc';&lt;BR /&gt;max_zoom_level = 17; //maximum value 17&lt;/P&gt;&lt;P&gt;// Variables required for calculating map&lt;BR /&gt;// No need to change these&lt;BR /&gt;var_pi180= '=pi()/180';&lt;BR /&gt;var_lat_offset= '0';&lt;BR /&gt;var_long_offset='0';&lt;BR /&gt;var_mc2= '=256*pow(2,$(var_zoom))';&lt;BR /&gt;var_mc1= '=256*pow(2,($(var_zoom)-1))';&lt;BR /&gt;var_mid_lat= '=min(latitude)+(1+var_lat_offset)*((max(latitude)-min(latitude))/2)';&lt;BR /&gt;var_mid_long= '=min(longitude)+(max(longitude)-min(longitude))/2';&lt;BR /&gt;var_zoom= '=max(aggr(if(max( round(256*pow(2,(_zoom_level -1)))+( longitude *((256*pow(2,_zoom_level ))/360)) )-min( round(256*pow(2,(_zoom_level -1)))+( longitude *((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;BR /&gt;var_maptype= '=if(isnull(only(maptype)),fieldvalue( '&amp;amp;chr(39)&amp;amp;'maptype'&amp;amp;chr(39)&amp;amp;', 1 ),maptype)';&lt;BR /&gt;map_size_x= '640';&lt;BR /&gt;map_size_y= '400';&lt;/P&gt;&lt;P&gt;SET HidePrefix='_' ;&lt;BR /&gt;// Field required for calcualting best zoom level&lt;BR /&gt;_zoom_level:&lt;BR /&gt;Load RecNo( ) as _zoom_level autogenerate(max_zoom_level);&lt;/P&gt;&lt;P&gt;maptype:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;maptype&lt;BR /&gt;roadmap&lt;BR /&gt;mobile&lt;BR /&gt;satellite&lt;BR /&gt;terrain&lt;BR /&gt;hybrid&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;Data:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;POD,Index,GDP_PPP_M, latitude, longitude&lt;BR /&gt;Nagoya, 11111, 111111, 35.090622, 136.878141&lt;BR /&gt;Laem Chabang, 11111, 22222, 13.067392, 100.903845&lt;BR /&gt;Cai Mep, 2222, 22222, 10.543745, 107.028514&lt;BR /&gt;Kaohsiung, 3333, 33333, 22.599441, 120.288098&lt;BR /&gt;Xiamen, 4444, 44444, 24.491402, 118.082175&lt;BR /&gt;Hongkong, 55555, 55555, 22.305987, 114.169549&lt;BR /&gt;Yantian, 6666, 66666, 22.576286, 114.265590&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Joness</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Google Maps unable to load</title>
      <link>https://community.qlik.com/t5/QlikView/Google-Maps-unable-to-load/m-p/1518348#M748250</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been calling Google maps API in Qlikview for the past year, and it was working fine. However, recently when i reload my data, the map is unable to be displayed (blank).&lt;/P&gt;&lt;P&gt;Please help! As the mapping is important in my course of work. Thanks!&lt;/P&gt;&lt;P&gt;Below is my script:&lt;/P&gt;&lt;P&gt;// Google Maps in QlikView&lt;BR /&gt;// V0.85.2 - October 1st 2008 © Copyright QlikTech International AB 2008 / AES&lt;/P&gt;&lt;P&gt;// Google Maps Key&lt;BR /&gt;// get a key here &lt;A href="http://code.google.com/apis/maps/signup.html" target="_blank"&gt;http://code.google.com/apis/maps/signup.html&lt;/A&gt;&lt;BR /&gt;gmap_key = 'AIzaSyBvmmnBumwuXqDjJxhz7aQFqhUfi_hcMJc';&lt;BR /&gt;max_zoom_level = 17; //maximum value 17&lt;/P&gt;&lt;P&gt;// Variables required for calculating map&lt;BR /&gt;// No need to change these&lt;BR /&gt;var_pi180= '=pi()/180';&lt;BR /&gt;var_lat_offset= '0';&lt;BR /&gt;var_long_offset='0';&lt;BR /&gt;var_mc2= '=256*pow(2,$(var_zoom))';&lt;BR /&gt;var_mc1= '=256*pow(2,($(var_zoom)-1))';&lt;BR /&gt;var_mid_lat= '=min(latitude)+(1+var_lat_offset)*((max(latitude)-min(latitude))/2)';&lt;BR /&gt;var_mid_long= '=min(longitude)+(max(longitude)-min(longitude))/2';&lt;BR /&gt;var_zoom= '=max(aggr(if(max( round(256*pow(2,(_zoom_level -1)))+( longitude *((256*pow(2,_zoom_level ))/360)) )-min( round(256*pow(2,(_zoom_level -1)))+( longitude *((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;BR /&gt;var_maptype= '=if(isnull(only(maptype)),fieldvalue( '&amp;amp;chr(39)&amp;amp;'maptype'&amp;amp;chr(39)&amp;amp;', 1 ),maptype)';&lt;BR /&gt;map_size_x= '640';&lt;BR /&gt;map_size_y= '400';&lt;/P&gt;&lt;P&gt;SET HidePrefix='_' ;&lt;BR /&gt;// Field required for calcualting best zoom level&lt;BR /&gt;_zoom_level:&lt;BR /&gt;Load RecNo( ) as _zoom_level autogenerate(max_zoom_level);&lt;/P&gt;&lt;P&gt;maptype:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;maptype&lt;BR /&gt;roadmap&lt;BR /&gt;mobile&lt;BR /&gt;satellite&lt;BR /&gt;terrain&lt;BR /&gt;hybrid&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;Data:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;POD,Index,GDP_PPP_M, latitude, longitude&lt;BR /&gt;Nagoya, 11111, 111111, 35.090622, 136.878141&lt;BR /&gt;Laem Chabang, 11111, 22222, 13.067392, 100.903845&lt;BR /&gt;Cai Mep, 2222, 22222, 10.543745, 107.028514&lt;BR /&gt;Kaohsiung, 3333, 33333, 22.599441, 120.288098&lt;BR /&gt;Xiamen, 4444, 44444, 24.491402, 118.082175&lt;BR /&gt;Hongkong, 55555, 55555, 22.305987, 114.169549&lt;BR /&gt;Yantian, 6666, 66666, 22.576286, 114.265590&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Google-Maps-unable-to-load/m-p/1518348#M748250</guid>
      <dc:creator>Joness</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

