Optional
params: JLatitudeAndZoomif passed will use the given values for latitude and zoom, else use map current values
// returns the current resolution for current map latitude (center of the map) and zoom level
JMap.Map.getResolution()
// returns the resolution for given map latitude=45.5 and zoom level = 4
JMap.Map.getResolution({
latitude: 45.5,
zoom: 4
})
JMap.Map.getResolution
Returns the screen resolution, depending on screen DPI, latitude, and zoom level.
if params is passed will use the given values for latitude (center of the map) and zoom, else use map current ones.
Note: screen DPI is fixed.