get_googlemap_min_scale function

Figure out scale and centering of google map by transforming reported lat long bounding box back to web mercator

Figure out scale and centering of google map by transforming reported lat long bounding box back to web mercator

get_googlemap_min_scale(map)

Arguments

  • map: ggmap object

Returns

scale (factor by which web mercator has been shrunk) and min (leftmost, bottom most coordinate of rectangle)

  • Maintainer: Henry Scharf
  • License: GPL-3
  • Last published: 2025-03-02

Useful links