Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Alexander Herdt

    (@alexanderherdt)

    Hi,
    what is the right limit? Is browser right side or the maps border?

    Not sure what would be the best solution in your case:
    – scroll browser to the popup (possible only if horizontal sroll bar is shown)
    – move popup to the right automatically.

    Thread Starter pegasus81

    (@pegasus81)

    I resolved problem with this change on wp-design-maps-places/js/wpdmp-common.js:
    find
    var offsetx = parseInt($jq('#mapimage').attr('popupoffsetx'))+dx;
    change with:
    var offsetx = (parseInt($jq('#mapimage').attr('popupoffsetx'))+dx)/2;

    What do you think about? Thanks.

    Plugin Author Alexander Herdt

    (@alexanderherdt)

    I would not recommend to change the left offset in this way. The “dx” depends on the reference points you set for the map during calibration. Yes, this would move the popup left, but in a not well predictable way.

    You can change the popups’ X position by “Popup offset”->”X” for the map in the “Map manager”.
    This would be OK if you will not get a simalar issue with the markers on the left side of yor map.

    I will implement a dynamical adaptation of the popup coordinates depending on the popup position on the screen.

    Plugin Author Alexander Herdt

    (@alexanderherdt)

    I submit the new version 0.6.1 to solve the problem.

    Please let me know if it works fine for you.

    Thread Starter pegasus81

    (@pegasus81)

    Plugin Author Alexander Herdt

    (@alexanderherdt)

    Ok, I see that your theme defines “overflow:hidden” for more parent elements of the widget.
    The workaround for you (beside the mentioned above “Popup offset”) would be to adapt the css.

    Thread Starter pegasus81

    (@pegasus81)

    Any suggestion?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error when place is on the right’ is closed to new replies.