Comments (5)
The solution here could be initialization of the map only after it becomes visible.
from jqvmap.
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.
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.
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.
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)
- List of selections as region labels, not codes
- The map new regions france no working HOT 2
- Map does not plot markers
- No toolitip for countries
- pins or labels shifted to right and bottom on ukraine map HOT 1
- cannot import name 'EvaluableParseManager'
- Country vectors for Singapore and Hongkong
- Add Singapore
- 'selectedRegions' option does not work with double-quoted input: ["MX"]
- How to display Washington DC on the map
- Destroy Map?
- Distinguish the areas of northern India/Kashmir and Tibet
- jquery.vmap.usa.counties.js is missing Whatcom County, WA
- Label Obstruct small states in USA map
- How to disable Pinch zoom at mobile device? HOT 2
- Austria causes crash
- Is this project maintenance?
- Is it possible to select only a province?
- dynamic set selectedRegions
- any alternative in vanilla javascript
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jqvmap.