Open DrizzlyOwl opened 8 years ago
I need to research more. Its my understanding that using the object method above returns an object literal so by using the object literal as I have it should be a little faster.
Have you got specifics on these checks that google.maps.LatLng
performs?
Rather than defining your latlng as
why not make use of GMaps LatLng Class instead?
I believe google do certain checks and preps to ensure the latitude and longitude values are adhering to what their maps api is expecting to receive
https://developers.google.com/maps/documentation/javascript/reference?hl=en#LatLng