jaycollier

Forum Replies Created

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • 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!

              jaycollier
              Participant

                Thanks, Chris! That’s exactly what I did.

                How do I remove the hamburger menu upper left that contains the text “Center Map”? I searched for “center map” in the documentation with no hits.

                jaycollier
                Participant

                  (Formatting problem 🙂

                  Wait! I think I found it. I set up automatic mapping via custom fields, and then used the mashup query current shortcode.

                  I think I’m all set. I keep finding more and more great features in this plugin. Thanks, Bill!

                  jaycollier
                  Participant

                    Wait! I think I found it. I set up automatic mapping via custom fields, and then used
                    <p class=”prettyprint prettyprinted”><span class=”pun”>[</span><span class=”pln”>mashup query</span><span class=”pun”>=</span><span class=”str”>”current”</span><span class=”pun”>]
                    </span></p>
                    I think I’m all set. I keep finding more and more great features in this plugin. Thanks, Bill!

                    in reply to: POI Titles #17987
                    jaycollier
                    Participant

                      Newbie here.

                      What would be the variable to replace the POI.title with the post title in the Mashup Popup template?

                    Viewing 9 posts - 16 through 24 (of 24 total)