Ignore:
Timestamp:
Apr 18, 2010, 10:02:22 AM (15 years ago)
Author:
janveeden
Message:

Clicking on a node in the searchlist will now zoom to the node that was clicked on.

File:
1 edited

Legend:

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

    r7816 r7820  
    349349}
    350350
     351function goToMarker(value)
     352{
     353        for(var i=0; i<markerArray.length; i++)
     354        {
     355                var name = markerArray[i].getTitle();
     356               
     357                if(name == value)
     358                {
     359                        map.setCenter(markerArray[i].getLatLng(), 15);
     360                }
     361        }
     362}
     363
    351364function toggleGoogleSearchMap()
    352365{
Note: See TracChangeset for help on using the changeset viewer.