Skip to content

Commit

Permalink
Upgrading to use RTM version of Bing Maps
Browse files Browse the repository at this point in the history
  • Loading branch information
jcookems committed Oct 15, 2013
1 parent 2b119c2 commit fcae6a1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
12 changes: 10 additions & 2 deletions Geofencing/Client/App1/App1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<SDKReference Include="Bing.Maps.Xaml, Version=1.313.0601.0">
<Name>Bing Maps for C#, C++, or Visual Basic</Name>
<SDKReference Include="Bing.Maps.Xaml, Version=1.313.0825.0">
<Name>Bing Maps for C#, C++, or Visual Basic %28Bing.Maps.Xaml, Version=1.313.0825.0%29</Name>
</SDKReference>
<SDKReference Include="Microsoft.VCLibs, version=12.0">
<Name>Microsoft Visual C++ 2013 Runtime Package for Windows</Name>
Expand Down Expand Up @@ -156,6 +156,14 @@
<Name>GeofenceRegistrationManager</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="System.Net.Http.Extensions">
<HintPath>..\packages\Microsoft.Net.Http.2.2.15\lib\win8\System.Net.Http.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Primitives">
<HintPath>..\packages\Microsoft.Net.Http.2.2.15\lib\win8\System.Net.Http.Primitives.dll</HintPath>
</Reference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
<VisualStudioVersion>12.0</VisualStudioVersion>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Geofencing/Client/App1/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static class Utilities
{
public static Location ToLocation(this Geoposition g)
{
return new Location(g.Coordinate.Latitude, g.Coordinate.Longitude);
return new Location(g.Coordinate.Point.Position.Latitude, g.Coordinate.Point.Position.Longitude);
}

}
Expand Down
1 change: 1 addition & 0 deletions Geofencing/Client/App1/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<packages>
<package id="Microsoft.Bcl" version="1.1.3" targetFramework="win81" />
<package id="Microsoft.Bcl.Build" version="1.0.10" targetFramework="win81" />
<package id="Microsoft.Net.Http" version="2.2.15" targetFramework="win81" />
</packages>
9 changes: 1 addition & 8 deletions Geofencing/Client/GeofenceLoader/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@ public static class Utilities
{
public static BasicGeoposition ToBasicGeoposition(this Geoposition g)
{
return new BasicGeoposition
{
Altitude = g.Coordinate.Altitude ?? 0,
Latitude = g.Coordinate.Latitude,
Longitude = g.Coordinate.Longitude
};
return g.Coordinate.Point.Position;
}


}
}

0 comments on commit fcae6a1

Please sign in to comment.