implement basic support for smartphones

This commit is contained in:
Stefan Breunig
2013-02-16 13:52:17 +01:00
parent 5b77a652fb
commit 346d3ae0a1
6 changed files with 220 additions and 11 deletions

View File

@ -89,6 +89,8 @@ window.unixTimeToHHmm = function(time) {
window.rangeLinkClick = function() {
if(window.portalRangeIndicator)
window.map.fitBounds(window.portalRangeIndicator.getBounds());
if(window.isSmartphone)
window.smartphone.mapButton.click();
}
window.reportPortalIssue = function(info) {