From OpenWetWare
Jump to: navigation, search

<html xmlns=""> <script src=";v=2.71&amp;key=ABQIAAAALLbK9zjbd7JpTrkV4-YbwxRSXllrirTOP8BJPCtxjWVzsNMbFRQmkCSOpE5ARgUVPuqz3vsD2xHp3g&amp;hl=en" type="text/javascript"></script> <script src=";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[

   GME_SMALL_ICON = new GIcon();
   GME_SMALL_ICON.image = "";
   GME_SMALL_ICON.shadow = "";
   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':'{label}.png', 'icon':'', '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=\"\">compatible web browser</a>.', 'no editor':'Unfortunately, your browser does not support the interactive map-making features. Try the latest version of <a href=\"\">Internet Explorer</a> (Windows) or <a href=\"\">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'); = "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>';


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