You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[I am unable to include a reprex since the issue relies on a locally self-hosted vector map tile server, pg_tileserv]
I have a self-hosted pg_tileservvector map tile server on our network, with a local address (192.168.1.88:7808).
I am able to display a map it serves into a leaflet HTML file:
var map = L.map('map').setView([40.758896,-73.985130],11);
// Add the vector tile layer to the map from my server
var vectorServer = "http://192.168.1.88:7808/";
var vectorLayerId = "ara.prk";
var vectorUrl = vectorServer + vectorLayerId + "/{z}/{x}/{y}.pbf";
//...
var vectorLayer = L.vectorGrid.protobuf(vectorUrl,vectorTileOptions).addTo(map);
Of course, I am also able to display all maps it serves using the interface provided by pg_tileserv.
However, I am unable display the map using leaflet. Here is the code I am using:
Hi,
[I am unable to include a reprex since the issue relies on a locally self-hosted vector map tile server,
pg_tileserv
]pg_tileserv
vector map tile server on our network, with a local address (192.168.1.88:7808
).pg_tileserv
.leaflet
. Here is the code I am using:The code yields an empty page.
What am I doing wrong?
S.
The text was updated successfully, but these errors were encountered: