More updates to url links to be compatible with stock intel map

This commit is contained in:
Kevin
2013-04-11 23:11:50 -07:00
parent fc3dde2b7a
commit 79af80d0c3
5 changed files with 19 additions and 8 deletions

View File

@ -396,6 +396,11 @@ function boot() {
window.setupBackButton();
// read here ONCE, so the URL is only evaluated one time after the
// necessary data has been loaded.
urlPortalLL = getURLParam('pll');
if(urlPortalLL) {
urlPortalLL = urlPortalLL.split(",");
urlPortalLL = [parseFloat(urlPortalLL[0]) || 0.0, parseFloat(urlPortalLL[1]) || 0.0];
}
urlPortal = getURLParam('pguid');
// load only once