Hi, I just want to put the Google Maps static URL into a PHP web page that already has the variables of address, city, state and zip code displayed in text on the page. I don't want to use the Longitude and Latitude version.
How do I reconfigure the static Map URL to "echo" (insert them into the static URL) those variables in place of parameters in the URL shown below? I'd also like to have the marker appear at the street address, a zoom control and link to larger map from this map thumbnail. http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap &markers=color:blue|label:S|40.702147,-74.015794&markers=color:green| label:G|40.711614,-74.012318 &markers=color:red|color:red|label:C|40.718217,-73.998284&sensor=false For example: http://maps.google.com/maps/api/staticmap?center=<php echo ("$address") ?> ,<php echo ("$state") ?> ,<php echo ("$zipcode") ?> &............... -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
