8

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.


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/...


7

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.


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 @...


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

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

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 ...


5

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

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

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

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

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

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

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

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 ...


3

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.


3

The top item you highlight is a layer. The bottom one is a group. I don't believe layer grouping works very well yet in qgis2web. Popups on hover should work in non-grouped layers, though.


3

Ah, this looks like an encoding error. I need to patch the plugin to replace str() with unicode(). I'm away for two weeks, so for the moment, change leafletWriter.py line 203 from: if str(field) == "icon_exp": to: if unicode(field) == "icon_exp": Do the same with any similar errors. And if it works, please do create a pull request on Github. Edit: it's ...


3

Do the same in the console, but add qgis2web/ before each param name, eg: QSettings().remove("qgis2web/Extent") QSettings().remove("qgis2web/Base layer") QSettings().remove("qgis2web/Template") Since that error was caused by Precision, also try: QSettings().remove("qgis2web/Precision")


3

I was having some trouble and reducing the image size helped. What I did was: 1. Set the image colors the way you want (pallet, histogram stretch etc) 2. Export the image using the "Save as..." option when you right click 3. Change the output mode of the saved image to 'Rendered image'. That will create a 3 band, 8 bit image. I also clipped the image extent ...


3

I've never seen that error, and am sure that you are right that it relates to the complexity or size of your layers consuming a large amount of memory. The plugin is slow to start up because it immediately builds a preview. You can comment this out. In the plugin file maindialog.py, at about line 56, place a # at the beginning of the line self.previewMap(). ...


3

The original error caused by qgis2web being unable to identify a geometry type could not be reproduced. The subsequent error occurred because nothing was selected in the Template drop-down. Selecting "basic" got rid of the error. However, dropdowns should not be blank when you load the plugin - something seems to have gone wrong with persisting the dialog ...


3

I didn't investigate all, but changing scripts loading order is already better: something is now visible. I just replaced <script src="./resources/ol.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js"></script> with <script src="http://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js"&...


3

Customising the display and behaviour of the ol3 layer switcher control isn't currently supported directly in QGIS2Web. Once the map is exported you should be able to modify the code in layers.js so that radio buttons are displayed for your 3 layers. You need to add a type property to each of the 3 layer's properties object which a value of 'base'. This ...


3

This wordpress plugin makes it easy to insert an iframe into a post https://wordpress.org/plugins/iframe/ (there are several others). The syntax once you have installed the plugin and activated it is: [iframe src="http://www.yoursite.com/webmaps/yourmap" width="100%" height="500"] It worked perfectly for me


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