Map is better centered now when initially loading the page. The latitude is an approximation of the center, since we're using a mercator projection with what should be a rotated euclidean one. It's close enough.
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
function initialize() {
|
function initialize() {
|
||||||
var mapOptions = {
|
var mapOptions = {
|
||||||
zoom: config.defaultZoom,
|
zoom: config.defaultZoom,
|
||||||
center: new google.maps.LatLng(0, 0),
|
center: new google.maps.LatLng(-45, 90),
|
||||||
mapTypeControlOptions: {
|
mapTypeControlOptions: {
|
||||||
mapTypeIds: ['mcmap'],
|
mapTypeIds: ['mcmap'],
|
||||||
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
|
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
|
||||||
|
|||||||
Reference in New Issue
Block a user