OpenWetWare:Map

From OpenWetWare
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

<html xmlns="http://www.w3.org/1999/xhtml"> <script src="http://maps.google.com/maps?file=api&amp;v=2.71&amp;key=ABQIAAAALLbK9zjbd7JpTrkV4-YbwxRSXllrirTOP8BJPCtxjWVzsNMbFRQmkCSOpE5ARgUVPuqz3vsD2xHp3g&amp;hl=en" type="text/javascript"></script> <script src="http://www.google.com/uds/api?file=uds.js&amp;v=1.0&amp;key=ABQIAAAALLbK9zjbd7JpTrkV4-YbwxRSXllrirTOP8BJPCtxjWVzsNMbFRQmkCSOpE5ARgUVPuqz3vsD2xHp3g" type="text/javascript"></script> <script src="/w/extensions/GoogleMaps/EditorsMap.js" type="text/javascript"></script>

<script src="/w/extensions/GoogleMaps/color_select.js" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[

   var GME_SMALL_ICON;
   GME_SMALL_ICON = new GIcon();
   GME_SMALL_ICON.image = "http://labs.google.com/ridefinder/images/mm_20_yellow.png";
   GME_SMALL_ICON.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
   GME_SMALL_ICON.iconSize = new GSize(12, 20);
   GME_SMALL_ICON.shadowSize = new GSize(22, 20);
   GME_SMALL_ICON.iconAnchor = new GPoint(6, 20);
   GME_SMALL_ICON.infoWindowAnchor = new GPoint(5, 1);
   var editors_options = {
       'container':'toolbar', 'textbox':'wpTextbox1', 'toggle':'google_maps_toggle_link','width':400, 'height':400, 'lat':42.390591, 'lon':-72.525478, 'zoom':14, 'type':'map', 'controls':'medium', 'units':'meters', 'scale':'no', 'selector':'yes', 'zoomstyle':'fast', 'doubleclick':'recenter', 'icons':'http://maps.google.com/mapfiles/marker{label}.png', 'icon':'http://www.google.com/mapfiles/marker.png', 'version':2.71, 'precision':4, 'color':'#758bc5', 'overview':'no', 'geocoder':'1', 'localsearch':'1',  'rtl':false }; var mapIcons = {}; var GME_DEFAULT_ICON = G_DEFAULT_ICON; function addLoadEvent(func) { var oldonload = window.onload; if (typeof oldonload == 'function') { window.onload = function() { oldonload(); func(); }; } else { window.onload = func; } } window.unload = GUnload;var _ = { 'incompatible browser':'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&topic=1499\">compatible web browser</a>.', 'no editor':'Unfortunately, your browser does not support the interactive map-making features. Try the latest version of <a href=\"http://www.microsoft.com/ie\">Internet Explorer</a> (Windows) or <a href=\"http://www.mozilla.org/products/firefox\">Firefox</a> (Windows, Mac, and Linux).', 'make marker':'Caption (wiki mark-up OK):', 'remove':'remove', 'caption':'Caption', 'tab title':'Tab title', 'tab':'Tab', 'start path':'start a path', 'save point':'save &amp; close', 'load map from article':'Load a map from the article:', 'no maps':'No maps in this article to load.', 'refresh list':'Refresh list', 'load map':'Load map', 'clip result':'Add to map', 'no results':'Sorry, no results', 'searching':'searching...', 'map':'Map', 'note':'Note: be sure to copy what you want to save into the article (below) before hitting \"Load map\", \"Save\" or \"Preview\"!', 'instructions':'Below is the Wiki mark-up to create the map above.', 'are you sure':'Are you sure?', 'clear all points':'Clear all points', 'refresh points':'Refresh points', 'width':'Width', 'height':'Height', 'scale control':'Scale', 'overview control':'Overview', 'selector control':'Map/Satellite selector', 'zoom control':'Navigation', 'large':'Large', 'medium':'Medium', 'small':'Small', 'no zoom control':'None', 'yes':'Yes', 'no':'No', 'search preface':'Click the map to add a point, or jump to a city, country, address or business:', 'geocode preface':'Click the map to add a point, or jump to a city, country, or address:', 'no search preface':'Click the map to add a point.', 'search':'Search', 'clear search':'clear search results', 'meters':'meters', 'miles':'miles', 'editing path':'Click the map to add more points to this path.', 'save path':'Save', 'edit path':'add points', 'color path':'change color', 'make map':'make a map', 'hide map':'hide map' };var GME_PATHS_SUPPORTED = true; function insertGoogleMapLinks() {
   var links = document.createElement('div');
   links.style.fontSize = "10px";
   links.innerHTML = '<a id="google_maps_show_link" href="javascript:void(0)" '+
       'onclick="javascript:document.getElementById(\'google_maps_show_link\').style.display=\'none\'; '+
       'emap = new EditorsMap(editors_options);">'+_['make map']+'</a> <a id="google_maps_toggle_link" href="javascript:emap.toggleGoogleMap()" style="display: none;">'+_['hide map']+'</a>';
  document.getElementById('toolbar').appendChild(links);

}

addLoadEvent(insertGoogleMapLinks); //]]> </script> </html>