more chat related stuff. public user chat and message posting is still missing though

This commit is contained in:
Stefan Breunig
2013-02-03 19:44:35 +01:00
parent a7db7e656a
commit ecfaca7f9b
9 changed files with 681 additions and 91 deletions

View File

@ -119,3 +119,9 @@ window.scrollBottom = function(elm) {
if(typeof elm === 'string') elm = $(elm);
return elm.get(0).scrollHeight - elm.innerHeight() - elm.scrollTop();
}
window.zoomToAndShowPortal = function(guid, latlng) {
renderPortalDetails(guid);
map.setView(latlng, 17);
}