Ignore:
Timestamp:
Apr 18, 2010, 8:43:17 PM (15 years ago)
Author:
ddboer
Message:

created highlightCurrentMarker()

Currently only works on markers, clusters is work in progress

File:
1 edited

Legend:

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

    r7830 r7832  
    1111var overNode;
    1212var markerSelected = "";
     13var highlightCircle;
     14var currentMarker;
    1315
    1416
     
    8284        });
    8385        GEvent.addListener(marker, 'click', function() {
     86                currentMarker = marker;
     87                  highlightCurrentMarker();     
    8488        mouseClickNode(current.id, current.name[0], marker);
    8589        });
     
    258262function mapZoomed()
    259263{
     264        highlightCurrentMarker()
    260265        if(!markerSelected == "")
    261266        {
     
    282287function deSelect()
    283288{
     289        map.removeOverlay(highlightCircle);
    284290        selected = false;
    285291        loadXMLDoc("inc/node_info.php");
Note: See TracChangeset for help on using the changeset viewer.