google maps API v3 Directions Not Working with GeoCoder
Like this the directions work fine, but the GeoCoder doesn't work.

    var MapCenter = new google.maps.LatLng(-33.8665433, 151.1956316);
    
    function initialize(lat,lng) {
    					  
    geocoder = new google.maps.Geocoder();
    // var MapCenter = new google.maps.LatLng(lat,lng);
    geocodeThis(MapCenter);

I would need it like this, so that it would center the map based on your location, but when I put it like this the GeoCoder works, but the directions create a conflict, which I can't solve:

    // var MapCenter = new google.maps.LatLng(-33.8665433, 151.1956316);
    
    function initialize(lat,lng) {
    					  
    geocoder = new google.maps.Geocoder();
    var MapCenter = new google.maps.LatLng(lat,lng);
    geocodeThis(MapCenter);

This is my full code:
http://pastebin.com/HxTCYJSU

Thanks in advance, Sebastian
google maps API v3 Directions Not Working with GeoCoder
===

Like this the directions work fine, but the GeoCoder doesn't work.

    var MapCenter = new google.maps.LatLng(-33.8665433, 151.1956316);
    
    function initialize(lat,lng) {
    					  
    geocoder = new google.maps.Geocoder();
    // var MapCenter = new google.maps.LatLng(lat,lng);
    geocodeThis(MapCenter);

I would need it like this, so that it would center the map based on your location, but when I put it like this the GeoCoder works, but the directions create a conflict, which I can't solve:

    // var MapCenter = new google.maps.LatLng(-33.8665433, 151.1956316);
    
    function initialize(lat,lng) {
    					  
    geocoder = new google.maps.Geocoder();
    var MapCenter = new google.maps.LatLng(lat,lng);
    geocodeThis(MapCenter);

This is my full code:
http://pastebin.com/HxTCYJSU

Thanks in advance, Sebastian