Skip to content

Text not displaying correctly #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sk8sta13 opened this issue Oct 6, 2015 · 3 comments
Closed

Text not displaying correctly #72

sk8sta13 opened this issue Oct 6, 2015 · 3 comments

Comments

@sk8sta13
Copy link

sk8sta13 commented Oct 6, 2015

Hello,

I`ve downloaded the example available on github, and tried to run it in internet explorer 8 to test. Them map is loaded correctly but the texts are not, they are all in the top-left corner.
Is there any alternative to solve this?

@neveldo
Copy link
Owner

neveldo commented Oct 27, 2015

Hello,

Sorry for my very late answer. The compatibility information are not up to date for jQuery Mapael. IE<9 is no longer compatible with Mapael. I will update the compatibility information on the readme file.

However, if you need to get mapael working on IE<9, it should works with jQuery 1.11.3 and Raphael.js 2.1.2 dependencies versions. With these versions, mapel should work fine for most of features.

I hope this will help you !

@Indigo744
Copy link
Collaborator

@sk8sta13 did you set by any chance your container to display:none while loading the map?
I had the same issue with the legend: I wanted to hide the legend and show it if the user click on a link.
I suggest you to use visibility:hidden; while loading a map.
Note that it will still take the space (it is just not visible).
If you do need to fully hide the map, use the following CSS class:

.map_hide {
    /* display:none is doing some weird stuff on SVG
     * Solution: hide it, then position it far away
     */
    position:absolute !important;
    visibility: hidden !important;
    top:-1000px !important;
    left:-1000px !important; 
}

Add/remove the class to your element as needed.

@Indigo744
Copy link
Collaborator

Duplicated of issue #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants