Forum Replies Created
-
AuthorPosts
-
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:
I don’t know what I am missing.
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>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"]
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.
[mashup query="preserve_region=southern maine" width="100%" zoom="11" style="mystyle"]
May 2, 2019 at 6:17 am in reply to: Generating automatic maps from custom fields for all posts in a custom post type #18282Perfect!
Thanks, again!
May 2, 2019 at 6:14 am in reply to: Generating automatic maps from custom fields for all posts in a custom post type #18280Thanks, 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.
May 2, 2019 at 6:05 am in reply to: Generating automatic maps from custom fields for all posts in a custom post type #18278(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!
May 2, 2019 at 6:05 am in reply to: Generating automatic maps from custom fields for all posts in a custom post type #18277Wait! 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!Newbie here.
What would be the variable to replace the POI.title with the post title in the Mashup Popup template?
-
AuthorPosts
