grantatwbx
7 Jul 2010, 1:52 PM
I am using a Ext.Map like this:
var mapView = new Ext.Map({
fullscreen: true,
title: 'Map',
getLocation: false,
mapOptions: {
zoom: 13,
center: myDestination,
mapTypeControl: false
}
});
There is a javascript error: "a is undefined" reported in the browser. However, if I set the "getLocation" to be true, it will not have the error and the map loads fine. This is problematic because I want to use the map but without having to ask permission to use the user's location (in fact, I am not even interested in their location).
var mapView = new Ext.Map({
fullscreen: true,
title: 'Map',
getLocation: false,
mapOptions: {
zoom: 13,
center: myDestination,
mapTypeControl: false
}
});
There is a javascript error: "a is undefined" reported in the browser. However, if I set the "getLocation" to be true, it will not have the error and the map loads fine. This is problematic because I want to use the map but without having to ask permission to use the user's location (in fact, I am not even interested in their location).