Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

Sunday, 19 June 2011

Google Maps Without the Scripting





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.




Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU

Our first Google Geo Developer series is over...but the YouTubes will last a lifetime!




Two months ago, we announced the start of the Google Geo Developer series on this blog. The point of the series was to bring together local geo developers for intimate talks/discussions around Maps/KML topics, and then let all developers watch the events on YouTube. It was a bit of an experiment - would we find enough topics for talks every week? Would anyone watch the videos? Well, I'm happy to say it was a successful experiment. Besides having 6 great talks and more than 20,000 YouTube video views, we also met a bunch of local developers working on geo projects (thanks for always showing up, you guys), and even met some folks from far away through the mailing list. Hopefully we'll get to hold another of these series in the falls, so subscribe to the mailing list if you want to find out about future events.




Here's a roundup of the talks that went down, with links to videos. Click "More info" on the YouTube description and you'll often find a link to slides/materials.


  • Quick & Dirty KML Creation: With Mano Marks, Pamela Fox, and Christiaan Adams


    A demonstration of creating KML visually in Google Earth & Google Maps, and using Spreadsheet Mapper 2.0

  • Creating Custom Maps: With John Coryat


    A comparison of various ways of overlaying data in the Maps API and an in-depth explanation of creating tile layers and custom map types

  • GigaPan In-Depth: With Randy Sargent & Ted Morse


    A demo of the GigaPan panorama-browsing website and KML files, plus a technical explanation of PhotoOverlay

  • Dynamic KML: With Mano Marks & Brian Hamlin


    An exploration of using dynamic queries from KML, using the NetworkLink, httpQuery, and viewFormat elements, plus a demo of a PostGIS-generated NetworkLink

  • Mars, Moon, and Sky Map Types: With Noel Gorelick


    A talk introducing the non-Earth Maps API map types, plus cool demos of other types of projections used with planetary imagery

  • Mapping the Votes: With Michael Geary


    A whirlwind tour of what it took to create the Elections 2008 Map/Mapplet/Gadget, including SHPfile conversion, Javascript optimization, centroid calculations, Twitter updates collection, Mapplet API tricks, and more.

  • Google API Talks - Android, KML, Google Maps, Gadgets


    A series of 5-minute talks by various developers and Googlers given before Geary's presentation, including an intro to Gadgets/Mapplets.




Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU

Google Developer Days: Meet the Google Geo Engineers



Google Developer Days 2008, a set of one-day developer events, are back and will take place in locations around the world. We've designed these events for developers with strong coding backgrounds, so that we can discuss our APIs, developer tools and applications.



We'll host Google Developer Days in these locations:

  • Yokohama, Japan (June 10)
  • Beijing, China (June 12)
  • Taipei, Taiwan (June 14)
  • Sydney, Australia (June 18)
  • Mexico City, Mexico (June 23)
  • Sao Paulo, Brazil (June 27)
  • London, UK (Sept 16)
  • Paris, France (Sept 18)
  • Munich, Germany (Sept 23)
  • Madrid, Spain (Sept 25)
  • Milan, Italy (Oct 21)
  • Prague, Czech (Oct 23)
  • Moscow, Russia (Oct 28)
If you're based in the US, we encourage you to come to Google I/O, on May 28-29 in San Francisco.



At Google Developer Day, our Maps and KML engineers will share their inside knowledge on our developer tools and APIs, including the Google Maps API and KML. In many locations we'll do deep dives into code and conduct hands-on codelabs. If you come to Yokohama and Mexico City, say hi to me and Pamela Fox.



We've posted detailed information for our early dates and will be adding more information for other locations soon. If you're a developer, we encourage you to sign-up for a Google Developer Day at a nearby location. I hope to see you there.




Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU

Armageddon Pills and KML in Google Earth


I’m Matt Brown, a kml developer and designer at concept3D in Boulder, Colorado.



Google Earth has provided a new group of developers with the opportunity to build virtual ‘geowebsites’ specific to vertical markets. Armageddon Pills, a travel book by John Higham, combines this power of Google Earth and a printed book to illustrate the tale of one family’s journey around the globe in 52 weeks.



