Photos

From MBEWiki
(Difference between revisions)
Jump to: navigation, search
(New page: test: <script type="text/javascript"> //<![CDATA[ function makeMap1() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map1")); map.se...)
 
Line 1: Line 1:
test:
+
test: 34.4151, -119.8409
 
+
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=34.4151,+-119.8409&amp;ie=UTF8&amp;ll=34.421992,-119.836721&amp;spn=0.013117,0.028389&amp;t=h&amp;z=14&amp;om=0&amp;output=embed&amp;s=AARTsJorMB2VNjKt5OiM7mEe6uOMsKV8ew"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=34.4151,+-119.8409&amp;ie=UTF8&amp;ll=34.421992,-119.836721&amp;spn=0.013117,0.028389&amp;t=h&amp;z=14&amp;om=0&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
<script type="text/javascript">
+
//<![CDATA[
+
      function makeMap1() {      if (GBrowserIsCompatible()) {        var map = new GMap2(document.getElementById("map1"));        map.setCenter(new GLatLng(42.058056, -87.674167), 17, G_HYBRID_MAP);        GEvent.addListener(map, 'click', function(overlay, point) {          if (overlay) {            if (overlay.tabs) {              overlay.openInfoWindowTabsHtml(overlay.tabs);            } else if (overlay.caption) {              overlay.openInfoWindowHtml(overlay.caption);            }          }        });        map.enableScrollWheelZoom(); map.addControl(new GMapTypeControl());  map.addControl(new GSmallMapControl());  mapIcons['N'] = new GIcon(G_DEFAULT_ICON, 'http://maps.google.com/mapfiles/markerN.png'); marker = new GMarker(new GLatLng(42.0579, -87.6739), { 'icon':mapIcons['N'] }); marker.caption = ' '; marker.tabs = [ new GInfoWindowTab('Address', '<b>NUCAPT</b> (Seidman, Mat. Sci.)<br />2220 N Campus Dr<br />Evanston, IL 60208'), new GInfoWindowTab('Directions', '<a href=\"http://maps.google.com/maps?q=2220+N+Campus+Dr,+Evanston,+IL&amp;spn=0.022078,0.040199&amp;hl=en\" class=\"external text\" title=\"http://maps.google.com/maps?q=2220+N+Campus+Dr,+Evanston,+IL&amp;spn=0.022078,0.040199&amp;hl=en\" rel=\"nofollow\">Driving directions</a>') ]; map.addOverlay(marker); GME_DEFAULT_ICON = G_DEFAULT_ICON;     } else {        document.getElementById("map1").innerHTML = "In order to see the map that would go in this space, you will need to use a <a href=\"http://local.google.com/support/bin/answer.py?answer=16532&amp;topic=1499\">compatible web browser</a>.";            }      }      addLoadEvent(makeMap1);
+
//]]>
+
</script>
+

Revision as of 07:39, 26 January 2008

test: 34.4151, -119.8409 <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=34.4151,+-119.8409&ie=UTF8&ll=34.421992,-119.836721&spn=0.013117,0.028389&t=h&z=14&om=0&output=embed&s=AARTsJorMB2VNjKt5OiM7mEe6uOMsKV8ew"></iframe>
<a href="http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=34.4151,+-119.8409&ie=UTF8&ll=34.421992,-119.836721&spn=0.013117,0.028389&t=h&z=14&om=0&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a>

Personal tools