Amy-

The Link I sent you shows how you can use the G_Control to add a
control object over your map.  What you will want to do is go through,
and either add your aprticular form on the map using the G_Control
method (documentation: 
http://code.google.com/apis/maps/documentation/reference.html#GControlImpl)
or add the local search control on it.

Good Luck!
-Pete

On Apr 1, 11:37 am, Amy <[email protected]> wrote:
> Thank you Pete,
>
> Are you able to give me any pointers on where to place this code
> within my existing code given above? Also, do I just place the snippet
> from the link or the whole source code associated with the link?I have
> been trying by trial and error for the last hour but with no luck. I
> am not a programmer and have only very limited experience with code.
>
> Amy
>
> On Apr 1, 5:48 am, Petrogad <[email protected]> wrote:
>
> > Amy-
>
> > You should be able to use something this example to place your search
> > bar right in your map.
>
> >http://code.google.com/apis/ajax/playground/#map_control_localsearch
>
> > Good Luck!
> > Thanks
> > -Pete
>
> > On Mar 31, 9:52 am, Amy <[email protected]> wrote:
>
> > > I would like to have my Google custom search box appear in the top
> > > right hand corner of the map itself (not outside of the map). Is it
> > > possible to put the GCS code into the Map code? If so, these are the 2
> > > codes. I am not a programmer so need clear instructions or for the
> > > code to written so that I can just cut and paste the new code. Thank
> > > you.
> > > Code for GCS
> > > <form id="cse-search-box" action="http://www.google.com/cse";>
> > >   <div>
> > >     <input value="005201463466432140607:50nf9f3itre" name="cx"
> > > type="hidden"/>
> > >     <input value="UTF-8" name="ie" type="hidden"/>
> > >     <input name="q" size="31" type="text"/>
> > >     <input value="Search" name="sa" type="submit"/>
> > >     <select name="as_qdr">
> > >       <option value="all"/>Any time
> > >       <option value="d"/>Past 24 hours
> > >       <option value="w"/>Past week
> > >       <option value="w2"/>Past 2 weeks
> > >       <option value="m"/>Past month
> > >       <option value="m2"/>Past 2 months
> > >       <option value="m6"/>Past 6 months
> > >       <option value="y"/>Past year
> > >       <option value="y2"/>Past 2 years
> > >       <option value="y5"/>Past 5 years
> > >       <option value="y10"/>Past 10 years
> > >     </select>
> > >   </div>
> > > </form>
> > > <script src="http://www.google.com/coop/cse/brand?form=cse-search-
> > > box&lang=en" type="text/javascript"></script>
> > > Code for Maps
> > > <iframe width="425" height="350" frameborder="0" scrolling="no"
> > > marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?
> > > ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=112557391842943178341.0004665d38c50ab983c98&amp;ll=26.72286,21.967163&amp;spn=24.26792,-161.993408&amp;output=embed"></
> > > iframe><br /><small><a href="http://maps.google.com/maps/ms?
> > > ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=112557391842943178341.0004665d38c50ab983c98&amp;ll=26.72286,21.967163&amp;spn=24.26792,-161.993408&amp;source=embed"
> > > style="color:#0000FF;text-align:left">View Larger Map</a></small>
--~--~---------~--~----~------------~-------~--~----~
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