Closed pcav closed 6 years ago
This was taken from the default for the http-server npm package, but I'm open to suggestions.
Default to http://localhost:8080 ? Or another port?
On 26 Nov 2017 06:20, "Paolo Cavallini" notifications@github.com wrote:
By default the plugin points to 127.0.0.1:8080, which in a standard setting does not respond. Any special reason to to run on localhost, as other web plugins do? Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sbenten/d3MapRenderer/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AGmRUSGHCJVovtqkwokhm85pS5icF2Dbks5s6QMYgaJpZM4QqrLi .
I suggest to follow the approach of qgis2web. In fact, merging your work with this plugin would be great @tomchadwin
I did look at this back in early versions, but there were a lot of dissimilarities which could have made it problematic:
the need for a local server (Leaflet/OpenLayers can work with local files), so the preview would have to be constructed very differently
D3 didn't use EPSG CRSes, rather handing projections itself, and there seemed to be no easy way to select a D3 projection appropriate to the QGIS project
However, there are possibly ways that work could be done, if it was of interest.
OK, I see, thanks @tomchadwin for comments.
By default the plugin points to 127.0.0.1:8080, which in a standard setting does not respond. Any special reason to to run on localhost, as other web plugins do? Thanks.