Author: Soul Solutions Created: Monday, 29 October 2007
Virtual Earth news, projects, samples and tips

 fulllogo

After our talk at Remix in Melbourne yesterday, I thought I’d post about how to create the Imagine Cup Game Design Round 2 competitor Mash-Up.  Before I created the application I created my own database and table with all the Round 2 contestants and geo-coded their country locations. Since the six finalists have been announced I thought I’d expand it a bit and show those in a different colour. We’ve deployed the final copy to http://imaginecup.soulsolutions.com.au/

ICMap

I created a Silverlight Application Called Imagine Cup. Then I created a simple Linq to SQL class to get my team table and created a service method call GetTeams

[OperationContract] public ListTeam> GetTeams() { var db = new DataClassesDataContext(); return db.Teams.Where(a => a.Latitude != null).ToList(); } In the ImagineCup Project we add a reference to the following:

Microsoft.Map.MapControl Microsoft.Map.MapControl.Common In the MainPage.xaml we add the mapcontrol namespace:

xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl" and add the map control to the grid:

m:Map...

Read More »

remix_headerlogo_nobg

We’re fortunate enough to be presenting at this year’s Remix in Melbourne. This year it’s a 2 day event with lots of great speakers so should be an awesome event.  The abstract for our talk this year is:

Mash in and Mash up with Bing Maps Silverlight

Explore the latest in Silverlight innovation with Bing Maps, birdseye, streetside, WorldWide telescope and Photosynth. Learn how to mash up you data into the seamless spatial canvas and discover how Twitter, Flickr, foursquare and more are mashed into Bing.

The agenda, session details and speaker info is up on the Remix site and early Bird pricing is still on so head over and register here and grab your ticket for just $195!

Technorati Tags: ,,,,

...

Read More »

johnWeeGo[1]The MultiScaleImage control in Silverlight 4 can now optionally be hardware accelerated. This means those massive images or, in my case, maps of the world can be smoothly rendered by using your compatible video card to do the heavy lifting. So what difference does it make? Let’s take a look, my example went from 40-80% cpu usage to 5-10%!

HWPerfDifference

Take a spin of the hardware accelerated version here. Mouse wheel to zoom. If you right click you can even install out of browser.

What steps do we have to take to make this happen? First we have to enable the cachemode on the MSI control itself:

Then for the browser app we add a param to the plugin:

For “Out-Of-Browser” it is in the advanced options in the silverlight project:

OOBHW 

Download the full source here.

Read More »

johnWeeGo[1]At MIX10 yesterday Microsoft announced the developer story for Windows Phone 7, Silverlight and XNA. I couldn’t help but take an hour last night to see if I could could get Bing Maps Silverlight running. Unfortunately that didn’t get far, you see it is not the complete Silverlight 3 package we run in today’s browser. Notable:

No Browser, these are native apps so if you rely on Browser functions your DLL will not run. The current Silverlight Bing Maps control was not going to work today. No pixel shaders and some other goodies. Extra bits for interaction and cool phone functionality. So after downloading the complete developer package to an old laptop I set to work to quickly see if I could get the DeepEarth map control and providers up and running.

DeepEarthPhone7OSM

The OpenStreetMap provider.

DeepEarthPhone7NearMap...

Read More »

johnWeeGo[1]Earlier this month at Australia’s first Silverlight Code Camp I showed a simple invert pixel effect applied to the base road map layer of Bing Maps. At the time I challenged the audience to look at pixel shaders to further customise and integrate Bing Maps into their applications. Today Nokola posted a sample Hue Shift pixel shader with source code.

BingMapsHueShift



http://www.soulsolutions.com.au/silverlight/hueshift/

I couldn’t help but quickly apply the effect to the Bing Maps control with some nice results. Rather then apply to the whole control I’m applying the shader in code to just the base layer, this means that pins and navigation controls are not effected:

effect = new ShiftHueEffect(); map.Mode.Content.Effect = effect; map.ModeChanged += (e, o) => map.Mode.Content.Effect = effect; The ultimate for me would be a shader that allowed the designer to selectively change the key base layer colours to those of their choosing. Thanks to Nokola I think I now know the right direction to take.

Technorati Tags: ,,

Read More »

johnWeeGo[1]Nicolas Boonaert’s book on Bing Maps has been released and it looks awesome! Nicolas lives in France and is an active developer in the Bing Maps community.

BingMapsforEnterpriseLivreGuidecompletdelacartographieinteractive_0196FA70

