Hi
resetGeo() is doing what you have programmed it to do

var enteredLocation = new
google.maps.LatLng(-25.641526373065755,24.9169921875);
map.setCenter(enteredLocation);
map.setZoom(5);

These settings are not your default settings

var Lat=-33.9996283139187;
var Lng=25.3267693519592;
var zm=15;

Regards Davie


On Feb 3, 9:25 am, Ice <[email protected]> wrote:
> Sorry if I wasn't being clear enough
>
> In my reset function I am setting the default values. I am
> not calling my initialize function like before so I'm still using the
> same map object.
>
> So now, even in the reset function, if I set the setZoom I get my error
> and if I remove setZoom I don't get an error

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to