<?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 Why this typical Google Maps example doesn't work? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171626#M41550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a dot as decimal separator :&lt;/P&gt;&lt;P&gt;SET DecimalSep='.'&lt;/P&gt;&lt;P&gt;and set Thousand separator to&lt;/P&gt;&lt;P&gt;SET ThousandSep=' ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it works.&lt;/P&gt;&lt;P&gt;JJJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Aug 2010 13:37:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-24T13:37:19Z</dc:date>
    <item>
      <title>Why this typical Google Maps example doesn't work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171622#M41546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys, I've just added the typical Google Maps Example and I cannot make it work. I think it's maybe because of the new version of QV 10.&lt;/P&gt;&lt;P&gt;Otherwise I cannot understand why the latitude and longitude showed are 0.&lt;/P&gt;&lt;P&gt;In the following example I just only add some example code of geocoding data and the typical code for a Google Maps QV Aplication.&lt;/P&gt;&lt;P&gt;I just cannot make it work and I don't understand why, in the first case, the latitude and longitude are 0, and in the second one the result cannot be shown.&lt;/P&gt;&lt;P&gt;Any ideas? Would be kindly appreciated.&lt;/P&gt;&lt;P&gt;Here I leave the code. cheers! :&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Country,Population,GDP_PPP_M, latitude, longitude&lt;BR /&gt;Albania, 3600523, 19621, 41.153332, 20.168331&lt;BR /&gt;Algeria, 33858000, 269201, 28.033886, 1.659626&lt;BR /&gt;Argentina, 40301927, 523169, -38.416097, -63.616672&lt;BR /&gt;Armenia, 3230100, 17139, 40.069099, 45.038189&lt;BR /&gt;Australia, 21446187, 760800, -25.274398, 133.775136&lt;BR /&gt;Austria, 8340924, 317800, 47.516231, 14.550072&lt;BR /&gt;Azerbaijan, 8629900, 64082, 40.143105, 47.576927&lt;BR /&gt;Bahrain, 760168, 24245, 25.930414, 50.637772&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;// Google Maps in QlikView&lt;BR /&gt;// V0.9 - October 1st 2008 © Copyright QlikTech International AB 2008 / AES&lt;BR /&gt;&lt;BR /&gt;// Google Maps Key&lt;BR /&gt;// get a key here http://code.google.com/apis/maps/signup.html&lt;BR /&gt;gmap_key = 'ABQIAAAAz3xOFbWaADVwBmLMzSJPmhRi_j0U6kJrkFvY4-OX2XYmEAa76BTcfAuv2czfjGrx_DULHCHDEGsRSw';&lt;BR /&gt;max_zoom_level = 5; //maximum value 17&lt;BR /&gt;&lt;BR /&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_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;BR /&gt;&lt;BR /&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;BR /&gt;&lt;BR /&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 16:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171622#M41546</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-08-23T16:30:24Z</dc:date>
    </item>
    <item>
      <title>Why this typical Google Maps example doesn't work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171623#M41547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's weird because I'm checking out with my work colleagues and everything seems to be fine. But it doesn't work.&lt;/P&gt;&lt;P&gt;Anybody knows why?&lt;/P&gt;&lt;P&gt;Many thanks per advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 17:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171623#M41547</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-08-23T17:27:30Z</dc:date>
    </item>
    <item>
      <title>Why this typical Google Maps example doesn't work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171624#M41548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;This issue is always the same problem.&lt;/P&gt;&lt;P&gt;Just change the setting&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;BR /&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;jjj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 20:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171624#M41548</guid>
      <dc:creator />
      <dc:date>2010-08-23T20:03:09Z</dc:date>
    </item>
    <item>
      <title>Why this typical Google Maps example doesn't work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171625#M41549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Merci beaucoup Jean Jacques for your quick answer.&lt;/P&gt;&lt;P&gt;I tried to figure out what do you mean with "changing the default settings" of the Thousand separator and the Decimal separator.&lt;/P&gt;&lt;P&gt;What do you exactly mean? I tried many combination formating these separators and it still doesn't work.&lt;/P&gt;&lt;P&gt;Many thanks by advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 08:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171625#M41549</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-08-24T08:52:13Z</dc:date>
    </item>
    <item>
      <title>Why this typical Google Maps example doesn't work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171626#M41550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a dot as decimal separator :&lt;/P&gt;&lt;P&gt;SET DecimalSep='.'&lt;/P&gt;&lt;P&gt;and set Thousand separator to&lt;/P&gt;&lt;P&gt;SET ThousandSep=' ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it works.&lt;/P&gt;&lt;P&gt;JJJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 13:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171626#M41550</guid>
      <dc:creator />
      <dc:date>2010-08-24T13:37:19Z</dc:date>
    </item>
    <item>
      <title>Why this typical Google Maps example doesn't work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171627#M41551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Jean Jacques.&lt;/P&gt;&lt;P&gt;Now it works fine. I cannot understand why it's so important this little stuff, but, thank you very much, you save me a big headacke.&lt;/P&gt;&lt;P&gt;See you around.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 13:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-this-typical-Google-Maps-example-doesn-t-work/m-p/171627#M41551</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-08-24T13:45:46Z</dc:date>
    </item>
  </channel>
</rss>

