Changeset 7779


Ignore:
Timestamp:
Apr 16, 2010, 2:37:52 AM (15 years ago)
Author:
ddboer
Message:

-Custom icons
-New icons,with shadow and other features created with this site:

http://www.powerhut.co.uk/googlemaps/custom_markers.php

-Added iconstyle.js

Location:
trunk/src
Files:
8 added
2 edited

Legend:

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

    r7778 r7779  
    5151function addMarker(current, i) {
    5252        var id = current.id;
    53         var marker  = new GMarker(new GLatLng(current.latitude[0], current.longitude[0]), {title: current.name[0]})     ;
     53        var marker  = new GMarker(new GLatLng(current.latitude[0], current.longitude[0]), greenIcon, false, {title: current.name[0]})   ;
    5454        //Added mouseover listener that calls on our mouseOver function when the mouse moves over a marker on the map
    5555        GEvent.addListener(marker, 'mouseover', function() {
    56         mouseOverNode(current.id, current.name[0],52.162687, 4.493294);
    57         //mouseOverNode(current.id, current.name[0],current.latitude[0], current.longitude[0]);
     56        //mouseOverNode(current.id, current.name[0],52.118860692234, 4.5015095076528);
     57        mouseOverNode(current.id, current.name[0],current.latitude[0], current.longitude[0]);
    5858        });
    5959        GEvent.addListener(marker, 'click', function() {
     
    9090                overNode = true;
    9191               
    92                 //alert(lat);
    93                
     92               
     93                //alert(long);
    9494               
    9595                loadXMLDoc("inc/node_info.php?type=single&name="+name+"");
  • trunk/src/map/index.php

    r7769 r7779  
    4040<script type="text/javascript" src="inc/nodemapWL.js"></script>
    4141<script type="text/javascript" src="inc/overlay.js"></script>
     42<script type="text/javascript" src="inc/iconStyles.js"></script>
    4243
    4344<!-- Loading in the javascript that handles the switching between gebruiker and beheerder -->
Note: See TracChangeset for help on using the changeset viewer.