<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can JMP show custom Mapbox as background map? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276031#M53564</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;. I have been using custom Mapbox maps in Tableau which significantly enhances the mapping experience. That's why I was wondering it can be imported to JMP as well or not. Thanks for the clarification though.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2020 15:32:21 GMT</pubDate>
    <dc:creator>shasheminassab</dc:creator>
    <dc:date>2020-06-29T15:32:21Z</dc:date>
    <item>
      <title>Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275828#M53525</link>
      <description>&lt;P&gt;I created a custom map on Mapbox and used its URL in the Web Map Service of Graph Builder but nothing showed up. Can JMP actually show custom Mapbox as background map?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:02:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275828#M53525</guid>
      <dc:creator>shasheminassab</dc:creator>
      <dc:date>2023-06-11T11:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275862#M53532</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/16275"&gt;@shasheminassab&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is not enough information in your post to be able to anwer your question.&amp;nbsp; I found no JMP object called a MapBox, there is&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a MapSeg that is for a Background Map that can be added to a graph's FrameBox,&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;a MapShape that can be added via&amp;nbsp; the GraphBuilder controls.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I am thinking you are refering to the Map Shape area in the GraphBuilder as the Map Box.&amp;nbsp; The script below was copied from the JMP Help &amp;gt;Scripting Guide&amp;gt; Clip Shape&amp;nbsp; The script creates a density contour map and uses the US States a s a background map&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Cities.jmp" );
gb = Graph Builder(
	Size( 653, 396 ),
	Show Control Panel( 0 ),
	Variables( X( :Longitude ), Y( :Latitude ) ),
	Elements( Contour( X, Y, Legend( 2 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Background Map( Boundaries( "US States" ) ), Grid Line Order( 2 ),
			Reference Line Order( 3 )}
		)
	)
);
cs = (gb &amp;lt;&amp;lt; Report)[FrameBox( 1 )] &amp;lt;&amp;lt; Find Seg( Contour Seg( 1 ) );
Wait( 2 );
cs &amp;lt;&amp;lt; Clip Shape( Boundaries( "US States" ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 756px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24851i48A6F25EC90F23D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This next script uses the same data table and a Map Shape&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 551, 618 ),
	Show Control Panel( 0 ),
	Variables( Overlay( :State ), Color( :POP ), Shape( :State ) ),
	Elements( Map Shapes( Legend( 7 ), Show Missing Shapes( 1 ) ) )
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 647px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24852iBD934BB32A42D556/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first graph maps some function relative to Longitude and Latitude with the map shape in the background. The second graph hase sub areas defined and maps some value (like population or ozone level) for each sub area (state). Each state is a discrete shape.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saving the script for your graph and posting it, will help the JMP community answer your question.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2020 19:57:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275862#M53532</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2020-06-28T19:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275872#M53534</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/70"&gt;@gzmorgan0&lt;/a&gt;&amp;nbsp;. I was referring to&amp;nbsp;mapbox.com where you can make custom maps. I know there is an option in&amp;nbsp;&lt;SPAN&gt;the background map dialog where you can add maps from&amp;nbsp;Web Mapping Service (WMS). When I use&amp;nbsp; a custom map URL that I created on mapbox.com in the WMS section of&amp;nbsp;background map nothing shows up.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2020 20:40:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275872#M53534</guid>
      <dc:creator>shasheminassab</dc:creator>
      <dc:date>2020-06-28T20:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275878#M53536</link>
      <description>&lt;P&gt;I don't see anything about mapbox having a wms server. JMP has one that supplies the open street map data.&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Web_Map_Service" target="_blank"&gt;https://en.wikipedia.org/wiki/Web_Map_Service&lt;/A&gt;&amp;nbsp;is an overview.&lt;/P&gt;&lt;P&gt;You might be able to get a high res image and use it as a background picture, but you may have issues with map projections and alignment of pixels to the graph coordinates.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/494"&gt;@XanGregg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2020 22:04:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/275878#M53536</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2020-06-28T22:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276031#M53564</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;. I have been using custom Mapbox maps in Tableau which significantly enhances the mapping experience. That's why I was wondering it can be imported to JMP as well or not. Thanks for the clarification though.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:32:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276031#M53564</guid>
      <dc:creator>shasheminassab</dc:creator>
      <dc:date>2020-06-29T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276070#M53572</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/16275"&gt;@shasheminassab&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem could be that your syntax for accessing the map is incorrect. If you did not want to publish on this forum you could send your script or screen shot to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;in a private email.&amp;nbsp; If a solution is found, please post any learning to the forum.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 19:24:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276070#M53572</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2020-06-29T19:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276087#M53578</link>
      <description>&lt;P&gt;The&amp;nbsp; density contour map doesn't line up correctly on the map when I run it.&amp;nbsp; &amp;nbsp;Perhaps because of the error I got on the first chunk of code:&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Cities.jmp" );
gb = Graph Builder(
    Size( 653, 396 ),
    Show Control Panel( 0 ),
    Variables( X( :Longitude ), Y( :Latitude ) ),
    Elements( Contour( X, Y, Legend( 2 ) ) ),
    SendToReport(
        Dispatch(
            {},
            "Graph Builder",
            FrameBox,
            {Background Map( Boundaries( "US States" ) ), Grid Line Order( 2 ), Reference Line Order( 3 )}
        )
    )
);
cs = (gb &amp;lt;&amp;lt; Report)[FrameBox( 1 )] &amp;lt;&amp;lt; Find Seg( Contour Seg( 1 ) );
Wait( 2 );
cs &amp;lt;&amp;lt; Clip Shape( Boundaries( "US States" ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;/*:&lt;/P&gt;
&lt;P&gt;The display box 'ContourSeg' does not recognize the message 'Clip Shape'; perhaps you mean one of these: &amp;lt;&amp;lt;Class Name &amp;lt;&amp;lt;Sib Append &amp;lt;&amp;lt;Sib Prepend &amp;lt;&amp;lt;Line Style &amp;lt;&amp;lt;Line Style,Set Line Style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the second chunk of code I believe you need a semi-colon on the last statement.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 10:11:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276087#M53578</guid>
      <dc:creator>jimloughlin</dc:creator>
      <dc:date>2020-06-30T10:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show custom Mapbox as background map?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276178#M53594</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2913"&gt;@jimloughlin&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding Clip Shape, it was implemented in JMP version 14. I am on Windows 10 OS. I have tested and successfully run this on versions 14.3 and 15.1. It does not wrk on JMP 13 since it was implemented for JMP 14, I do not recall if it was a dot version or the initial release of JMP 14.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the second block of code:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;JSL syntax, the semicolon is Glue.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Since that block of code was the last statement in my script, it does not require a semicolon to run.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 30 Jun 2020 11:37:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-custom-Mapbox-as-background-map/m-p/276178#M53594</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2020-06-30T11:37:02Z</dc:date>
    </item>
  </channel>
</rss>

