<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tessercat.net/index.php?action=history&amp;feed=atom&amp;title=Debugging_MapboxGL</id>
	<title>Debugging MapboxGL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tessercat.net/index.php?action=history&amp;feed=atom&amp;title=Debugging_MapboxGL"/>
	<link rel="alternate" type="text/html" href="https://wiki.tessercat.net/index.php?title=Debugging_MapboxGL&amp;action=history"/>
	<updated>2026-04-08T03:54:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>https://wiki.tessercat.net/index.php?title=Debugging_MapboxGL&amp;diff=14231&amp;oldid=prev</id>
		<title>Steve: added a start</title>
		<link rel="alternate" type="text/html" href="https://wiki.tessercat.net/index.php?title=Debugging_MapboxGL&amp;diff=14231&amp;oldid=prev"/>
		<updated>2021-11-18T22:37:37Z</updated>

		<summary type="html">&lt;p&gt;added a start&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Some errors fail silently in mapbox and this can be annoying when you can't make a layer show up.  A few things to make sure you check:&lt;br /&gt;
&lt;br /&gt;
# Vector layers require a &amp;lt;code&amp;gt;source-layer&amp;lt;/code&amp;gt; prop or argument.  Often times, silent failing can be simply because the source layer is wrong.  When using a tile server response from profiles.wprdc.org, make sure the source-layer is the same as the table name (`&amp;lt;code&amp;gt;&amp;lt;schema&amp;gt;.&amp;lt;nowiki&amp;gt;&amp;lt;table/view&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
# Look in the network pane of your browser's dev tools and ensure that the requests to the source data are working.&lt;br /&gt;
# Make sure the projections are correct.  Connect the source in a desktop GIS like QGis and see if the data is showing elsewhere. I'm fairly certain that mapbox requires the data to already be in [[wikipedia:Web_Mercator_projection|WGS 84 Web Mercator]] .&lt;br /&gt;
# If you see tile data coming in the network pane (&amp;lt;code&amp;gt;.pbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.mvt&amp;lt;/code&amp;gt;, etc.) check to see if they have any data.  If data in your target area is empty (i.e. 0 bytes), this could be a sign the projection is incorrect.&lt;/div&gt;</summary>
		<author><name>Steve</name></author>
	</entry>
</feed>