question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement/Request: timeout when loading XML map

See original GitHub issue

The mapbox loading into a view can cause an app to hang for half a second or so. When you declare the map in XML and navigate to the page you have no way to delay that execution so it doesn’t cause an interruption to the navigation transition.

A simple solution would be to add a property on the XML view, such as delayMapInit and then accept a value in milliseconds, so then we can make sure the navigation transition has completed before the map constructor is started which isn’t the smoothest process. Let me know your thoughts @EddyVerbruggen, you might have a better idea since you know the SDKs better than I for mapbox.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bradmartincommented, Nov 2, 2016

Yes I’ll test this out soon.

On Wed, Nov 2, 2016, 3:53 PM Eddy Verbruggen notifications@github.com wrote:

Can you update the plugin from GitHub (see the last check-in). You get to set a delay property in the XML definition. For instance, delay=“500” means the plugin will wait half a second before invoking the Mapbox SDK.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-mapbox/issues/52#issuecomment-257995487, or mute the thread https://github.com/notifications/unsubscribe-auth/AFulhAH2_tNmRlIPc-0cCRcjXBRAKMb5ks5q6PgzgaJpZM4Kmnls .

1reaction
EddyVerbruggencommented, Nov 2, 2016

Update: got Android behaving nicely locally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I set the timeout for a JAX-WS webservice client?
((BindingProvider)myInterface).getRequestContext().put("com.sun.xml.internal.ws.request.timeout", 10000); ((BindingProvider) ...
Read more >
Smart View HTTP Session Timeout
"XML Load Error: XML Document must have a top level element". To avoid HTTP session timeouts, you may add the following Windows Registry...
Read more >
config | API Reference | ArcGIS Maps SDK for JavaScript 4.25
Overrides the URL for loading the API assets when using local builds of the ... The first interceptor that matches the request URL...
Read more >
core-default.xml
A value of 0s (default) would mean an infinite wait (i.e. wait until the command exits on its own). hadoop.security.group.mapping.ldap.connection.timeout.ms ...
Read more >
Mapper XML Files
Result maps are the most powerful feature of MyBatis, ... MyBatis will load all statements with no databaseId attribute or with a databaseId ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found