OpenWetWare talk:Map

From OpenWetWare

Jump to: navigation, search

Contents

Instructions

Adding your institution to the map

Any institution with one or more labs on OpenWetWare can be added to the map. Please just add yourself.

Fixing errors

If you find that your institution's name or location is incorrect on the map, either edit the wiki page and fix it yourself or please leave a note here.

If your location is incorrect, please provide the name of the institution and the correct latitude and longitude coordinates. You can find these by searching your institution on Google maps, clicking link to this page and extracting the latitude and longitude coordinates from the URL.

For instance, here is the URL for the address 77 Massachusetts Ave 02139 in Google maps.

http://maps.google.com/maps?f=q&hl=en&q=77+Massachusetts+Ave+02139&sll=42.360621,-71.089911&sspn=0.008657,0.020514&layer=&ie=UTF8&z=16&ll=42.359004,-71.093559&spn=0.008657,0.020514&om=1&iwloc=addr

so the latitude and longitude are

ll=42.360621,-71.089911

Making your own map

You can make your own map on OWW just by copying the code and modifying parameters. See the Google Maps extension for details.

To do

  1. Get a better marker icon.
  2. Make the call boxes for each institution more interesting. Add lab links, pictures, institutional logo's.
  3. Make separate lab, institution and user maps?

Discussion

Vincent 16:05, 19 April 2007 (EDT): That's really cool !!!

Acknowledgements

Trial

<exhibit>

Invalid language.

You need to specify a language like this: <source lang="html4strict">...</source>

Supported languages for syntax highlighting:

4cs, abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, clojure, cmake, cobol, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, ecmascript, eiffel, email, erlang, fo, fortran, freebasic, fsharp, gambas, gdb, genero, gettext, glsl, gml, gnuplot, groovy, haskell, hq9plus, html4strict, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lisp, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, make, mapbasic, matlab, mirc, mmix, modula3, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, ocaml, ocaml-brief, oobas, oracle11, oracle8, oxygene, pascal, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, plsql, povray, powerbuilder, powershell, progress, prolog, properties, providex, purebasic, python, qbasic, rails, rebol, reg, robots, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xml, xorg_conf, xpp, z80

 <facet facetClass="TextSearch" />
 <facet expression=".institution" />
 <view viewClass="Map" 
       label="Map" 
       latlng=".latlng"
       shapeWidth="50"
       shapeHeight="50"
       zoom="1"
       center="40, 0"
       />
 <view viewClass="Tabular"
       label="Table"
       columns=".label, .institution"
       sortColumn="0"
       />

</exhibit>

Lab Institution LatLng
Knight MIT 42.36053792387064, -71.09007145677018
Endy MIT 42.36053792387064, -71.09007145677018
Personal tools