Code Monkey home page Code Monkey logo

Comments (5)

bjornd avatar bjornd commented on June 9, 2024

The solution here could be initialization of the map only after it becomes visible.

from jqvmap.

dmregister avatar dmregister commented on June 9, 2024

That could be a very possible solution. I am populating the hidden element on an ajax callback and didn't any delay when the element was finally displayed. In that case I would have to render the map on a show callback, which is after the element is already shown to the user.

from jqvmap.

roberthuttinger avatar roberthuttinger commented on June 9, 2024

I am getting an issue in IE8 where if there are tabs, with their own map on each, once you click on any tab the other maps disappear. I thought the height width might be the issue with AJAX callse as the width became 0, but the issue persists in IE8. I am trying to find the solution, but would love any ideas!

from jqvmap.

roberthuttinger avatar roberthuttinger commented on June 9, 2024

I found a usable solution but it involves changing the default behaviour of jQueryUI. Using the 'offset left' method instead of hiding. There is a caching issue in IE.

replace this code in the jqueryui custom css

[ - ]
.ui-tabs .ui-tabs-hide { display: none !important; }
[ + ]
.ui-tabs .ui-tabs-hide { position: absolute !important; left: -10000px !important; display: block !important; }

and when initializing the tabs:
[ - ]
$( "#tabs" ).tabs();

[ + ]
$( "#tabs" ).tabs().tabs("option", "disabled", false);

Hope this helps someone else, I battled this for days!

from jqvmap.

TrivoXx avatar TrivoXx commented on June 9, 2024

Have anobody find a solution to redraw the map? At the moment I can update the values. I use it with a datepicker. But when I get the right value for example a map where the value is 0 is colored. If I refresh the page with (F5) I see the right map. So I think I must redraw the map.... but how?

from jqvmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.