Sorry forgot to include the correct url :) Requires size, type and sensor.
http://maps.google.com/maps/api/staticmap?center=Albany,Ny&zoom=10&size=512x512&maptype=roadmap&sensor=false On Thu, Mar 18, 2010 at 1:39 PM, Paul Saukas <[email protected]> wrote: > yes it is was missing a few key parts. Thanks for the info :) > > > On Thu, Mar 18, 2010 at 1:37 PM, Tim Wienk <[email protected]> wrote: > >> > why the highlighted section in the URL string. >> > Gets set to "&" and not just "&" >> >> In HTML, there are certain reserved characters, characters which are >> part of the HTML markup. The two most important ones are: >> - & (which starts an HTML entity), therefore to use a literal &, you >> need to actually use & >> - < (which starts an HTML tag), therefore to use a literal <, you need >> to actually use < >> >> So since your src attribute needs to contain a &, it is right for it >> to be &. The browser will parse it just right. >> >> Browsers are generally smart enough to figure out when a & is not part >> of an HTML entity though, which is why a lot of people either don't >> know or just forget, and don't write their HTML right. >> >> Like Aaron just mentioned, your problem is with the URL itself. >> >> -- Tim >> > >
