jaycollier

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: Unable to move map. #19196
    jaycollier
    Participant

    This ticket is old, but I wanted to provide an update for others who may find this ticket.

    We discovered that the problem was a javascript minification for this one page by the Swift Performance plugin. Once we excepted this page from minification, it was working fine again.

    I did not have time to explore what other script conflicted, but the problem was solved immediately, and we continue to be very happy with this plugin!

    Thanks, Chris!

    -Jay

    in reply to: Unable to move map. #19006
    jaycollier
    Participant

    I had put the quotation mark before the descriptor rather than the attribute.

    This didn’t work: “post_type=preserve”

    This did: post_type=”preserve”

    -Jay

    in reply to: Unable to move map. #19004
    jaycollier
    Participant

    Resolved. The problem was much simpler. We had a quotation mark in an incorrect location in the mashup shortcode.

    Was:

    [mashup query="post_type=preserve" width="100%" zoom="7" maptypeid="preserves1"]

    Should have been:

    [mashup query=post_type="preserve" width="100%" zoom="7" maptypeid="preserves1”]

    Working. Case closed 🙂

     

     

    in reply to: Div is missing: leaflet-popup-content-wrapper #18911
    jaycollier
    Participant

    You can disregard. I reverse engineered this and am all set.

    in reply to: Div is missing: leaflet-popup-content-wrapper #18910
    jaycollier
    Participant

    I didn’t applied any special CSS to the prior0version pop-ops — and I’ve cleared all caches — so I’m confused as to why they’ve lost styling on our staging site:

    https://mcht2.org/visit-a-preserve/

    Click on any pop-up in the mash-up partway down the page.

    Is there something else I need to do to return the appearance to the live site with the prior version?

    https://mcht.org/visit-a-preserve/

    in reply to: Automatic update is unavailable for this plugin. #18787
    jaycollier
    Participant

    Well, that’s just so obvious! I anticipated a license renewal reminder. I’ll put it in my calendar for next year.

    Thanks 🙂

    jaycollier
    Participant

    One more piece of information: The reposition is only partial on the first POI click. On subsequent clicks, the bubble is repositioned correctly.

    jaycollier
    Participant

    When Query Monitor is enabled, I get this in the console:

    DevTools failed to parse SourceMap: https://(snip).org/wp-content/plugins/mappress-google-maps-for-wordpress/js/algolia/placesAutocompleteDataset.min.js.map

    DevTools failed to parse SourceMap: https://(snip).org/wp-content/plugins/query-monitor/assets/query-monitor.css.map

    When disabled, the bubble repositions correctly. I’ll follow up with the QM developer.

    in reply to: Styled maps #18292
    jaycollier
    Participant

    Bingo, that was exactly what I needed for the shortcode! Thank you.

    Is there any way to apply that maptypeid to the automatically-generated maps?

    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?

    in reply to: Styled maps #18290
    jaycollier
    Participant

    I have no idea why styles are showing up in my posts and I can’t edit or delete them. Once again:

    ————————————————————————————

    Yes, thank you. I did see those instructions. However, I am using automatic Leaflet maps generated from custom fields and mashups, and those instructions appeared to apply to the manual editor options: “The new style will appear as a selection in the layers control in the MapPress editor.”

    I am looking for a way to apply the MapBox style automatically to all maps (or via shortcode, which brought me to that outdated help thread.

    By the way, I did add the share URL to the MapBox Settings (“Styled Maps”) screen, giving it a name of “preserves1″ and used it in my mashup shortcode, but that didn’t change the styling either.

    The following shortcode is in brackets: mashup query=”preserve_region=southern maine” style=”preserves1″

    I also checked to make sure my MapBox base map styling is public, and it is:

    https://api.mapbox.com/styles/v1/mchtcollier/cjhwbg4m613ho2rpn24azrqt9.html?fresh=true&title=true&access_token=pk.eyJ1IjoibWNodGNvbGxpZXIiLCJhIjoiY2pod2JlcnZ3MTg2djNycG14bXQwYmV1OSJ9.u8CFevFbaKc7En25be_OdA#7.9/44.616/-68.874/-30

    I don’t know what I am missing.

    in reply to: Styled maps #18289
    jaycollier
    Participant

    Yes, thank you. I did see those instructions. However, I am using automatic Leaflet maps generated from custom fields and mashups, and those instructions appeared to apply to the manual editor options: “The new style will appear as a selection in the layers control in the MapPress editor.”

    I am looking for a way to apply the MapBox style automatically to all maps (or via shortcode, which brought me to that outdated help thread.

    By the way, I did add the share URL to the MapBox Settings (“Styled Maps”) screen, giving it a name of “preserves1″ and used it in my mashup shortcode, but that didn’t change the styling either.
    <pre class=”prettyprint prettyprinted”><span class=”pun”>[</span><span class=”pln”>mashup query</span><span class=”pun”>=</span><span class=”str”>”preserve_region=southern maine”</span><span class=”pln”>
    width</span><span class=”pun”>=</span><span class=”str”>”100%”</span><span class=”pln”> zoom</span><span class=”pun”>=</span><span class=”str”>”11″</span><span class=”pln”> style</span><span class=”pun”>=</span><span class=”str”>”preserves1″</span><span class=”pun”>]
    </span>
    <p class=”prettyprint prettyprinted”><span class=”pun”>I also checked to make sure my MapBox base map styling is public, and it is:

    https://api.mapbox.com/styles/v1/mchtcollier/cjhwbg4m613ho2rpn24azrqt9.html?fresh=true&title=true&access_token=pk.eyJ1IjoibWNodGNvbGxpZXIiLCJhIjoiY2pod2JlcnZ3MTg2djNycG14bXQwYmV1OSJ9.u8CFevFbaKc7En25be_OdA#7.9/44.616/-68.874/-30</span></p>
    <p class=”prettyprint prettyprinted”><span class=”pun”>I don’t know what I am missing.</span></p>

    in reply to: Styled maps #18286
    jaycollier
    Participant

    Can’t see how to edit, so here’s the shortcode on 2 lines.

    [mashup query="preserve_region=southern maine" 
    width="100%" zoom="11" style="mystyle"]
    in reply to: Styled maps #18285
    jaycollier
    Participant

    Hi, Chris-

     

    Have these instructions changed? Or perhaps my understanding is weak 🙂

    Under Map Box > Use, I do not see “Develop with this style” or “Leaflet” options.

    I did try using the third party URL in the functions.php script (sample below) and changed my shortcode to include “mystyle”, but it did not make a difference on the map.

    https://api.mapbox.com/styles/v1/%5Bsnip%5D/cjhwbg4m613ho2rpn24azrqt9.html?title=true&access_token=%5Bsnip%5D/-68.873966/330

    [mashup query="preserve_region=southern maine" width="100%" zoom="11" style="mystyle"]

     

    jaycollier
    Participant

    Perfect!

    Thanks, again!

Viewing 15 posts - 1 through 15 (of 19 total)