• Resolved jbo.ciel

    (@jbociel)


    Hello,

    Some people have faced to the same problem with the map…
    The images aren’t fully loading:
    Map in the post event
    http://goo.gl/dIol0
    Map in the widget
    http://goo.gl/aWTzp

    Moreover, the map is not well center on the events:
    Map on my calendar page works well except for the image loading
    http://goo.gl/Qxmlv

    Maybe it is related with the code i use to add the event into the loop (in function.php):

    function add_event_type_to_query($query){
    	if( $query->is_main_query() && is_front_page() && in_array( 'event-organiser/event-organiser.php' , get_option('active_plugins') ) ){
    		$query->set('post_type', array('post','event'));
    	}
    }
    add_action('pre_get_posts','add_event_type_to_query',5,1);

    Thank you for any advice,
    jb

    http://ww.wp.xz.cn/extend/plugins/event-organiser/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Hi jb,

    I’m afraid screenshots can’t help me much. (I assume by issues with the images loading, you mean the blank square behind the pan-navigation and where the ‘street view man’ should be?).

    I think its unlikely that the code you added would affect this – in fact it seems like its a javascript issue. So I’d first recommend checking your browser console for errors, and also trying other browsers (chrome/firefox are probably the best to test with first).

    The only context I’ve seen half the map missing is sometimes when the position of the map changes after its been loaded. This would typically be due to the theme / plug-in causing the map to shift for some reason. (http://stackoverflow.com/questions/5336582/google-map-loading-issue).

    Lastly, check plug-ins and themes for a conflict. Given the nature of the bug, I’d guess the theme would be the best to start with.

    Thread Starter jbo.ciel

    (@jbociel)

    Hello Stephen,

    I will investigate more until now i don’t notice any js error with firebug. The theme conflict is going to be an interesting way.

    I will post if i found something interesting.

    Thank you for your interest,
    jB

    Thread Starter jbo.ciel

    (@jbociel)

    Hello Stephen,

    I have just got the time to rework on this issue…
    On the contrary to the first thoughts, it was not a javascript problem or a theme conflict… But a css one.

    Actually, i had this into my style.css:

    img {
        background: none repeat scroll 0 0 #F5F5F5;
        border: 0 none;
    }

    So i just overwrite it with this:

    .eo-event-meta img {
    	background:inherit;
    }

    And it solve the issue.

    Thank you for this plugin.
    jB

    Plugin Author Stephen Harris

    (@stephenharris)

    Awesome, I’ll keep an eye out for that in the future 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Display Map // Image not fully loading not centering’ is closed to new replies.