gmestzoom | R Documentation |
Estimates zoom parameter for google maps to fit points Calculation source https://stackoverflow.com/questions/6048975/google-maps-v3-how-to-calculate-the-zoom-level-for-a-given-bounds
gmestzoom(ne_coord, sw_coord)
ne_coord |
vector of longitude, latitude for north-east corner of box |
sw_coord |
vector of longitude, latitude for south-west corner of box |
minzm |
minimal value to return, deafult of 18 |
integer value of zoom to use in a google maps api call
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.