06 Jul 2009 @ 10:38 PM 

The basic Google Earth integration for Google Maps in Maps and Semantic Maps is finished!

This is really cool, and was ridiculously easy to do. The output increased  just one tiny line of JavaScript (Way to go Google Maps/Earth API!). The changes to the extensions themselves where also relatively small, although I did have to refactor some tasks from the main parser function in Maps to the service specific functions (snif). This change allows more diversity in the parameters for each service, and would probably have been required for the Open Layers integration anyway.

I hope everyone can grasp the enormous complexity of the code required to add the Google Earth map type to a Google Map. You have to add this parameter to your wiki code: earth=on. Suggestions to simplify this monster down are welcome of course :)

A thing to remember when enabling the Google Earth map type is that the default map type will be ‘earth’, and not ‘normal’. So when you want a normal map to be displayed when the page loads, be sure to add type=normal. I’ll add a more thorough explanation of this to the extension page of Maps later on.

Now, time for some nice screenshots – admitted, they are no way near as cool as the real maps.

Maps displaying a Google Map with Google Earth map type

Semantic Maps displaying queried coordinates onto a Google Map with Google Earth map type

I’m considering to make a nice vid tutorial about Maps and Semantic Maps if they are finished enough before my deadline, to both promote the extensions and show off how epic they are :)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Posted By: Jeroen De Dauw
Last Edit: 07 Jul 2009 @ 12:36 PM

EmailPermalink
Tags


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


 Last 50 Posts
 Back
Change Theme...
  • Users » 1019
  • Posts/Pages » 162
  • Comments » 111
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About me



    No Child Pages.