Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Heat Maps for Bing Maps' Silverlight application

Looking for resources as much as anything. I have a nice, simple Silverlight-based Bing Maps application that puts pins into the map. Now I have a lot of pins, I'd like to instead create heat maps on-the-fly. I'm trying to look for resources that explain how to go about this, but can't find anything.

So, any ideas?

like image 258
David Archer Avatar asked Jun 30 '10 13:06

David Archer


People also ask

Does Bing have a navigation app?

Mobile – Bing Maps A Microsoft brand, Bing Maps is known for its unmatched scale and coverage for geospatial mapping, global coverage and high-resolution imagery, and AI-powered search scenarios.


1 Answers

You probably won't have much to do.

A quick way to generate the heat map would be to reskin the pushpin as a circle filled with a background with a transparency gradient, fully transparent on the edge and medium transparency at the other. As the circles stacks up, the color will be more intense.

EDIT

http://www.microsoft.com/maps/isdk/silverlight/#MapControlInteractiveSdk.Tutorials.TutorialCustomPushpin

And replacing the <m:Pushpin ... /> by

<Ellipse Width="40" Height="40" m:MapLayer.Position="48.8,2.1" m:MapLayer.PositionOrigin="Center">
  <Ellipse.Fill>
    <RadialGradientBrush>
      <GradientStop Color="#7FFF0000" Offset="0"/>
      <GradientStop Offset="1"/>
    </RadialGradientBrush>
      </Ellipse.Fill>
    </Ellipse>
like image 121
Johan Buret Avatar answered Sep 25 '22 14:09

Johan Buret