static const gint num_scales = (sizeof(scale_mpps) / sizeof(scale_mpps[0]));
#define ERROR_MARGIN 0.01
-guint8 googlemaps_zoom ( gdouble mpp ) {
+static guint8 googlemaps_zoom ( gdouble mpp ) {
gint i;
for ( i = 0; i < num_scales; i++ ) {
if ( ABS(scale_mpps[i] - mpp) < ERROR_MARGIN )
void googlemaps_init ();
-guint8 googlemaps_zoom ( gdouble mpp );
-
/* a bit misleading, this is the "mpp" (really just set zoom level, very
* roughly equivalent so you can easily switch between maps) of
* google maps 1, the second google maps level (1st is 0). */