Tag: Coordinates
Maps : Zoom into appropriate location
by Immanuel Noel on Oct.04, 2009, under Code Snippets, Javascript
Visitors end up seeing the entire world on the map when GeoCoordinates are not available.
There are two ways to combat this,
Either position map (calculate longitude) based on the timezone from system date,
The entire map is still seen, but the map is positioned with the visitors location at the center.
Below is the map show to a visitor from northern South America, instead of all continents.

Here is how to do it,
(continue reading…)


