Overlay pushpins on maps Windows phone 8.1 - c#

I am building an universal app for Windows where i am using maps control for displaying few hundreds of pushpins on map. In WinRT i successfully used Bing maps SDK and it works perfectly as i wish.
Problems coming out in my Windows phone project. There is no Bing maps for windows phone, so i am using build-in maps in wp sdk. Main problem in this restriction from msdn:
The MapIcon is not guaranteed to be shown. It may be hidden when it obscures other elements or labels on the map.
This is unacceptable for my case, i want my pushpins overlay all others items on the map(including others pushpins), so user could see them all at the start of applications. I already tried to use ZIndex and all advices from the google, but nothing helped for me.
Did anyone solve this problem or can give me some advice to workaround this restriction?

The alternative is using XAML children of the Map, e.g.
<maps:MapControl>
<TextBox x:Name="MapOverlay" Text="Test" maps:MapControl.Location="{Binding FooLocationBinding}"/>
</maps:MapControl>
(MapControl.Location is an attached property which can also be set from the code behind if you won't be taking advantage of bindings.)

Related

Animations on pushpins Bing Map Control

Hello I am working on UWP map based application. I want to provide a path animation to my pushpin the way demonstrated in the Bing Maps documentation here .
The Issue is
I can't use the bing map SDK as I can not use any other Tile source (like OSM) except for bing and neither can I remove the copyright information.
Anyone can help me with creating path animations a pushpin on the XAML map control? which is provided by default in the Controls
I can't use the bing map SDK
Bing Map SDK is used for previous versions, in UWP app we have MapControl instead. And the animations you mentioned are not provided by SDK, they are just animations in UWP app. So actually you don't need use the Bing Map SDK as what you want has no relationships with the SDK.
Anyone can help me with creating path animations a pushpin on the XAML map control
This article you provided already taught about creating animations with Maps. But the target version in that article is windows 8.1 with Bing SDK not UWP app, so some APIs cannot be used in UWP app. Such as LocationCollection() is replaced by Geopath class, MapShapeLayer() maybe replaced by MapItemsControl class. More details please reference Maps and location overview and the official sample.
I convert some of the animations that now they can be used in a UWP app. You can download the demo here for testing.

Border of Canvas should be Beziercurve / LCARS Canvas

I'm trying to program a security System using a Raspberry Pi and new Windows Universal App Platform (so I'm using Windows IoT).
This security System should look like the LCARS OS, used in the "younger" Star Trek Spaceships. I had no Problem designing the Buttons etc. but if you know LCARS, you know that there are theese so called "elbows". I thought it would be a good idea to use a canvas for that.
I tried to give the canvas a border that is drawn with a beziercurve but that did not work.
Actually I have no idea how I could resolve the problem. Is there anybody who may help (or has a complete different /better idea)?
I'm using C# with XAML for developing (Blank Windows Universal App Template).

Creating custom graphics with Windows Phone XAML

I am creating a WP 8.1 app with MVVM Light Toolkit. I have to call a service of weather measurings information, and then, I have to create different graphics with the indicator showing the value of the service response. For example, I have this image:
And it should be like this:
Or these images:
And should end up like this:
How can I get the position where I would put the shape indicating the value? Or in the second case, the needle pointing the value? And, how would I support multiple resolutions?
you should draw everything in a Canvas panel. There you can control the assets positions and transformations. This also requires to have objects to preserve the state of each thing. This question maybe doesn't have an easy answer but I strongly recommend to you learn about that in this links
Using XAML to write Windows 8 Games - Part 1
Using XAML to
write Windows 8 Games - Part 2
Using XAML to write Windows 8
Games - Part 3

CredentialsProvider for the bing map in windows phone 8 application

I was developing a windows phone application in WP7.1, while adding map control we have to set a parameter name "CredentialsProvider". Now i have moved to WP8.0, here while adding map control i am not getting "CredentialsProvider" parameter.
and when i run my application on emulator, it's showing blue square in place of map control, is this because of not setting "CredentialsProvider" ?.
Please Help.
Well, you don't need to use CredentialsProvider property in wp8 app, as CredentialsProvider property is basically the bing api key which a developer issues from Microsoft to enjoy the extended services of bing maps Like making a route, Reverse GeoCoding, GeoCoding. All these services are available as a pert of the sdk in wp8 hence no need to set the attribute, that attribute was only meant till wp7.
Please let me know the problem and requirement in detail if still you havent got the solution.

UI controls difference between WP8 and WP7

I have worked on WP7 app development(C# and XAML). I need to work on a windows phone 8 app development. I googled on what are all the API difference between WP7 and WP8 SDKs, especially I want to know whether there are any changes in UI controls available in WP7 SDK. I have not found any luck. Please point me to the right place where I can get the proper info.
Read What's new in Windows Phone SDK 8.0 - it give you all, what you need.
Exactly for controls:
Windows Phone 8 features the following new controls:
Windows Phone 8 includes a LongListSelector control that you can use to group, display, and scroll through long lists of data. It also
provides a mechanism for users to jump to a specific section of a
list.
In Windows Phone 8, Pivot and Panorama controls have been removed from the SDK and are now located in the phone’s read-only memory
(ROM). This way your app can use a separate native input thread, which
means a significant increase in the input responsiveness of these
controls. The working set memory of the Panorama control also has been
reduced.
The WebBrowser control is now based on Internet Explorer 10, which offers HTML5 and expanded CSS support for richer in-browser
experiences.
The performance of the ProgressBar control has been improved. You should use this control to report value-based or indeterminate
progress.
I hope my answer will be helpful.
there is lost of API changes instead of UI,
You can refer the below mentioned URL for the same.
Download pdf poster Windows Phone API Quick Start
Hope it helps

Categories