WordPress.org

Forums

MapPress Easy Google Maps
[resolved] POI initial loading (7 posts)

  1. spameur
    Member
    Posted 11 months ago #

    Hi Chris,
    In last version 2.42, the infowindow doesn't display at initial loading, even when "Automatically open the first POI when a map is displayed" option is checked.
    Can you reproduce and fix it?
    Regards.

    https://wordpress.org/plugins/mappress-google-maps-for-wordpress/

  2. chrisvrichardson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    Thanks for bringing that to my attention, but I couldn't reproduce it. Do you have a URL where I can take a look? You can contact me here if you prefer not to publish it:

    http://wphostreviews.com/chris-contact

  3. chrisvrichardson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    I got your contact form, but my replies got bounced back (invalid email address) so I'll reply here.

    If you set the map to initially open both the POI and directions, it open the directions form without opening a POI. You can get it to focus on a POI by giving it a 'from' POI number (0 is the first). Try it like this:

    [mappress initialopeninfo="true" initialopendirections="true" from="0"]

  4. spameur
    Member
    Posted 11 months ago #

    Thanks Chris,

    To solve initial open, I finally changed mappress_settings.php line 87 with $to = '0',

    But I still get problem with Scrollbars and html which doesn't center text or images.
    You can see it at same contact form.

  5. chrisvrichardson
    Member
    Plugin Author

    Posted 11 months ago #

    I hope this helps:

    1. I would use 'to' in the shortocde. If you change the code it will be overwritten in the next version.

    2. The scrollbars are because the image doesn't have a width & height specified in CSS, so the browser doesn't know the size on first load. Change the image tag to something like: <img src="myimage" style="width:100px;height:100px">

    3. The text alignment is set in mappress.css using !important. You can change override it by using !important in your own CSS. In version 2.42.1 of the plugin, I've removed some of the !important modifiers, which may help.

  6. spameur
    Member
    Posted 11 months ago #

    Thanks Chris.

    1. I know, but I prefer check files changes for every new version (and delete or modify some features to match my needs). For instance, I delete My Location text in my production version.
    2. Oups, of course...
    3. Good, I noticed the abusive use of !important in your css and I'm very happy you remove some of them.

    To thank you again for your help, I'd like to contribute to your plugin by sending you a full French translation for last version 2.42.1.
    If you are interested, you can send me you mail address with the contact form on my site, or publish it here if you prefer.
    I'll send you back the files to include in last version.
    Regards.

  7. chrisvrichardson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    I'm unable to reply to your emails, error is below.

    You can contact me here:
    chris@wphostreviews.com

Reply

You must log in to post.

About this Plugin

About this Topic

Tags