Changeset 7816 for trunk/src/map


Ignore:
Timestamp:
Apr 17, 2010, 6:37:17 PM (15 years ago)
Author:
janveeden
Message:

Removed location search toggle by accident. Now its back there again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map/inc/nodemapWL.js

    r7814 r7816  
    349349}
    350350
    351 
    352 
     351function toggleGoogleSearchMap()
     352{
     353        if(gmap_search_state)
     354        {
     355                gmap_search_state = false;
     356        }
     357        else
     358        {
     359                gmap_search_state = true;
     360        }
     361       
     362        if(gmap_search_state)
     363        {
     364                map.enableGoogleBar();
     365        }
     366       
     367        if(!gmap_search_state)
     368        {
     369                map.disableGoogleBar();
     370        }
     371}
     372
     373
     374
Note: See TracChangeset for help on using the changeset viewer.