Hi:
I'm not a coder, although I can dink around a bit with PHP and some js
(not enough), and of course bumble along in html, xml and some xhtml.
I have a classifieds cms which does not have a native Google Maps
app. One of the employees of the vendor came up with a method to use
two fields in the ad-create form, in which the user places the address
in one field, which is fed as a variable ("Location" is the variable)
to this (in another field):
<iframe width="425" height="350" frameborder="0" scrolling="no"
marginheight="0" marginwidth="0" src="http://www.google.com/maps?q=
{Location}&ie=UTF8&t=h&z=14&iwloc=A&output=embed"></iframe><br /
><small><a href="http://www.google.com/maps?q={Location}
&ie=UTF8&t=h&z=14&iwloc=A&source=embed" style="color:#0000FF;text-
align:left">View Larger Map</a></small>
Now, this actually works. The user types an address, somehow it gets
geocoded, and the map, with an address marker, displays.
My issue is twofold: one, I don't understand WHY it works. I'm not
sending it my API Key (I have one I use on another app at the same
root url), and it doesn't look like the normal js map script to me.
Second, because I don't "get" why it works, I don't know how to adjust
or change or modify the address marker. It *seems* as though it's
feeding the location to the Google Maps app and then embedding the
returned map into this iframe, if I understand what I'm seeing.
I'd LIKE to do this correctly, but I don't know how to properly use
the geocoding. I can see and understand how to use the proper map js,
but don't really get the geocoding. I can set up another "invisible
to the user" field in which I could embed the geocoding js if I had
any idea HOW to do that.
Any help that could be thrown my way, I'd appreciate; I really would
like to do this properly.
Thx,
Icebox
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---