fix resize marker link
This commit is contained in:
parent
a49dd6ccb2
commit
5f325ae276
1 changed files with 4 additions and 1 deletions
|
@ -248,6 +248,7 @@ requires
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// fixme: use $.when()
|
||||||
that.launch = function(callback) {
|
that.launch = function(callback) {
|
||||||
var time = +new Date(),
|
var time = +new Date(),
|
||||||
userAgent = getUserAgent(),
|
userAgent = getUserAgent(),
|
||||||
|
@ -281,6 +282,7 @@ requires
|
||||||
that.api.init(getUserData(), function(result) {
|
that.api.init(getUserData(), function(result) {
|
||||||
config = result.data.config;
|
config = result.data.config;
|
||||||
user = result.data.user;
|
user = result.data.user;
|
||||||
|
// fixme: not generic
|
||||||
document.title = config.site.name;
|
document.title = config.site.name;
|
||||||
launchCallback();
|
launchCallback();
|
||||||
});
|
});
|
||||||
|
@ -295,6 +297,7 @@ requires
|
||||||
}, 1000, function() {
|
}, 1000, function() {
|
||||||
$div.remove();
|
$div.remove();
|
||||||
});
|
});
|
||||||
|
// fixme: not generic enough, just pass data
|
||||||
callback({config: config, user: user});
|
callback({config: config, user: user});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -10619,7 +10622,7 @@ requires
|
||||||
cursor: that.position + '-resize',
|
cursor: that.position + '-resize',
|
||||||
draggable: true,
|
draggable: true,
|
||||||
icon: new google.maps.MarkerImage(
|
icon: new google.maps.MarkerImage(
|
||||||
Ox.UI.PATH + 'png/ox.ui/markerResize.png',
|
Ox.UI.PATH + 'png/ox.map/markerResize.png',
|
||||||
new google.maps.Size(16, 16),
|
new google.maps.Size(16, 16),
|
||||||
new google.maps.Point(0, 0),
|
new google.maps.Point(0, 0),
|
||||||
new google.maps.Point(8, 8)
|
new google.maps.Point(8, 8)
|
||||||
|
|
Loading…
Reference in a new issue