aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/lib/config-sample.php1
-rw-r--r--xslt/v2/feed.xsl3
2 files changed, 1 insertions, 3 deletions
diff --git a/frontend/lib/config-sample.php b/frontend/lib/config-sample.php
index 1be1afd..1e9a124 100644
--- a/frontend/lib/config-sample.php
+++ b/frontend/lib/config-sample.php
@@ -23,7 +23,6 @@ $CONF['trsExpireDays'] = 7;
$CONF['feedEngine'] = 'cth';
$CONF['google.key'] = 'GOOGLE-API-KEY';
-$CONF['google.mapkey'] = 'GOOGLE-MAP-KEY';
$CONF['google.analytics'] = 'GA-CODE';
$CONF['fb.app_id'] = 'FACEBOOK-APP-ID';
diff --git a/xslt/v2/feed.xsl b/xslt/v2/feed.xsl
index c56eedf..f6f67bd 100644
--- a/xslt/v2/feed.xsl
+++ b/xslt/v2/feed.xsl
@@ -1010,10 +1010,9 @@
<xsl:template name="show-map">
<xsl:param name="lat"/>
<xsl:param name="long"/>
- <xsl:variable name="mapkey" select="'ABQIAAAAvLLQCnhTw46NwnzLhmeTWxTKCotwoHIH9XR8xmEaA1ptUXasrBR183bAB_OU-il8VLNhl9DX6kkXYA'"/>
<div class="mapembedded">
<a href="http://maps.google.com/maps?q={normalize-space($lat)},{normalize-space($long)}">
- <img osrc="http://maps.google.com/staticmap?zoom=12&amp;size=175x120&amp;maptype=mobile&amp;markers={normalize-space($lat)},{normalize-space($long)}&amp;key={$mapkey}"
+ <img osrc="http://maps.google.com/maps/api/staticmap?sensor=false&amp;zoom=12&amp;size=175x120&amp;markers={normalize-space($lat)},{normalize-space($long)}"
width="175" height="120" alt="Google Maps" title="Google Maps" />
</a>
</div>

Return to:

Send suggestions and report system problems to the System administrator.