Google Maps Without the Scripting

Posted by Tom Manshreck, Maps API Team

If you’re a regular reader of this blog, you probably already use the Google Maps API and love it as much as we do! But you may find it not useful for certain cases: the Google Maps API requires JavaScript, can take a while to load over slow connections, and requires some overhead to maintain a dynamic website.

The Google Static Maps API provides a simpler way to add maps to your website. Rather than use JavaScript, the Google Static Maps API creates map images on the fly via simple requests to the Static Maps service with HTTP requests. No JavaScript, no overhead. Just create a special URL as the src attribute within an tag and let the Static Maps service create your image.

To see how easy the Static Maps API is to use, note the image below:

This image was created using the following simple tag:


(Note that you will need to replace the key parameter above with your own Maps API key. You can obtain a free key at http://code.google.com/apis/maps/signup.html)

When this blog post was displayed in your browser, the URL in the tag was sent to the Static Maps service, which constructed an image based on the parameters passed in that URL. Voila! You can create maps up to 512 x 512 pixels, and at any zoom level or location on the face of the earth that Google Maps supports. You can even place markers on your map images! This Static Maps Wizard lets you play around with some of the options.

The Static Maps API is especially useful for pages in which you want a map to load quickly. You can even replace the generated Static Map with a JavaScript Maps API map after the page loads, allowing a seamless transition from a quick-loading map to a fully dynamic implementation.

Because the map generated by the Static Maps API is an image, you can also send it to your friends as an email attachment (especially handy for planning your next party!) or display it on any cell phone browser, whether or not it supports JavaScript.

Full documentation on constructing maps with the Static Maps API is available at:

http://code.google.com/apis/maps/documentation/staticmaps/index.html

As always, please post questions in the Maps API forum.

Enhancements to Google News for smartphones

(Cross-posted from the Google News Blog)

Last November, we redesigned Google News for mobile access on smartphones including Android, iPhone and Palm Pre. Today, we’re globally rolling out new usability and visual enhancements that we hope will make browsing news on your smartphone easier.

We expanded the story space to make tapping on articles easier and more accurate. Tapping anywhere on an article headline or snippet opens it up, and clicking on a section heading opens up that topic section on your screen.

In addition, the default view of stories is now collapsed, to reduce scrolling time. You can ‘expand’ a story by tapping ‘More sources’, which brings you to related stories from other sources. The screenshots below show the collapsed and expanded view of a story.

So, pick up your smartphone, point your browser to http://news.google.com, and catch up on news on the go.

Posted by Arun Prasath, Tech Lead, Google Mobile News

Слаби продажби на Windows Phone 7

Както знаете, продажбите на устройства с операционната система Windows Phone 7 в Съединените Щати започнаха този понеделник. За съжаление, те не са толкова високи, Microsoft.

Според доклад на Thestreet, от редмъндската компания са продали 40 000 мобилни устройства през първия ден на продажбите в САЩ. Отчитат се продадените телефони от операторите AT&T и T-Mobile. В проучването не участват 87 000 устройства, дадени на служителите в компанията, както и 25 000, дадени на Dell.

Както знаете, от Microsoft предположиха, че ще продадат 3.5 милиона устройства до края на последното тримесечие на тази година. Както изглежда, обаче, това може и да не се случи.

Това може и да не е бил мечтаният старт за Microsoft, но истинският тест тепърва предстои, тъй като празниците вече наближават. Както знаете, до този момент Marketplace.

От Google споделиха, че през миналия месец са продавали около 200 000 Android-базирани устройства всеки ден. От Apple също съобщиха, че продават над 260 000 iPhone-а на ден.