[mirrorbrain-commits] r8355 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

From: <poeml_at_mirrorbrain.org>
Date: Fri, 31 Jan 2014 01:34:47 -0000
Author: poeml
Date: Fri Jan 31 02:34:47 2014
New Revision: 8355

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8355&view=rev
Log:
mod_mirrorbrain:
- scale Google map showing only the part of the world which actually
  contains the select 9 closest mirrors (see issue #123)

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.c

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8355&r1=8354&r2=8355&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.c	(original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.c	Fri Jan 31 02:34:47 2014
_at_@ -3120,7 +3120,7 @@
                                                              mirrors_same_country, mirrors_same_region, 
                                                              mirrors_elsewhere);
             mirrorp = (mirror_entry_t **)topten->elts;
-            ap_rprintf(r, "<p><a href=\"http://maps.google.com/maps/api/staticmap?size=640x512&amp;center=0,0&amp;"
+            ap_rprintf(r, "<p><a href=\"http://maps.google.com/maps/api/staticmap?size=640x512&amp;"
                           "visual_refresh=true&amp;scale=2&amp;maptype=roadmap&amp;sensor=false&amp;markers=color:red|%f,%f", lat, lng);
             for (i = 0; i < topten->nelts; i++) {
                 mirror = mirrorp[i];




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Fri Jan 31 2014 - 01:34:49 GMT

This archive was generated by hypermail 2.3.0 : Fri Jan 31 2014 - 01:47:10 GMT