After creating numerous kml files, he asked us (concept3d) to create a browser look and feel while in Google Earth. We attempted to simplify the Google Earth experience for a broader audience, focusing on its on-screen and balloon navigation systems.


When opening the file, you will find a main menu, or in this case the table of contents, of on-screen buttons. This menu is broken down into chapter groupings that contain sub-menus of icons related to the book. This allows the reader to find ‘where they are’ in the book, and gives them the ability to ‘read’ the kml from start to finish. Each balloon along the traveled path offers an interesting snippet and sometimes a photo or video associated with their locations. Navigation arrows were added to each balloon to allow the information to be chronologically documented and experienced by the end user, and a “home” button to get back to the main menu. Additionally, there are “menu” placemarks scattered around the globe that will help you find the main menu if you are lost in space.



We rely on feature anchors for navigating between balloons and a very high altitude (12680000 meters) to create the effect of a menu. You can download our full KML here.

A big thanks to Mano Marks for his insight and for taking interest in this project. If you have any questions or comments, please email me at matt.brown@concept3d.com.



Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU

Introducing the Google Maps API for Flash




Here at Google, we receive a lot of feature requests - and it feels great every time we fulfill one of them. The ability to utilize the power of Google Maps from Flash is one of those requests that has been popping up on blog posts and other forums since the beginning of time (or more accurately, the beginning of the Javascript Maps API). Over the past few hours, I've had the enjoyment of finally seeing this particular feature request - a Maps API for Flash - come to fruition. Tiredness will grab me soon, no doubt. If you're one of the first readers of this post, rest assured that I'm unlikely to still be awake: long hours have been worked; pre-launch nerves have jangled. Now it's time to let our baby loose into the world and see how the developer community will embrace it.



So, what do I like about the API for Flash? Smoothness and speed are a big part of it. We've designed it so that Flash graphics can be used for each tile layer, marker and info window - opening up possibilities like dynamic shading, shadowing, animation, and video. When the user zooms the map, magnification changes happen smoothly and place names fade in. After the user drags a marker, it gently bounces to a halt. Generally, Flash allows for much greater embellishment, and, well... "flashiness." I get excited just thinking about the creative ways developers might take advantage of having a Flash API for Google Maps.



What was one of our main design decisions for this project? We knew that version 1 of any software project is not perfect, so we opted to split the interface and implementation. As a result, you can build against the current version of the API, and as we add enhancements and tweaks, your website benefits automatically from each update. When you wish to take advantage of new API functions, only then do you need to download the latest API and rebuild.



What does it look like? We've played with it, thrown our ideas in, and also worked with outside companies to see how they use the API. It's been a pleasure to see some of the demos that have come back. Here's one from AFComponents that shows some of the possibilities:





When I first joined Google in Sydney, I got to hear about the experience of the Maps team when they first watched the traffic and the buzz build for the launch of Google Maps. Well, now I'm ready to experience that with this new API. Do send us feedback, we're looking forward to it.



What remains? Over to you.



Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU

See your location history dashboard and more with Google Maps 5.3 for Android

Today, we’re happy to announce Google Maps 5.3 for Android, which lets you see your Google Location History dashboard, check in at “home,” and add your own aspects for places when rating them.

Location History dashboard
If you’ve enabled Location History for Google Latitude, you’ve been able to visualize interesting trends in your location history with a personal dashboard at google.com/latitude on your computer. Now, you can also see your dashboard on your phone by tapping View location history from your Latitude profile. You’ll be able to see right on your phone how far you’ve travelled as well as an estimate of how much time you’ve spent at home, at work, or out.

If you haven’t yet, you can enable Location History from your computer or from Latitude’s Settings menu on your phone. Location History is 100% opt-in and is private to you and nobody else. You can always delete any of your location history from the Manage History tab or correct the estimated work and home locations from the dashboard on your computer.

