On Jan 5, 6:03 am, Metz <[email protected]> wrote:
> I've been looking for a way to pass a search parameter, but I couldn't find
> any. All I have right now is a basic geolocation map that grabs user's
> location. Is there any search parameter in the myOptions that I could use to
> have it automatically search on load?

Nope.  Read the documentation.
http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions

> Basically all I need is to take
http://maps.google.com/?q=recycle

That would be an embedded google map, not a google maps API (v3) map
(the topic of this group)

> and embed that map but I want it to use
> geolocation instead of saving my location when I "Link to". Thus the need
> for a simple search parameter on my map. Could you link me to those
> examples? I couldn't seem to find them on the site.

These were the main examples I was referring to (although other pages
implement the same functionality):
Mike William' tutorial More advanced stuff - Part 20 Passing and
receiving parameters

link to 2nd marker in xml (v3):
http://www.geocodezip.com/v3_MW_example_linktomarker.html?marker=1

link to "Marker Two" (v3)
http://www.geocodezip.com/v3_MW_example_linktomarker.html?id=Marker
Two

Combined link to marker, link to this example
http://www.geocodezip.com/v3_MW_example_linktomap.html?id=Marker%20One&lat=43.784976&lng=-81.018677&zoom=7&type=m

But since you seemed reluctant to post a link as requested in the
posting guidelines, I thought you should be able to find it yourself.

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-maps-js-api-v3?hl=en.

Reply via email to