Rather than posting code from your page in the group, please upload  
your page to a free hosting provider. If that is absolutely  
impossible, please post your code to a pastebin service which will  
preserve formatting, etc.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Aug 3, 2009, at 12:14 AM, praveen wrote:

>
> hello sir
>
>      i was executing all google map code examples on my local host..
>      while  executing map control localsearch example ( from control
> examples )
>      it not displaying  SEARCH TEXTBOX  on my map. Till now i was
> using
>      google default api key for executing all map examples on my
> local host
>      Does this require api key .?
>
>    this was site all examples are provided ..can anyone give
> solution
>     http://code.google.com/apis/ajax/playground/?exp=language#map_simple
>
>
> below was code  was running on my localhost( using notepad editor )
>
>  <!DOCTYPE html "-//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";>
>  <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&amp;v=2&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-
> m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA"
>            type="text/javascript"></script>
>    <script type="text/javascript">
>
> function initialize() {
>  if (GBrowserIsCompatible()) {
>
>    // Create and Center a Map
>    var map = new GMap2(document.getElementById("map_canvas"));
>    map.setCenter(new GLatLng(37.4419, -122.1419), 13);
>    map.addControl(new GLargeMapControl());
>    map.addControl(new GMapTypeControl());
>
>    // bind a search control to the map, suppress result list
>    map.addControl(new google.maps.LocalSearch(), new GControlPosition
> (G_ANCHOR_BOTTOM_RIGHT, new GSize(10,20)));
>  }
> }
> GSearch.setOnLoadCallback(initialize);
>
>
>    </script>
>  </head>
>  <body onload="initialize()" onunload="GUnload()">
>    <div id="map_canvas" style="width: 400px; height: 300px"></div>
>  </body>
> </html>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to