- Timestamp:
- Apr 18, 2010, 11:38:17 AM (15 years ago)
- Location:
- trunk/src/map
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/nodemapWL.js
r7824 r7825 3 3 4 4 var map; 5 var markerArray = new Array(); 6 var circleArray = new Array(); 5 var markerArray = []; 6 var circleArray = []; 7 var polygons_on_map_array = []; 7 8 var xmlhttp; 8 9 var targetDiv = "infotop"; … … 10 11 var overNode; 11 12 var markerSelected = ""; 12 var polygons_on_map_array = new Array(); 13 13 14 14 15 … … 18 19 if (GBrowserIsCompatible()) { 19 20 //Adding the google map into the div called #mapcanvas 20 map = new GMap2(document.getElementById("mapcanvas"), {googleBarOptions : {style : "new" ,}});21 map = new GMap2(document.getElementById("mapcanvas"), {googleBarOptions : {style : "new"}}); 21 22 //Center the map on Leiden 22 23 map.setCenter(new GLatLng(52.162687, 4.493294), 11); // Vars should go to config … … 238 239 function mapZoomed() 239 240 { 240 markerSelected.setImage("../img/sleutelGroenSelected.png"); 241 if(!markerSelected == "") 242 { 243 markerSelected.setImage("../img/sleutelGroenSelected.png"); 244 } 241 245 } 242 246 -
trunk/src/map/index.php
r7809 r7825 53 53 <div id="mapcanvas"> 54 54 <!-- Create the map using the intitialize_map() function from nodemapWL.js --> 55 <script type="text/javascript">initialize_map();</script>55 <script>initialize_map();</script> 56 56 <!--<script type="text/javascript">nodeAdd();</script>--> 57 57 </div>
Note:
See TracChangeset
for help on using the changeset viewer.