Yes corrected version is here http://mootools.net/shell/9uBzX/1/ . I missed the (required) stuck to the options list in the google docs. They realy should bold those . :) Needless to say the url requires the : center,zoom,size, and sensor options to all be set.
2010/3/18 Fábio M. Costa <[email protected]> > is it working now? > > > -- > Fábio Miranda Costa > Solucione Sistemas > Engenheiro de interfaces > > > On Thu, Mar 18, 2010 at 2:40 PM, Paul Saukas <[email protected]>wrote: > >> 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 >>>> >>> >>> >> >
