Open GoogleCodeExporter opened 9 years ago
I forget: this is the code of the "wrong" page:
<html>
<head>
<script type='text/javascript'
src='http://maps.google.com/maps/api/js?sensor=false'></script><script
type="text/javascript" charset="utf-8">
//<![CDATA[
/*************************************************
* Created with GoogleMapAPI3.0beta
* Author: Brad Wedell <brad AT mycnl DOT com>
* Link http://code.google.com/p/php-google-map-api/
* Copyright 2010 Brad Wedell
* Original Author: Monte Ohrt <monte AT ohrt DOT com>
* Original Copyright 2005-2006 New Digital Group
* Originial Link http://www.phpinsider.com/php/code/GoogleMapAPI/
*************************************************/
var to_htmlsmap=[];var from_htmlsmap=[];var mapmap=null;function
onLoadmap(){var
mapObjmap=document.getElementById("map");if(mapObjmap!='undefined'&&mapObjmap!=n
ull){var
mapOptionsmap={scrollwheel:true,zoom:16,mapTypeId:google.maps.MapTypeId.HYBRID,m
apTypeControl:true,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.
DEFAULT}};mapmap=new google.maps.Map(mapObjmap,mapOptionsmap);}}
function isArray(a){return isObject(a)&&a.constructor==Array;}
function isObject(a){return(a&&typeof a=='object')||isFunction(a);}
function isFunction(a){return typeof a=='function';}
function isEmpty(obj){for(var i in obj){return false;}return true;}//]]>
</script>
</head>
<body>
<script language="javascript" type="text/javascript"
charset="utf-8">window.onload=onLoadmap;</script><script type="text/javascript"
charset="utf-8">
//<![CDATA[
document.write('<div id="map" style="width: 500px; height: 500px;
position:relative;"><\/div>');
//]]>
</script>
<noscript>Javascript must be enabled in order to use Google Maps.</noscript>
<div id="sidebar_map" class="sidebar_map"></div>
</body>
</html>
Original comment by marco.ar...@gmail.com
on 24 Nov 2011 at 4:26
Original issue reported on code.google.com by
marco.ar...@gmail.com
on 24 Nov 2011 at 3:37