Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18835
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Tony" <tony.johansson@inport.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: problem with google map when using IE 10 |
| Date | Mon, 11 Mar 2013 10:05:12 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 1 |
| Message-ID | <khk6la$6va$1@dont-email.me> (permalink) |
| References | <khk1f5$h4q$1@dont-email.me> <xZKdnVv8dttDC6DMnZ2dnUVZ_rCdnZ2d@westnet.com.au> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=response |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Mon, 11 Mar 2013 09:03:38 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="04290fff4557273ca84c3ad616751e0b"; logging-data="7146"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+DBxHlsSjIjCoEvZSdYkPL63w7IuPNh4=" |
| X-MimeOLE | Produced By Microsoft MimeOLE V15.4.3555.308 |
| In-Reply-To | <xZKdnVv8dttDC6DMnZ2dnUVZ_rCdnZ2d@westnet.com.au> |
| X-Newsreader | Microsoft Windows Live Mail 15.4.3555.308 |
| Importance | Normal |
| Cancel-Lock | sha1:V7uiAXWVqsV3qlSfGWJ9frn9C0U= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Xref | csiph.com comp.lang.javascript:18835 |
Show key headers only | View raw
This line
google.load("maps", "2", { "other_params":"sensor=false" });
cause in swedish
"Körningsfel i JavaScript: google har inte definierats"
and translated to english it it's
runtime error in Javascript google has not been defined
//Tony
"Andrew Poulos" wrote in message
news:xZKdnVv8dttDC6DMnZ2dnUVZ_rCdnZ2d@westnet.com.au...
On 11/03/2013 6:36 PM, Tony wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:v="urn:schemas-microsoft-com:vml">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
> <script type="text/javascript"
> src="http://www.google.com/jsapi"></script>
> <script type="text/javascript">
> google.load("maps", "2", { "other_params":"sensor=false" });
>
> function init()
> {
> map = new google.maps.Map2(document.getElementById("map"));
> var myLatLng = new google.maps.LatLng(58.135148,
> 12.122726, true);
> map.setCenter(myLatLng, 15);
> var myMarker = new google.maps.Marker(myLatLng, { "title":
> "Eken" });
> map.addControl(new google.maps.LargeMapControl());
> map.addControl(new google.maps.MapTypeControl());
> map.setMapType(G_SATELLITE_MAP);
> map.addOverlay(myMarker);
> };
> google.setOnLoadCallback(init);
> </script>
> <title>My first Google Map</title>
> </head>
> <body>
> <div id="map" style="width: 400px; height: 400px; margin: auto;
> background-color: red">
> This is where the map will soon appear.
> </div>
> </body>
> </html>
Which line gives the error?
Andrew Poulos
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
problem with google map when using IE 10 "Tony" <tony.johansson@inport.com> - 2013-03-11 08:36 +0100
Re: problem with google map when using IE 10 Andrew Poulos <ap_prog@hotmail.com> - 2013-03-11 19:33 +1100
Re: problem with google map when using IE 10 "Tony" <tony.johansson@inport.com> - 2013-03-11 10:05 +0100
Re: problem with google map when using IE 10 Andrew Poulos <ap_prog@hotmail.com> - 2013-03-11 20:27 +1100
Re: problem with google map when using IE 10 "Tony" <tony.johansson@inport.com> - 2013-03-11 10:52 +0100
Re: problem with google map when using IE 10 "Tony" <tony.johansson@inport.com> - 2013-03-11 12:37 +0100
Re: problem with google map when using IE 10 "Tony" <tony.johansson@inport.com> - 2013-03-11 13:25 +0100
csiph-web