Support

Home Forums Event Espresso Premium Vector Maps not displaying for SW

Vector Maps not displaying for SW

Posted: May 30, 2014 at 3:53 am


blue level

May 30, 2014 at 3:53 am

Hi I have just installed vector maps. I am using the UK map and i have found that if you put use the shortcode in the code in the venue state field then it will display on the map. Great.
My problem is that events is the south west are not displaying. if i change the venue to SE then it displays fine. Move it back to SW and it doesnt show up.
In firebug i can see that there is a hidden_states div. all events are in here such as scotland and south east aswell as south west, so i know that the plugin is finding the events, it is just not displaying this one area…

Any help would be great.
thanks


Dean

May 30, 2014 at 4:14 am

Hi,

Can you provide a link to an example please?


blue level

May 30, 2014 at 4:19 am

sure http://www.blue-carrots.com


Dean

May 30, 2014 at 4:30 am

Thanks for that. OK it looks like there is a typo in the code causing the issue. I’ll get a ticket raised to look into it. If you would like to share your login details (with FTP please) I can fix it directly on your site.

If so, please send them via https://eventespresso.com/send-login-details/

NOTE: login details need to be Admin level and FTP details are appreciated.


blue level

May 30, 2014 at 7:41 am

hi thanks, but i can not set up ftp details. if you can let me know what file needs changing im sure i can figure it out.
thanks


Sidney Harrell

May 30, 2014 at 10:25 am

If you open up plugins/espresso-template-vector-maps/js/maps/jquery.vmap.uk.js and search for “sw”, you’ll see:

"South West":{"name":"sw",

it needs to be changed to:

"sw":{"name":"South West",


blue level

June 2, 2014 at 4:05 am

thanks for that Sidney! thats worked a treat!

Another thing though, is that when i am hovering over an area the box which displays how many events are in that area is displaying behind the map so you cannot see it.

Im sure a z-index could sort it out but i cannot see what the id/class for that box is. Any ideas?


Dean

June 2, 2014 at 4:22 am

Hi,

Not sure why that’s happening, but you were spot on with the z-index being the issue. Add this CSS and it should resolve it

.jqvmap-label { z-index: 9001; }

(You probably couldn’t see a class as the label is dynamically generated so doesn’t exist unless you force the element to be in a hover state.)


blue level

June 2, 2014 at 4:59 am

brilliant thanks!


Dean

June 2, 2014 at 5:36 am

You’re most welcome, and thanks for finding that South West bug!

The support post ‘Vector Maps not displaying for SW’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso