Interactive Mapping Blog

Mapping Solutions News

Archive for the ‘Multimap’ Category

5 ways to make your web mapping fly!

Monday, March 28th, 2011

map paper planeOver the past four years here at Earthware we have encountered a number of performance challenges when creating mapping applications on the web. We thought it might be helpful to bring together the 5 most common issues we’ve encountered, both when helping other developers or in some of our older mapping projects.

It’s unfair to call these mistakes, rather they are missed opportunities to make your mapping really fly. They are not exclusively focused on specific mapping API’s or web programming languages / frameworks so they should be applicable to the majority of web mapping applications with a little translation.

So in no particular order:

1. How accurate do you really need to be?

We often come across systems or code samples that both store, but more importantly transfer their position data (usually pairs of lat/lon) to very high levels of decimal places (often 13 or more decimal places). Did you know that 8 decimal places of accuracy is a real world value of 1.11 millimetre (at worst when on the equator). How many systems have you worked on that require you to map to 1.11 millimetre accuracy?

So assuming that for most of us meter accuracy is plenty enough we can reduce our values to only use 5 decimal places (1.11 metre accuracy). When transferring either points, or more importantly polygon data reducing your data from 13 to 5 decimal places is likely to decrease the amount of data you are transferring by at least half.

Typical speed improvement: 50%!

2. Load small, load often

Many mapping applications allow the user to drill into the detail of the data shown on the map. In the majority of cases the user does not require the full details of every single piece of data so why bother loading them all?

Typically in the mapping applications we encounter the initial view a user is presented with has a number of pushpins / polygons maybe with a text label and or an icon representing the ‘type’ of data shown (like a hotel, house, pipe etc). So the data we need to initially load for each point is a title, latitude, longitude, type and unique id. We don’t need to load all the description, photos, links or other data that will not be shown until the user clicks the icon/polygon.

At Earthware, the way we normally handle this is to have two services, one that returns the initial map data that matches our query, and one that returns the full details for a single selected entity. You can code your map so that it makes a call to the “full details” service when a user clicks a map entity and in our experience returning the data for a single entity is usually so quick the user doesn’t even notice the slight pause.

To see an example of this service architecture using asp.net and Bing Maps see http://bingmaps.codeplex.com/wikipage?title=Getting%20Started%20in%20Web%20Services&referringTitle=Home

Typical initial map load improvement: > 500%

3. Don’t repeat yourself

Often when helping developers improve their JavaScript map performance we come across an approach to loading the map data that we don’t recommend except in the most simplistic applications. That approach is to generate the JavaScript code on the web server that is used to create entities on the map and to pass this chunk of JavaScript back to the client and execute it there. For example, we see a service return the following JavaScript:

var pin = new Microsoft.Maps.Pushpin(52.011,-0.221, {text: '1'});
map.entities.push(pin);
pin = new Microsoft.Maps.Pushpin(53.011,-0.121, {text: '2'});
map.entities.push(pin);
pin = new Microsoft.Maps.Pushpin(51.011,-0.251, {text: '3'});
map.entities.push(pin);
pin = new Microsoft.Maps.Pushpin(50.011,-0.321, {text: '4'});
map.entities.push(pin);
pin = new Microsoft.Maps.Pushpin(54.011,-0.143, {text: '5'});
map.entities.push(pin);
pin = new Microsoft.Maps.Pushpin(55.011,-0.0123, {text: '6'});
map.entities.push(pin);

This approach seems to be popular with developers because it’s quick and simple to achieve. However, the downside is that you are constantly repeating the same long text phrases and transferring all these repeats to your user, thus slowing down their mapping experience to make it easier for you to code. This data could be sent in a simple data structure, like JSON, and with some simple code looped through and added to the map. The same data above in JSON would look like:

{points:{point:[{title:1,lat:52.021,lon:-0.211},
  {title:2,lat:53.011,lon:-0.121},
  {title:3,lat:51.011,lon:-0.251},
  {title:4,lat:50.011,lon:-0.321},
  {title:5,lat:54.011,lon:-0.143},
  {title:6,lat:55.011,lon:-0.0123}

]}}

To see an example of this data transfer architecture using Asp.net, JSON and Bing Maps see http://bingmaps.codeplex.com/wikipage?title=Getting%20Started%20in%20Web%20Services&referringTitle=Home

Typical map data load improvement: > 100%

4. Some data you just can’t load fast enough

As we have recently blogged the latest Bing Maps AJAX API is now even faster at showing pushpins on a map, but there is still a limit especially when you are working with older browsers. If your data consists of thousands of entities then it won’t take long before you either cannot transfer the data fast enough or the performance of your map is too slow.

So what can you do? Your users still need to be able to search all the data so you cannot just remove some. The most common solution to this problem is ‘clustering’ of map entities. This is where you group together nearby or overlapping entities and only show individual entities once the user has zoomed in. This can be achieved either using client side code (see http://rbrundritt.wordpress.com/2011/03/02/client-side-clustering-in-v7/) or on the server side before you transfer the data to the client (see http://www.viawindowslive.com/Articles/VirtualEarth/ClusteringVirtualEarthwithMSAJAXandC.aspx). The advantage of doing this on the server side is that you do not have to transfer the data for each individual entity but instead can just transfer the data required to show the ‘clustered’ entity.

There are other approaches to this problem including generating rasterised image tiles of your data and only showing interactive map elements once the user has zoomed in. This works just as well for pushpins as it does polygons. A good example of this ‘hybrid’ approach is the open source ajax map data connector project on codeplex: http://ajaxmapdataconnector.codeplex.com/

5. Transferring data as plain text is soooo slooowwwww

We have already discussed ways of optimising the data you send your clients (in 3.) above but that approach still ends up transmitting plain text data to your clients. There are much better binary formats you could transfer the data in that would massively reduce the size of your transfers.

The first and easiest of these is to use a compression format called Gzip that is seamlessly built into all modern web browsers and plugins (Flash and Silverlight). If on your web service you compress all your map data using Gzip your clients browser will be able to atomically decompress the data ready for you code to use without you having to change you client side code at all. Gzip compression is usually very simple to enable on your web service (see these links for apache, iis6 and iis7).

This approach doesn’t just apply to data transfer or mapping and (if you are not already) you should look at compressing other ‘static’ files like your JavaScript and css.

If you are using Silverlight to load data from WCF services then an even better solution is to use the built in binary http protocol.

There is usually a slight CPU cost to compressing the data but on a modern processor this is minimal and well worth the decrease in data transfer sizes.

Typical map data load improvement: > 50%

In Summary

Hopefully some or all of these issues might help you make a real, measurable difference to your applications performance and many of them are quick and simple to achieve. We would love to hear your real world performance improvements if you do use any of these tips so please feel free to share them in the comments section below.

Earthware presents to Multimap migration clients interested in Bing Maps

Wednesday, March 9th, 2011

Yesterday, we were delighted to be invited to present at a workshop event held at Microsoft’s Victoria offices in London to an audience of approximately 60 people who were interested in exploring how Bing Maps can help them drive their business results.

The audience was a good mix of technical and non technical people representing many industries and specialisms with many of them looking at how to manage a migration from the Multimap APIs and MapPoint Web Services to services and APIs offered by Bing Maps.

We really hoped that the day would both demonstrate some of the “art of the possible” in mapping but also allow plenty of time for individual companies to ask specific questions and explore the challenges specific to their own situation.

The speakers included:

Steve Frost (Microsott) – Chair

Idit Gazit-Berger (Microsoft) – Introducing Bing Maps

Johannes Kebeck (Microsoft) – Integrating Bing Maps

Rod Plummer (Shoothill) – Getting the best out of Bing Maps

Neil Osmond & Brian Norman (Earthware) & Miranda Munn (NovaLoca)

- The Art of the Possible in Bing Maps

Mark Finch (Grey Matter) – Licensing

Philip Bull (Microsoft) – Bing Maps and Windows Azure

Alex Montgomery and Hayley Bass (Microsoft) – Bing Maps and Microsoft Dynamics CRM

In our session we were delighted to be joined by Miranda Munn, Founder and MD of NovaLoca (one of our most successful clients) who demonstrated how we had helped her use mapping to drive her business at multiple stages of its growth.  We were also delighted to be able to demo the new NovaLoca Windows Phone 7 app that we have developed that is due for release very soon.

In case you would be interested, we wanted to share the slides and the links (most images are links) on our blog.  Please see below for the slides:

Presentation on 8th March 2011 on Multimap & Bing Maps

Great Example of Using Overlays and Heat Maps in Microsoft Bing Maps

Thursday, October 22nd, 2009

At Earthware we are always on the lookout for Microsoft Bing Maps (formally Microsoft Virtual Earth) implementations that use mapping to display useful information in a really intuitive way.  We are especially keen to see overlays (or heat maps) being used in Bing Maps.
 
We came across a good example the other day that uses Bing Maps to plot crime statistics for the UK. Please take a look at http://maps.police.uk/.
 
Our view is that the interface is simple enough and we like the subtle use of a gun sight for showing you where the centre of the map is. If we had any suggestions it might be that the polygons can get a bit ropey at the lowest zoom levels and the use of shaded grey rather than two tones is not as visually differentiated as it could be. We might also suggest adding the ability to see crime statistics for neighbouring counties when you are close to a border.
 
However, great idea, nicely implemented – congratulations to those involved in the project.
 
As always, if you are reading this article and are interested in creating heat maps in any mapping API (Bing Maps, Silverlight, Google Maps, Multimap, MapPoint etc.) or just want to see how you could use interactive mapping to display your information then please drop me a line at neil@earthware.co.uk.

Multimap Launch Free Mapping for Small Businesses

Tuesday, November 18th, 2008

At Earthware, we have believed for some time that Microsoft/Multimap has been disadvantaged vs. Google API which offers embedded maps with free transactions to small mapping clients. With this in mind, we thought we would draw your attention to Multimap’s recently launched embedded mapping product which sees them fighting back Google in offering mapping for free to low volume commercial users.

This new version of the Multimap API allows website owners to embed a customised map into their site taking advantage of Microsoft Virtual Earth’s aerial imagery: all it takes is a single line of HTML code.

The key features are as follows:

· Designed for use by small businesses, personal websites and hobbyists.

· Includes up to 50,000 transactions per year (which Multimap track).

· It takes just as single line of HTML code to embed the map.

· Choice of map styles (TeleAtlas, Ordance Survey, and Barts) and map views (road view or aerial view, including coverage of the US using Microsoft Virtual Earth).

· The HTML code includes four hyperlinks back to Multimap allowing the user to see the location on Multimap with a bigger map, POI’s and business listings; view the location in Bird’s Eye; get directions to the location; get directions from the location.

To embed a map in your site simply:

1. Go to Multimap.

2. Search for your location on Find a Map.

3. Click on “link” on the top right of the map.

4. A box opens; click to accept T’s and C’s.

5. Select to “customise the map” (select the size of the map and move the red circle).

6. Copy and paste the line of HTML code.

Here’s an example of what the map will look like in your site as well as the links back to Multimap for POI’s, Bird’s eye etc:

We believe that Multimap have seen a rapid uptake in these maps into client’s websites. For a list of a few examples please click here.

Before you think this is the panacea of mapping we ought to mention that there are some downsides to the ‘embedded maps’ compared to a licensing for full commercial usage. These being:

  • Branding – when using the free mapping, the user leaves the client site to view the data and information within a clearly Multimap branded site. This may mean the user will associate the experience as much with the Multimap brand as they do with your brand.
  • Advertising – In the Terms and Conditions, Multimap reserve the right to add advertising to the embedded maps which is controlled solely by them and cannot be removed in the free version. There is always the possibility that the advertising will not fit well with your own site branding or content.
  • Usage – the maps cannot be embedded in internal business applications such as BI or CRM systems.

After all, it wouldn’t be reasonable to release an all singing and dancing version with unlimited transations for free – Microsoft and Multimap are businesses after all.

If you want our view, we think this is great news for clients who now have more choices in mapping technologies for low volume usage, or where they want to test out user experiences before dipping into their pockets for significant licence fees for wider usage. A thumbs up from us for Multimap!

Earthware and Microsoft/Multimap at Agency Expo

Sunday, October 19th, 2008

Although it seemed that both exhibitor numbers and attendees were down at Agency Expo this year, there was a lot of enthusiasm for those that stopped by at the Microsoft / Multimap stand.

Multimap have recently released a new “embedded” mapping option for users with less than 50,000 transactions per year.  If you want any further information I would recommend contacting Multimap directly via their website www.multimap.com.  We also witnessed many attendees still being “wow”ed by Bird’s Eye imagery which is available through either Multimap or Microsoft Virtual Earth.

We had a really good time explaining how you can get the best of the Virtual Earth platform especially using Earthware’s residential and commercial property mapping products.  We have been delighted to partner with Microsoft and Multimap to give every Estate Agent in the UK (irrespective of size) the opportunity to integrate Virtual Earth into their website and create a highly visual experience for their customers.

Enough of the sales pitch though.  What we also really enjoyed showing was where mapping is really going.  We were delighted to show Earthware’s big first in getting StreetView for 1,000 km of London streets launched before Google.  Please see our other blog article for more details or just click on the following links to have a look for yourself at Piccadilly Circus, Buckingham Palace, Tower Bridge or even an attack from a giant spider.

We were also delighted to show off what was possible using the new photosynth product released from Microsoft labs.  This can be integrated with mapping to enhance the visual experience for users/customers.  I even had a play myself and so click here (or see the insert below) to see the stand in photosynth.  You might also want to have a look at how Microsoft’s Tim Warr has integrated photosynth into a mapping environment in his blog article.

Neil

Earthware invited to join the Microsoft / Multimap mapping team for Agency Expo

Friday, October 3rd, 2008

Earthware were delighted to be invited to join the Microsoft / Multimap team for the upcoming Agency Expo event.  Microsoft were very keen to involve a partner organisation to explain to potential clients what the full range of possibilities are for their mapping products to drive business opportunities and conversions

Neil Osmond and Lauren Eden from Earthware will both be available over the 14th and 15th October to answer questions and demonstrate the possibilities for mapping.  If you would like to meet with one of us, or any member of the Microsoft / Multimap team, please either contact us beforehand to set up an appointment or drop by the stand.

Attendance of the Agency Expo event is free and you can register at http://www.agencyexpo.co.uk/.

MultiMap the quiet mapping API revolution

Wednesday, June 25th, 2008

Many of us in the UK are used to seeing MultiMap’s maps on company websites.  They have been more or less the "de facto" web site mapping choice in the UK for years.

I’m sure most of us who are familiar with MultiMap associate them with the very simple, not very exciting, static maps where you have to reload a page to move the map or zoom, as the screen shot shows below:

image

But how many of you know they actually have a much more up to date mapping API with all the features of a typical web 2.0 mapping solution and a few unique features?

image

It seems MultiMap have been busy over the last few years. Unfortunately not many of their clients seem to have taken advantage of the new API so most of us have missed out experiencing it for ourselves.

So What’s Different About The MultiMap API?

Multimap have a few unique features to help developers get their mapping projects out of the door much quicker that are not found in many competitors mapping APIs for example:

  • Built in browser compatibility testing and handling
    This gives you a quick way to check compatibility and presents a static map solution to non compatible browsers
  • Coverage check before panning / zooming
    This allows a developer to check the availability of imagery before allowing the users to pan or zoom – really useful to stop users zooming in too far
  • Built-in ‘right mouse click’ context menus
    Allowing developers to quickly create their own custom context menus
  • Built-in client side pushpin clustering
    This can be used when you have lots of overlapping icons and has two options for how to display the overlapping pushpins
  • Client side filtering of pushpins
    You can filter pushpins quickly and simply using this built in feature
  • Map pan limiting
    A much requested feature for Microsoft Virtual Earth is already built into MultiMap’s API allowing developers to keep users within a specific boundary.
  • Draggable pushpins
    A built in method to make pushpins draggable
  • Tabbed Infoboxes
    This allows you to quickly create tabs within the map popup ‘info’ boxes – very nice for situations where you have lots of data to display
  • Innovative web services
    There are a number of webservices you can use with the API including searching by travel distance / duration, searching along routes, carbon emission calculation and loads more.
  • Clever imagery selection
    MultiMap’s user interface has some very usable features including previews of mapping styles with roads on and off

Take a good look at all these features and more at the MultiMap API demos page.

What’s MultiMap’s Future?

As some of you may know MultiMap were bought by Microsoft last year who of course have their own mapping API Virtual Earth. What does this mean for MultiMap?

In the short term it means MultiMap now have access to the brilliant imagery including birdseye photography, that Virtual Earth offers. It seems that Microsoft have made a commitment to continue developing the MultiMap API alongside Virtual Earth as an alternative solution and as you can see from its developer features quite an attractive alternative.

However what the long term plan for MultiMap and Virtual Earth is, I don’t think anyone knows quiet yet but it would be great to see some of MultiMap’s innovative features make it into the next Virtual Earth release.

Summing it all up

As you can see MultiMap’s API has some really neat features making it one of the most developer focused mapping API’s available. I encourage you at least to go and have a play with their demos.

Earthware, as specialists in bespoke Virtual Earth implementations, would love to see some of their features get built into Virtual Earth, especially the much requested clustering, pan limiting and coverage data functionality. Also MultiMap’s web services set a real challenge to other providers in terms of functionality that we would love to see ported to Virtual Earth / MapPoint web services.

Who leads the way in Interactive Property Mapping?

Monday, April 21st, 2008

In order to help with the launch of our new interactive property mapping product, we thought it would be a good idea to take a look at what the mapping looks like for a number of the top Estate agency chains and property portals.

Our findings are hardly scientifically robust, and we thought hard about whether to publish these, but given we had done the hard work, we thought it might be interesting.  What we did was take a look at every website (in early March 2008) and look at their maps to find out:

  • Do they use mapping at all ?
  • Do they have a map that has multiple properties on it (as opposed to a map for just a single property at a time) ?
  • What underlying mapping technology each website used (API) ?

and for property portals, we also:

  • Examined what data was included in the mapping
  • Rated the quality of the mapping (from our point of view)

The Background

I guess we ought to make a few things clear before diving into the analysis.  Firstly, we conducted this research over a week in early March – it is therefore already potentially out of date and any conclusions should be considered with that in mind.  Secondly, any rating or judgement is purely subjective on our point and therefore open to both scrutiny and challenge – we are definitely not aiming to upset our potential customers!

The top 50 Estate Agents were based on a list published by Estate Agency News and the top 20 portals based on a list published by Estate Agency Times in January and February 2008 respective.  We acknowledge the copyright and have offered links in this article to the original articles.

The Analysis

For the full analysis , including tables, ratings etc. please refer to a detailed pdf containing all the analysis.  The commentary below is a summary                   analysis and findings.

Top 20 Portals

Please see the table in the attached pdf for details on each portal.

Observations

We would draw the following observations based on our research:

  1. Google Maps leads the way
    Google Maps currently leads the way with nearly 50% of the portals (10 out of the 22) in this list.
  2. The UK is seemingly behind in the move to Virtual Earth
    Despite the significant move in the US Real Estate companies across to Microsoft’s Virtual Earth product (mainly due to the Bird’s Eye imagery), the UK portals are lagging behind with only two of the 22 in this list.
  3. Mapping still has a long way to go
    Despite technology being core to portal propositions, only 8 of the 22 have a multiple property map.  This would indicate that there is plenty of room for portals to maximise the value they can extract through interactive mapping and improve the experience of their users.

Top 50 Estate Agents

Please see the table in the attached pdf for our view on interactive mapping in the top 50 Estate Agents.

Observations

We would draw the following observations based on our research:

  1. Google Maps leads the way
    In a similar manner to the top 20 portals, Google Maps currently leads the way with nearly 50% of the top Estate Agency sites (24 out of the 50).
  2. Multimap still has a strong hold
    Unlike the portal list, the UK based Multimap retains a strong presence in the UK Estate Agency market.  Since the buy out by Microsoft, Multimap’s API has been further strengthened by the inclusion of Bird’s Eye imagery from the Virtual Earth API.
  3. Mapping still has a long way to go
    In a similar trend to the top portals, only 12 of the 50 have a multiple property map (less than 25%!).  This would indicate that there is plenty of room for Agents to maximise the value they can extract through the use of interactive mapping in their websites.  It certainly might be an area where Agents can positively differentiate their web offerings in the minds of their customers.

Summary

We hope that the time we have taken to look at the interactive mapping for leading websites in the UK residential property market will be of interest.  Should you have any questions about how we conducted the analysis, or would like to chat through any of our conclusions, please contact Neil Osmond at Earthware (neil@earthware.co.uk or 0845 642 9880).