The book is in French, but amazingly I can still understand much of it :) It covers quite a bit in 450 pages:

History, including TerraServer, MapPoint Web Service and Virtual Earth Architecture of the platform AJAX control Silverlight Bing Maps Web Service Building Mobile applications 3rd Party Projects, including DeepEarth Comparison with Google Maps, Yahoo Maps and OSM. If your interested in Bing Maps or web mapping in general and can read French this is a must. If you don’t speak French but this sort of title interests you, then ping Nicolas and encourage him to do an English translation, he is on twitter here. Great work Nicolas!

Technorati Tags:...

Read More »

johnWeeGo[1]Good news for all Bing Maps developers with windows update 979202 solving a major performance issue.

CPU usage is high when you use the Deep Zoom feature in Silverlight 3. This problem occurs when the Deep Zoom feature cannot load or decode a tile. The problem persists even if you minimize the Web browser in which the Silverlight 3 application is running.

This would occur if you had either :

  1. a custom tile layer that would return 404 errors when tiles were requested (typical for a simple file system on edge tiles that don’t exist but are still requested by the control) or
  2. if you disabled the coverage map of the base layers and zoomed into the non-covered area.

cpuusage

Additionally my tests prove that an additional problem with animations causing the MSI control to redraw have also been solved.

This is great news and allows us to do some clever things with dynamic tile layers and animated icons on the map without major performance hits. I hope to share some of these with you in coming posts.

johnWeeGo[1]This week I caught up with Laura Diaz from NAVTEQ to chat about how Bing Maps developers can win their share of US 10 million dollars in the global LBS Challenge. This is the first year that web based applications can be submitted and with Microsoft’s Bing Maps use of NAVTEQ data the ideal platform to build your entry is clear.

Your browser does not support iframes, download the MP3 directly below.

You can download the mp3 here.

“First launched in 2003, the NAVTEQ Global LBS Challenge is focused on driving the development and visibility of innovative location-based solutions (LBS) for wireless devices. The Global LBS Challenge has become the premier event in the wireless industry and a global symbol of LBS innovation and opportunity. From business applications to sports, travel and security, integrating the accuracy and richness of NAVTEQ digital map data facilitates the discovery of the next wave of LBS using dynamic positioning technology.”

Highlights:

$10,000,000 in prizes consists of cash and data licenses. Real opportunity to meet some of the top companies in this field. Competition is broken into regions, must register soon, North America closes 20th November! Web applications can simple be submitted as a working URL Mobile applications making it to the next round will get a sponsored device if they choose that device in their entry. Open to non-commercial applications With the release of the new Bing Maps Silverlight control will we see some very cool entries?  

For more information visit the competition homepage...

Read More »

johnWeeGo[1]BronwenWeeGo[1]Here at Tech Ed Australia 2009 we are presenting on the Bing Maps Silverlight control, it’s session WEB302. If you’re in the crowd or simply reading this after the event you can follow along with our demos here.

about

http://about.soulsolutions.com.au/

First up is a little visualisation of where we work and play. This data is hard coded into the application and took less then an hour to put together. The minimap, custom navigation and custom image pin are part of the open source DeepEarth project.

 

updates

http://bingmapsupdates.cloudapp.net/

...

Read More »

johnWeeGo[1]Sarah Vaughan, the Windows 7 Group Lead in Australia, today demonstrated our Silverlight 3 / Windows 7 Multi touch application in the keynote of the Australian Partner Conference.

SarahAPCKeynote

The Silverlight application is built on top of Bing Maps and uses our open source controls called DeepEarth. This particular application allows you to annotate the map, drawing polygons and lines and adding points. All of this data can be captured and stored into a SQL 2008 database. We added a custom tile layer of the exhibition venue itself.

In order to support multi touch you need to be running Windows7 and have a multi touch enabled screen and drivers. HP, the hardware sponsors of the event supplied the nice screen Sarah is using and also lent us a TouchSmart Tx2 tablet for the development.



If you have such a device you can see the application here (works with just a mouse as well):

http://multitouch.soulsolutions.com.au/

The gestures are:

pinch zoom in / out 2 finger swipe left / right to show / hide the drawing panel 2 finger hold 1/2 sec for AerialwithLabels, 3 finger hold for road, 4 for plain aerial. Drag the map with one finger. One thing to note is that multi touch doesn’t currently work in full screen mode.

Commercially we are working with a Mining Company here...

Read More »

Copyright © 2002-2009 Soul Solutions Pty Ltd. | Login