View your location history dashboard from your Latitude profile on your phone and see estimates of where you’ve spent your time.

Check in at home
Now that you can see how much time you spend at “home”, you might want to let friends know when you’re there. Checking in at places using Latitude is another way to keep a history of places you’ve been and also lets you share when you’re there. I love letting friends and family know when I’m at a cafe or park, but sometimes I want them to know that I’m relaxing at home or made it back safely from a road trip. So now, I can start checking in at “home” in Latitude:
  1. Check in from Latitude and tap “Home - Tap to set your location” at the bottom of the nearby places list if you don’t have one yet.
  2. Use the estimated current address or enter in your home address yourself.
  3. Once you’ve checked in at home once, “Home” will appear at the top of the list when you’re checking in near there.

Like Latitude and other check-ins, checking in at home is entirely opt-in. Your set “home” location is not searchable and only you can check in there. Just like any other check-in, you can choose with whom to share your home check-ins (along with your name and address info).

Add your own aspects for places
When you’re rating places on the go in Maps using Google Places with Hotpot, you could always quickly leave feedback on a specific aspect or characteristic of a place, such as the food or ambiance. Before, we’d automatically include aspects about places that were commonly mentioned in reviews. Now, you can add your own aspects for each place. So if you think a place has a beautiful view or great music, you can add it yourself and quickly share it with the world.

When rating places, you can add your own aspects like “music” for places and leave quick feedback.

To get started, update Google Maps from Android Market on devices with Android OS 1.6+ anywhere Google Maps and Latitude are already available.




Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU

New Google News for Opera Mini

cross-posted from the Google News blog



While the Google News team has been hard at work redesigning our service for smartphones, we’ve also been thinking about our milllions of users around the world who access the web not from a smartphone, but from a feature phone, using Opera Mini as their browser.



So we have rolled out a redesigned Google News for Opera Mini in all 29 languages and 70 editions of Google News. This includes an enhanced homepage featuring richer snippets, thumbnail images, links to videos and section content without explicit navigation, a convenient search bar, comfortably spaced links and the ability to access your desktop personalization on your phone.



We hope that this will improve the news browsing experience for Opera Mini users around the world, including millions of people using a feature phone as the primary point of access for the web. See it here in the Indian Hindi and Nigerian English versions.



 





So, pick up your feature phone and point your Opera Mini browser to http://news.google.com to catch up on news anytime and anywhere. For more information or to share your feedback with us, please visit our Help Center.



Posted by Arun Prasath, Tech Lead and Dimitris Meretakis, Product Manager



Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU

Introducing the new Google Docs app for Android

(Cross posted on the Google Docs Blog, and Google Enterprise Blog)

Increasingly, people are using mobile phones to access information -- from email to web browsing to editing documents. Part of getting work done on the go is being able to easily access, edit and share content, which is why we’re happy to announce the new Google Docs app for Android.

With this new app it’s easy to filter and search for your content across any Google account, then jump straight into editing docs using the online mobile editors. The app also allows you to easily share items with contacts on your phone, right from within the app.


The Docs app also allows you to upload content from your phone and open documents directly from Gmail. You can also add a widget to your home screen for easy access to three core tasks: jumping to your starred documents, taking a photo to upload, or creating a new document with one tap.


And my favorite feature: Using the app and your phone’s camera, you can turn photos with text into editable Google documents with the power of optical character recognition (OCR). Just create a new ‘Document from Photo' or select the camera icon from the widget, and your converted document will appear in your documents list shortly after you snap the picture. You can also convert photos already stored on your phone by sharing them with the Google Docs app. OCR does a pretty good job capturing unformatted text in English but won't recognize handwriting or some fonts - stay tuned, it will get better over time!


The Google Docs app is currently available in English and works on Android 2.1+ phones. Try it out by scanning the QR code below or by visiting Android Market.


Let us know what you think of the new Google Docs Android app in our forum.






Generated by BlogIt

BlogIt - Auto Blogging Software for YOU!

BlogIt - autoblogging software for YOU

BlogIt - autoblogging software for YOU