Re: APIキーが必要とでます。
Quoting:
<<Language: English >>
I can't understand a word you write m8 sorry. I even translated it
into English but makes no sense :S
On Jul 28, 11:08 am, 康子 永松 <su3re...@gmail.com> wrote:
> Gmap.htmlは下記のようにしました。
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>
> <title>Google Maps JavaScript API Example</title>
> <script src="http://maps.google.com/maps?file=api&v=2&key=自
> 分のキー"
> type="text/javascript"></script>
> <script type="text/javascript">
> //<![CDATA[
> function load() {
> if (GBrowserIsCompatible()) {
> //var map = new GMap2(document.getElementById("map")); //======
> 変更======
> var map = new GMap2(document.getElementById("map")); //======
> 追加======
> map.addControl(new GMapTypeControl()); //======
> 追加======
> map.setCenter(new GLatLng(33.129759, 130.059156), 2); //===数字を
> 変更===
> //北緯・東経・
> ズーム(1-15)
> }
> }
> //]]>
> </script>
> </head>
> <body onload="load()" onunload="GUnload()">
> <div id="map" style="width: 500px; height: 300px"></div>
> </body>
> </html>
>
> そして載せたい所に下記を貼りつけました。
> <iframe src="gmap.htm" width="500" height="300" frameborder="0"
> scrolling="no"></iframe>
>
> しかし、googlemap APIキーが必要とでます。
> どこが間違っていますか?
> よろしくお願いします。
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home