How to Save and Share Map Screenshots in Windows Store Apps (.NET)

A while ago I wrote a blog post on How to Share Maps Using the Search Charm in Windows Store Apps. In that blog post we made use of the Bing Maps REST Imagery service to generate a static image of the map that we could share in an email.  But what if you want a true screenshot of the map? In this blog post we are going to take a look at how to take a screenshot of the map which we can then either share via the Share charm or save as a...
Read More

Visualize Large Complex Data with Local Tile Layers in Bing Maps Windows Store Apps (C#)

Tile Layers are a creative way to visualize large complex data. By visualizing data as an image the map control only needs to reposition a set of images rather than every single data point of the data. This greatly improves performance and often reduces the amount of data the user will have to download. Tile layers generally consist of a large number of images that have a specific naming convention and are hosted online. Every once and a while I...
Read More

Image Overlays with Bing Maps (Native)

A while back I wrote a blog posts called Image Overlays with Bing Maps (JavaScript). In this blog post we saw a couple of different ways to overlay an image on the map and bind it to a bounding box such that it stays correctly positioned when panned and scales as you zoom the map. In this blog post we are going to look at two different methods for doing this in the Native Bing Maps SDK for Window Store Apps. The first method will consist of...
Read More

How to Create a Customer Ranked Auto Suggest with Bing Maps and Azure Mobile Services

From time to time I come across developers who want to have an auto suggest search box to use with their map. Your first thought might be to simply use the Bing Maps geocoding services to do this, however this often ends up generating a large number of transactions. If you are using Bing Maps under the free terms of use this can result in your application quickly exceeding the free usage limits. If you have an enterprise license for Bing Maps...
Read More

How to Create Custom Shapes in Windows Store Apps (C#)

In the Bing Maps SDK for Windows Store Apps there are five main types of data that you can add to the map: Pushpin, MapPolyline, MapPolygon, MapTileLayer, and UIElements. UIElements can be added to the map just like pushpins and are a great way to create custom shapes to the map.  In this blog post we will see how we can make use of the ability to add a UIElement to the map to create custom shapes that have a lot more customization options...
Read More

Learn How to Create a Location-aware Windows Store App (Unabridged version)

Are you developing a location-based Windows Store app using web or managed programming languages? Do you need help with how to get started? A new eBook entitled, Location Intelligence for Windows Store Apps, is now available for free download. Written by Ricky Brundritt (EMEA Bing Maps TSP at Microsoft), the eBook delves into location intelligence and the different options for creating location-aware apps in Windows 8.1. The first half of the...
Read More

Learn How to Create Heat Maps in Native Windows Store Apps

Find out how I came up with a solution for creating heat maps in native Windows Store apps and document the reusable library that I created. Heat maps, also known as density maps, are a type of overlay on a map used to represent data using different colors. They are often used to show the data hot spots on a map. If you are working in JavaScript there is a client-side heat map module available in the Bing Maps V7 Modules project, which can be used...
Read More

Make Clickable Shapes in the Native Bing Maps Control

The native Bing Maps Windows Store control has two types of shapes: polygons and polylines. These shapes are great for representing areas and paths on the map. Often it is useful to be able to associate some information or metadata with these shapes. In past versions of Bing Maps we could easily store this information in the Tag property of the shape. This makes it easy to retrieve this data when a shape is clicked or tapped. Unfortunately,the...
Read More

Complex Polygons in Bing Maps

In Bing Maps we can easily create simple polygons. Simple polygons consist of a single exterior ring of coordinates. However, in more advance applications it is useful to be able to draw more complex polygons. Take for instance the borders of Lesotho, which is a land locked country within the main exterior borders of South Africa. In this case to properly represent this country’s borders we would need to have a hole in the polygon. In this...
Read More

Clustering Pushpins in Windows Store Apps

Clustering of pushpins in Bing Maps consists of grouping together nearby locations into clusters. As the user zooms in, the clusters break apart to reveal the individual locations. The goal of this process is to reduce the number of pushpins that are displayed on the map at any given time. This results in better performance of the map control and also a better experience for the user, as they will be able to see the map and not have pins hiding...
Read More