Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6224897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:44:50+00:00 2026-05-24T08:44:50+00:00

Hello i have some problems with the Bing Map control. If i zoom to

  • 0

Hello i have some problems with the Bing Map control.

If i zoom to near to the polylines they begin to disappear (from bottom to top and from right to left)
The Polylines are generated dynamically with an ItemsControl (that one which is included in the maps namespace) bound to a collection of my own LocationData from ViewModel thats converted by a IValueConverter to the map specific LocationPoints.
Some values that are not accessible from ViewModel are set in the loaded event.
The map and the container stretch over the whole screen.

So if the lines begin to disappear and i zoom out via a button in my ApplicationBar

private void ZoomOut_Click(object sender, RoutedEventArgs e)
{
    map1.ZoomLevel -= 1.0;
}

the Application exits without exception…
I have tested it on a real device with and without debugger and the debugger only says that he have lost the connection to the device.

Anyone have this or similar problems and hopefully solved it?

Thanks for any help.

PS: My LocationData contains approximately 100 – 200 points that are split up to 3 – 7 lines that can’t be to much or?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:44:51+00:00Added an answer on May 24, 2026 at 8:44 am

    Yes, hundreds of points is too much, but that’s the least of your problems. The way you have coded this, you are reconverting and replotting your points every time there is a pan or zoom.

    • Don’t use the type converter. Convert your points once, cache the converted points and bind to the converted points.
    • Research quadtrees and how they apply to culling your point set in proportion to zoom level.
    • Apply a clipping rectangle. In my experience, half a degree larger each side of your display region works well.
    • Study the Bing map event model and redesign your code so that you only cull, clip and plot when map manipulation stops.
    • Ideally, write your cull, clip and plot logic so that it is asynch and can be signalled to abort so that if manipulation restarts before cull, clip and plot is finished, it can be aborted and restarted.

    Using the techniques above I am able to get performance comparable to the built-in map.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello i am having some problems generating random numbers with C# Now i have
I have some problems to pass message from background page to my content_script.js. I
hello i have some problems with my php ajax script i'm using PHP/mysql i
I have some problems with compiling hello world application in kubuntu linux 11.10. This
If I have some xml like this: <mynode> <mysubnode> <mysubsubnode>hello world</mysubsubnode> some more text
Dup of Some Basic PHP Questions Hello, I have a heap of tinyint fields
There are some other questions where people have problems with timestamp being all zeros.
Hello i am having some problems sending mails thoug my site. I keep getting
Hello I have a main app that is going to have some plugins in
I have some problems during when and which object to be release You can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.