WordPress.org

Forums

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

  1. Serge Pameur
    Member
    Posted 1 year 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 1 year 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 1 year 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. Serge Pameur
    Member
    Posted 1 year 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 1 year 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. Serge Pameur
    Member
    Posted 1 year 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 1 year ago #

    Hi,

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

    You can contact me here:
    chris@wphostreviews.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MapPress Easy Google Maps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags