11

There are many alternatives to qgis2web, including QGIS Cloud, Lizmap, ArcGIS online, Mapbox, CARTO, Google Maps, MapTiler, deegree, MapBender, and others (Github certainly used to present uploaded GeoJSON as a Leaflet map, though I am not sure whether this is still the case). Most paid services have low-usage free tiers. qgis2web has never been supported. ...


9

You should install it via Plugins --> Manage and Install Plugins and then search for qgis2web (see below). (Further details about installing external QGIS plugins can be found in the offical docs.) The plugin appears in the Web menu.


8

I'm afraid this isn't possible. Since Google data has licensing implications, I can't run the risk of including them in qgis2web. Very sorry. I would suggest that you find another source of satellite imagery - I don't have one to suggest, though.


7

I think that graduated sizes are quite a recent QGIS feature (?2.10). I've therefore not implemented them yet in qgis2web. I can have a look at it, though. In answer to your other question, no, I'm not aware that you can directly use an SLD in OpenLayers3. Others might know better. UPDATE I've committed a change to the master branch at https://github.com/...


6

The missing module is 'PyQt5.QtWebKitWidgets' which can be installed on ubuntu as part of the 'python3-pyqt5.qtwebkit' deb package. To check if it is already installed, and ensure it is available, the command is: apt-cache policy python3-pyqt5.qtwebkit Assuming it isn't installed, then it can be installed with: sudo apt install python3-pyqt5.qtwebkit @...


6

This is because the example you link to has separate layers, whereas yours is one layer, rendered with multiple styles (eg categorized, graduated, or rule-based). I'm afraid qgis2web only creates visibility checkboxes for whole layers, not for categories/ranges/rules within a layer's renderer. The workaround is to create a separate layer for each of your ...


5

Please download the current master branch of qgis2web from Github: https://github.com/tomchadwin/qgis2web In Layer > Properties > Fields (I think), select an Image edit widget for a field. Select the images you want for each feature, and then run qgis2web. Set that layer's popups to that field or all fields, and export. The images should appear in ...


5

I believe there might be one or more iframe plugins for WordPress. If so, an iframe is the simplest way to embed a map.


5

If you're using Wordpress with your own hosting, you simply put the folder created by QGIS2Web on your web server, then as suggested, you can embed an iFrame on your wordpress post that embeds the .html page with your map (from QGIS2web) If you are using a wordpress.com site, you don't have access to the back-end, so you'll have to find a place to host the ...


4

I'm afraid I don't think this is possible either with OL3's labels or with the Leaflet label plugin. I therefore don't think curved labels can be easily developed in qgis2web. They're certainly not currently possible, I'm afraid. If someone knows how to do them in either mapping lib, please let us know.


4

Change your layer's table structure and add fields to hold any further information you need. Then add this new information for each of your points. If any attribute contains any URLs, qgis2web automatically makes them into clickable links.


4

yes it is possible, like what @TomChadwin said with <img src="path/to/image.jpg" /> with a huge help from excel (using CSV file), i will explain in step: 1.Load your data with the image hyperlink Column inside 2.Make a new column where your url picture inside img tag with this formula okok Then Copy those cells and Paste with Paste Special ...


4

Instead of embedding the folder into your wordpress structure you should try to copy the relevant code snippets from the .html and .js files to an empty wordpress page. The javascript code should thereby be enclosed into script tags: <script type="text/javascript"> //Javascript goes here </script> So in the end you would probably get ...


4

Use a Wordpress iframe plugin and embed the map using an iframe. That's the easiest way. @TobsenB's approach will produce perhaps better code, but is more difficult to achieve, and can more easily result in an error if you don't quite get it right.


4

Add the following CSS somewhere (either between <style> tags in your main map HTML file within the <head>, or better in a CSS file): .leaflet-popup-content { max-width: 200px; height: 200px; overflow-y: scroll; } Not fully tested - hope it's broadly correct.


4

Yes, you are right - the layers list currently only shows the name of raster layers. Symbology and values could be added in the future, but they're not there now. To achieve what you want manually, export and then edit the exported file. You'll have to use Leaflet format, as the OL3 layer switcher doesn't support symbology. Open index.html in a text editor ...


4

The behavior of qgis2web has changed. If you don't want a field to appear in the popup, set its edit widget to Hidden. The popup field options in qgis2web now control the layout of the fields in the popup. Details are on the help tab of the plugin or the README. Full instructions are in the wiki: https://github.com/tomchadwin/qgis2web/wiki/fields,-attributes,...


4

After debugging for a number of hours (being out of practice and all), I found a simple solution: The issue is that map.forEachFeatureAtPixel loop reads features in the following order: top-most to bottom-most. Since the bottom-most feature is read last, it overwrites the popupText table with its information. My solution was to add a counter and only ...


4

Open the exported file index.html in a text editor. and find the following code: var measureControl = new L.Control.Measure({ primaryLengthUnit: 'meters', secondaryLengthUnit: 'kilometers', primaryAreaUnit: 'sqmeters', secondaryAreaUnit: 'hectares' }); Add another option as follows: var measureControl = new L.Control.Measure({ ...


4

In the CSS-Class .ol-popup there are two properties that you want to take a closer look at: min-width - controls the minimum width of your popup. Try to set it to a higher value (like 200px or 400px) overflow-y - may have one of several values, allthough scroll should produce a scroll bar.


4

There is no fix yet, but the suggested workaround for now is to disable the declutter function by editing the output file layers/layers.js, and removing all occurences of the following line: declutter: true, as outlined by Tom Chadwin here Thanks @TomChadwin!


4

This is probably because your layers use multipart geometry. I'm afraid it's a limitation of the labelling techniques available in the webmapping libraries to which qgis2web exports that mean there is no solution for this yet. The workaround is a hack. Turn off labelling on your layer. Add another point layer to your project, and style it with transparent ...


4

Geolocation is done by Leaflet.Locate (https://github.com/domoritz/leaflet-locatecontrol). Its readme gives options to change its behaviour. Open index.html in a text editor, and change the code according to the FAQ on that readme: map.addControl(L.control.locate({ locateOptions: { maxZoom: 10 }}));


4

Your question has already been asked here before. Nevertheless: There is a 'position' option in several elements in Leaflet like L.control to specify where in the map the element should appear. Look in your index.html where the L.control.layers is defined and add {position: 'topleft'} For example: L.control.layers(layers, basemaps, {position: 'topleft'...


4

If qgis2web has inline labels or header labels specified for popup fields then the resulting web map will display a the field label and a blank space for the null value. To fix this you will have to edit the qgis2web.js file This is for an OpenLayers based web map. Starting near line 311 (your line may be different) change the entire if statement to look ...


4

Problem comes from different nature of point and polygon representation. Polygon is represented by itself and when you set interactive option for polygon to false, it becomes noninteractive. Point is represented by marker and when you set interactive option for point to false, attached default marker stays interactive. You have to use pointToLayer option ...


4

To open the view at those coordinates at zoom 10 use view: new ol.View({ maxZoom: 18, minZoom: 4, center: ol.proj.fromLonLat([-74.006998, 40.722120]), zoom: 10 }) EPSG:3857 is the OpenLayers default projection so need not be specified. You must convert Lon/Lat values to view projection coordinates (methods beginning OpenLayers. were used ...


4

As the error tells you, you are trying to initialize map twice. Remove your second initialization var map = new L.Map('map', { fullscreenControl: true, fullscreenControlOptions: { position: 'topleft' } }); and modify original map initialization with Lefalet.fullscreen plugin options: var map = L.map('map', { zoomControl: true, maxZoom: 18, ...


4

This happens because qgis2web interprets QGIS "Attachment" fields as images. If you make the fields text, rather than attachments, it will try to recognize hyperlinks and make them clickable. One thing I've run into, though, is that links to file:// addresses often fail in browsers these days, so even if the above works - in other words, it produces the ...


4

I got it In your file, your forgot a trailing coma. Your code { "type": "Feature", "properties": { "Source": "Kerry Sentinel 1878-1916, Wednesday, December 13, 1916; Page: 3 ", "Unit no.": "none ", "Function": "woodwork sub-depot (men's section) ", "Work party \/ ...


Only top voted, non community-wiki answers of a minimum length are eligible