Mashup-Popup template – POI title/thumnbnail incorrect

Home Forums MapPress Support Mashup-Popup template – POI title/thumnbnail incorrect

This topic contains 2 replies, has 2 voices, and was last updated by  Chris 2 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18293

    jaycollier
    Participant

    Hi, Chris!
    <div></div>
    <div>I have 2 questions about the Mashup-Popup (custom) template.

    1.</div>
    <div></div>
    <div>{{{poi.url}}} and {{{poi.thumbnail}}} are correct, but the title is incorrect.
    <div></div>
    <div>{{{poi.title}}} is returning the post’s coordinates from custom fields — “43.71993619057352,-70.19034788168932” — rather than the post title — “Clapboard Preserve East”.</div>
    <div>
    <div></div>
    <div>Should I be using a tag other than {{{poi.title}}} ?</div>
    <div></div>
    <div>2.</div>
    </div>
    <div></div>
    <div>The popup thumbnail is being styled inline: — style=“width:64; height : 64;”. I have to force a style to override:</div>
    <div></div>
    <div>.mapp-body img {</div>
    <div>width: 300px !important;</div>
    <div>height: 140px !important;</div>
    <div>}</div>
    <div></div>
    <div>Is there any other way to change the inline styles?</div>
    </div>

    #18294

    jaycollier
    Participant

    Hi, Chris!

    I have 2 questions about the Mashup-Popup (custom) template.

    1.

    {{{poi.url}}} and {{{poi.thumbnail}}} are correct, but the title is incorrect.

    {{{poi.title}}} is returning the post’s coordinates from custom fields — “43.71993619057352,-70.19034788168932” — rather than the post title — “Clapboard Preserve East”.

    Should I be using a tag other than {{{poi.title}}} ?

    2.

    The popup thumbnail is being styled inline: — style=“width:64; height : 64;”. I have to force a style to override:

    .mapp-body img {
    width: 300px !important;
    height: 140px !important;
    }

    Is there any other way to change the inline styles?

    #18295

    Chris
    Keymaster

    Hi,

    1., You can set mashups to show either the POI title or the post title in the MapPress settings screen.  For automatic maps, the POI title is the address or lat/lng used to generate the POI.

    2.  Also on the settings screen, you can specify a thumbnail size.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.