Changeset 8474 in genesis
- Timestamp:
- Sep 19, 2010, 11:03:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/nodemap.html
-
Property svn:keywords
set to
Id
r8472 r8474 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <!-- 4 Author: Rick van der Zwet <info@rickvanderzwet.nl> 5 License: BSDLike - http://svn.wirelessleiden.nl/svn/LICENSE.txt 6 --> 3 7 <html xmlns="http://www.w3.org/1999/xhtml"> 4 8 <head> … … 20 24 var map, rulerControl, clickControl; 21 25 var mapnik, wms; 26 var svnVersion = '$Id$'; 27 var version = '0.10'; 22 28 var projection_wgs = new OpenLayers.Projection("EPSG:4326"); // WGS 1984 23 29 var projection_smp = new OpenLayers.Projection("EPSG:900913"); // Spherical Mercator Projection … … 114 120 } 115 121 116 function init () {122 function initMap() { 117 123 map = new OpenLayers.Map("basicMap"); 118 124 … … 391 397 }); 392 398 map.addControl(rulerControl); 393 } 394 399 } // end of init 400 401 402 395 403 function resize() { 396 404 size = new OpenLayers.Size(size.w + 10, size.h + 10); 397 405 icon.setSize(size); 398 406 } 399 407 408 409 400 410 function toggleFieldById(field) { 401 411 var e = document.getElementById(field); … … 406 416 } 407 417 } 408 418 419 420 409 421 function toggleClickControl() { 410 422 toggleFieldById('coordField'); … … 415 427 clickControl.deactivate(); 416 428 document.getElementById('click').src = url_pal3 + "icon28.png"; 417 418 429 } 419 430 } 420 431 421 432 422 433 function toggleRulerControl() { … … 430 441 } 431 442 } 432 443 444 445 433 446 function defaultFocus() { 434 447 map.setCenter(new OpenLayers.LonLat(4.50,52.186).transform( projection_wgs, projection_smp), 12); 435 448 } 436 437 // http://openlayers.org/dev/examples/strategy-cluster-threshold.html 449 450 451 452 function init() { 453 initMap(); 454 document.getElementById('version').innerHTML = version; 455 document.getElementById('svnVersion').innerHTML = svnVersion; 456 } 438 457 // ]]> 439 458 … … 462 481 <li>Contrast of background: <a title="decrease opacity" href="javascript: changeOpacity(-0.1);">Decrease</a> or <a title="increase opacity" href="javascript: changeOpacity(0.1);">Increase</a></li> 463 482 </ul> 464 <p> 483 <p>Validated by: 465 484 <a href="http://validator.w3.org/check?uri=referer"><img 466 485 src="http://www.w3.org/Icons/valid-xhtml10" title="Valid XHTML 1.0 Strict" 467 alt="Valid XHTML 1.0 Strict" height=" 31" width="88" /></a>486 alt="Valid XHTML 1.0 Strict" height="17" /> 468 487 <a href="http://jslint.com"><img src="http://www.jslint.com/jslintpill.gif" title="Valid JavaScript code" alt="Valid JavaScript code" /></a> 488 <br /> 489 Version: <em id='version'></em> - <em id='svnVersion'></em> 490 <p /> 491 <small> 492 Written by Rick van der Zwet - <info@rickvanderzwet.nl><br /> 493 Licence: <a href="http://svn.wirelessleiden.nl/svn/LICENSE.txt">BSDlike</a> 494 </small> 469 495 </p> 470 496 </div> -
Property svn:keywords
set to
Note:
See TracChangeset
for help on using the changeset viewer.