Dynamic pages, pulling content from databases want to insert the address like i was saying.
want to create one map and pass the variable to it. What type of response is this http://maps.google.com/maps/geo?q=1600%20Pennsylvania%20Avenue,%20Washington%20DC its javascript right? if so do i include it to get all the variable. can i get an example thanks by the way. On Sep 17, 10:37 am, Andrew Leach <[email protected]> wrote: > On Sep 17, 3:25 pm, koenigmedia <[email protected]> wrote: > > > > > sounds really simple, but the only examples i've seen online are the > > ones people keep copying over and over again that require a form > > submission to pass the address. > > The reason for that is that dynamic geocoding is intended for > addresses which you *don't* know when you code the page. > > > Just some real down and dirty code is all i need. > > var marker = new GLatLng(38.897461,-77.036538); > map.addOverlay(marker) > > Find the coordinates with a request > likehttp://maps.google.com/maps/geo?q="1600%20Pennsylvania%20Avenue,%20Washington%20DC" > -- note that the coordinates in the result are lng,lat instead of > lat,lng. > > If you really must geocode a known address every time the page is > viewed (why??!) then use the same method as the form pages show, but > don't have a form and submit your known address to GClientGeocoder > instead of the one constructed from the form. But you won't find any > examples recommended as the way to do this. > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
