Changed map dragging functionality to use jQuery UI. This is an attempt to fix dragging on WINE.

This commit is contained in:
Mark Aherne
2014-07-23 16:46:37 +01:00
parent c3f62d4f52
commit 5fd0d2d16e
10 changed files with 2538 additions and 49 deletions

View File

@@ -63,7 +63,9 @@ NanoStateClass.prototype.onUpdate = function (data) {
if (!this.mapInitialised)
{
// Add drag functionality to the map ui
$('#uiMap').drags({handle : '#uiMapImage'});
$('#uiMap').draggable({
handle : '#uiMapImage'
});
$('#uiMapTooltip')
.off('click')