<?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: Google maps initialization script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538705#M201301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/324204"&gt;Google Maps stopped working&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 20:05:05 GMT</pubDate>
    <dc:creator>Bill_Britt</dc:creator>
    <dc:date>2013-11-19T20:05:05Z</dc:date>
    <item>
      <title>Google maps initialization script</title>
      <link>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538703#M201299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I found this script in older Forums and it doesn't work giving all kinds of errors.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm using QlikView 11 version.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;does anyone have the correct script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Boris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;P style="margin-top: 12px; margin-bottom: 12px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: arial; color: #000000;"&gt;// Google Maps in QlikView&lt;BR /&gt;// V0.85.2 – October 1st 2008&amp;nbsp; © Copyright QlikTech International AB 2008 / AES&lt;/P&gt;&lt;P style="margin-top: 12px; margin-bottom: 12px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: arial; color: #000000;"&gt;// Google Maps Key&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;// get a key here &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://code.google.com/apis/maps/signup.html" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;http://code.google.com/apis/maps/signup.html&lt;/A&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;gmap_key&lt;/EM&gt;&lt;/STRONG&gt; = ‘xx’;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;max_zoom_level&lt;/EM&gt;&lt;/STRONG&gt; = 17; //maximum value 17&lt;/P&gt;&lt;P style="margin-top: 12px; margin-bottom: 12px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: arial; color: #000000;"&gt;// Variables required for calculating map&lt;BR /&gt;// No need to change these&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_pi180&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ‘=pi()/180′;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_lat_offset&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ’0′;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_mc2&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ‘=256*pow(2,$(var_zoom))’;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_mc1&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ‘=256*pow(2,($(var_zoom)-1))’;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_mid_lat&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp; ‘=min(latitude)+(1+var_lat_offset)*((max(latitude)-min(latitude))/2)’;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_mid_long&lt;/EM&gt;&lt;/STRONG&gt;= ‘=min(longitude)+(max(longitude)-min(longitude))/2′;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_zoom&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;var_maptype&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp; ‘=if(isnull(only(maptype)),fieldvalue( ‘&amp;amp;chr(39)&amp;amp;’maptype’&amp;amp;chr(39)&amp;amp;’, 1 ),maptype)’;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;map_size_x&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ’400′;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;map_size_y&lt;/EM&gt;&lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ’400′;&lt;/P&gt;&lt;P style="margin-top: 12px; margin-bottom: 12px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: arial; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SET&lt;/STRONG&gt; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;HidePrefix&lt;/EM&gt;&lt;/STRONG&gt;=’_’ ;&lt;BR /&gt;// Field required for calcualting best zoom level&lt;BR /&gt;_zoom_level:&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Load&lt;/STRONG&gt; RecNo( ) as _zoom_level autogenerate(max_zoom_level);&lt;/P&gt;&lt;P style="margin-top: 12px; margin-bottom: 12px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: arial; color: #000000;"&gt;maptype:&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD&lt;/STRONG&gt; * 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;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 14:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538703#M201299</guid>
      <dc:creator />
      <dc:date>2013-11-18T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Google maps initialization script</title>
      <link>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538704#M201300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to get a map key from Google.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/324204"&gt;Google Maps stopped working&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 19:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538704#M201300</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-11-19T19:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Google maps initialization script</title>
      <link>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538705#M201301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/324204"&gt;Google Maps stopped working&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 20:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538705#M201301</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2013-11-19T20:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Google maps initialization script</title>
      <link>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538706#M201302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In google it says that no key is needed fot the maps API.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.google.com/maps/signup?csw=1" title="https://developers.google.com/maps/signup?csw=1"&gt;Sign Up for the Google Maps API - Google Maps API — Google Developers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 07:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538706#M201302</guid>
      <dc:creator />
      <dc:date>2013-11-24T07:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Google maps initialization script</title>
      <link>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538707#M201303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;How to get the Google Maps API Key for Business.&lt;/P&gt;&lt;P&gt;when i signup for business it asks to use the client id for the Static image map.&lt;/P&gt;&lt;P&gt;in the development i am suing the api key with personal google gmail account.&lt;/P&gt;&lt;P&gt;what exactyly this key is called in business..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Google-maps-initialization-script/m-p/538707#M201303</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2013-12-03T17:47:31Z</dc:date>
    </item>
  </channel>
</rss>

