Skip to main content

Questions tagged [html]

Hypertext Markup Language (HTML) is the principle markup language for displaying web pages and other information that can be displayed in a web browser

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 views

Pop-up message or sound notification in QField app?

I would like to add a notification to our QField app. We have a route tracking layer (MultiLine with a real-time distance column) and a measurement (Point) layer. While route tracking, we need to take ...
Pompoensoep's user avatar
0 votes
0 answers
34 views

Display option not working in QGIS

I wanted to use the Display option for points. I have activated it in View; I aspected a default display but nothing happened overing the points. Then, in Property - Display fields I change the ...
Giovanni Talpone's user avatar
1 vote
0 answers
31 views

Leaflet Mini Map Not Displaying with Esri Basemaps [closed]

I am trying to add a mini map to my Leaflet map that uses Esri basemaps. However, the mini map is not displaying correctly. I have included the necessary libraries and followed the setup instructions, ...
Rony Golder's user avatar
0 votes
0 answers
28 views

QGIS: Using HTML "other widget" in feature attribute form - white space below text

I am currently creating a QGIS template with a standardised feature attribute form upon feature creation. It would be very useful to have text explainers on some of the tabs I've created, I can use ...
Rob Askew's user avatar
0 votes
0 answers
35 views

Uncaught TypeError when adding OpenLayers Measure tool to App

I am trying to add the Measure tool from Examples to my map application and keep getting the following error. Uncaught TypeError: Cannot read properties of undefined (reading 'getLayers') at ...
gwydion93's user avatar
  • 1,913
0 votes
0 answers
45 views

Using HTML legend in QGIS - need clarity [duplicate]

Apparently, there is a new tool for using HTML rendering in QGIS print layout, legend. It has been specified here: https://qgis.org/en/site/forusers/visualchangelog330/#print-layouts under Feature: ...
Lana's user avatar
  • 1
2 votes
0 answers
42 views

GeoServer-OGC API Features - HTML Templates

I'm using GeoServer 2.25 in combination with the corresponding OGC API module. The HTML view of the resource Features (/collections/{collectionId}/items) is controlled by the FreeMarker template named ...
radp's user avatar
  • 31
0 votes
0 answers
26 views

Custom Draggable legend not working on Fullscreen Folium Plugin

The code below for adding a draggable legend is taken from: How can I add a legend to a folium map? On adding the Fullscreen folium plugin, with fullscreen mode the draggable legend is hidden ...
Ceraunophile's user avatar
0 votes
1 answer
67 views

Show designed map tips instead of the default pop-ups in qgis2web

I continue designing my customized interactive map using the latest version of qgis2web plug in. In this location, I want to display in the exported qgis2web map the map tips I designed with html in ...
DorExplor's user avatar
0 votes
0 answers
27 views

Show Pop-ups and Highlight on Hover in Qgis2web when organizing layers into groups

I have exported a web map in Open Layers using the last version of Qgis2web and I have modified the layers.js in order to grouped the layers: var layersList = [ new ol.layer.Group({ title: '...
DorExplor's user avatar
0 votes
0 answers
35 views

HTML entities in an ArcGIS web appbuilder chart widget

I’m working on an ArcGIS web appbuilder page that displays a donut/pie chart. Some of the categories contain the character < which is rendered as &lt; in the labels but as < in the tooltips: ...
Manu's user avatar
  • 111
2 votes
1 answer
179 views

Creating map tip with pictures stored in relative path

I have created a QGIS 3.34 project in this directory: "C:/MyProject". Alongside with the QGIS project file there is a folder containing some georeferenced pictures I want to show on my QGIS ...
user9867's user avatar
  • 129
1 vote
0 answers
52 views

Generating an HTML list of descendants with Python

I'm currently working on a GIS project for the alternate history novel. As my point of divergence is sometime around 10 BCE, the languages are different so I am editing an ISO code table to account ...
Cole Wintringham's user avatar
0 votes
0 answers
512 views

How to display PBF tiles on MapLibre GL JS

I am new to MapLibre, I used to work a lot with Leaflet. I am trying to display PBF vector tiles generated from QGIS, which I cannot display with Leaflet (I have errors trying to use Leaflet....
Arkeen's user avatar
  • 363
0 votes
0 answers
42 views

PopUp not showing

I'm trying to show some attributes by popup, following a YT video, but cant seem to get it working. Please help me understand what am doing wrong..(features stored in geoserver) The code is Index.html ...
SaFaL's user avatar
  • 19
0 votes
0 answers
48 views

QGIS - Alignment HTML-Labels

I want to label areas in an atlas. In my case, these should represent the district, municipality, cadastral area, and plot (in italics). Since the plot should be displayed in italics, I'm using HTML ...
Martin's user avatar
  • 23
0 votes
0 answers
91 views

Elevation Profile with labels on waypoints using QGIS, Map Atlas, Python, Highcharts and HTML

I am seeking assistance with @Christoph's very clever answer / suggested solution to Elevation Profile with labels on waypoints using PyQGIS on how to show labels in a QGIS Highcharts elevation ...
dawrightau's user avatar
1 vote
0 answers
35 views

HTML/Expression Builder for Dynamic Labels

Working in QGIS 3.28.2 My goal is to make a GIF that shows the routes of protests/marches that either begin/end in Malcolm X Park according to date. I have a layer ("Protests") that has two ...
Rami Stucky's user avatar
4 votes
1 answer
77 views

Updating pre-3.32 HTML code in label boxes

Since QGIS 3.32, HTML formatting in composer text boxes works differently and code snippets like this example that used to display a linear gradient no longer work : <html> <head> <...
ChameleonScales's user avatar
1 vote
0 answers
163 views

QGIS How to display PDF saved as BLOB

I have a file where locations have photos and PDF attachments stored as BLOBs. Using the HTML widget, I have gotten it to show the photos as per a previous answer on this forum. I'm not sure how to do ...
Leo Wang's user avatar
2 votes
0 answers
294 views

Integrating Leaflet map within a Grafana Panel?

I am searching for hints on how to embed or implement a simple Leaflet map in a Grafana text panel (9.4.3 - html format), as there is no layer switch in Geomaps plug-in. I have tried two things: I ...
Per Nett's user avatar
-1 votes
1 answer
76 views

Add a bar for coordinates zoom-in using QGIS 3.28 and Qgis2Web plugin

I am using QGIS 3.28.11. I have crated a simple web map using QGIS plugin called - Qgis2Web. I want to modify the HTML file to include a search bar for zooming in by coordinates. The CRS of the ...
YuvalM's user avatar
  • 399
1 vote
1 answer
194 views

Display selected category from dropdown menu in sidebar in ArcGIS SDK JavaScript app?

I'd like to display the {Description} field content of a feature layer in the sidebar div of my application. One way I believe it can be done is by using a click event and the selectedIndex property. ...
Pfalbaum's user avatar
  • 911
0 votes
1 answer
49 views

QGIS 3.32 - Composer - display pdf image and export as vector

I need to display a complex vector image in the composer. QGIS doesn't display svg files correctly that way, is there a way to import a pdf via html, and export it as a "true" vector image, ...
On the road to Faraya's user avatar
-1 votes
1 answer
278 views

Displaying image with absolute path written in layer for QGIS Map Tips [duplicate]

I am trying to display the images of a layer with the "map tip" function. The absolute path of each picture (D:\ ... \ ...\...jpg) is written in a field called "path". I tried to ...
AbeteBianco's user avatar
0 votes
0 answers
117 views

Preparing Mobile Map Package (.mmpk) Popups for Mobile Application

I'm working on creating a new layer for a mobile application built by one of our vendors. The application uses mobile map packages (.mmpk) for each layer. I noticed the application's file system is ...
Fire GIS Guy's user avatar
3 votes
0 answers
126 views

Position text in lower right corner of a HTML label in Layout

I have a problem with QGIS 3.32.x, where I cannot vertically align HTML labels in Layouts anymore. The following HTML is perfectly aligned in QGIS 3.30, but refuses to align in QGIS 3.32.x: <div ...
christoph's user avatar
  • 5,857
2 votes
0 answers
32 views

QGIS form with live shapes based on attributes

I have a form with some sliders that set attributes (used to create a shape, a tree canopy). I would like to be able to show a preview of the shape. A rough section of code is shown below which draws ...
Sethinacan's user avatar
  • 1,726
2 votes
1 answer
141 views

Extracting values from HTML file into the QGIS Graphic Modeler

I've built a little model which does a simple linear regression between values of a point layer and a raster. The model works fine, but I cannot find a way to extract the regression coefficients (a ...
farmgis's user avatar
  • 45
2 votes
1 answer
452 views

Styling line using attribute from GeoJSON object in Leaflet?

I have a problem styling my lines using the exported attribute from QGIS from within Open Studio Code. I have attached screenshots to help better understand the problem. My popup is able to take ...
Gregory C's user avatar
  • 413
4 votes
1 answer
394 views

Creating a hyperlink in QGIS doesn't work

I have a text in an attribute table that contains a file path. I want a hyperlink to be displayed in the information about the object - in blue, underlined - as I saw in this tutorial: https://www....
Shinobido's user avatar
  • 317
1 vote
0 answers
679 views

Exporting QGIS Layout to Webmap

I am testing setting up QGIS dashboards. According to https://www.linkedin.com/advice/0/what-some-tips-tricks-create-interactive-qgis-dashboards you can export a QGIS dashboard as html via the layout ...
Joshua J Geoghegan's user avatar
6 votes
2 answers
223 views

Set the background of a label such that it fits to a wrapped line in QGIS

In QGIS, is there a way to change the background setting on a label such that the background "fits" to the text. Here, there is a lot of white space after the second line that I don't want ...
Kat's user avatar
  • 181
1 vote
0 answers
288 views

Add functionality to Leaflet Map (Search, Add on Client Select) [closed]

I've tried so many ways to do it but is there a way to do this or not? I would like to have it so that the user can search on the page (doesn't have to be a control in Leaflet) for a building with ...
mmaguigan's user avatar
1 vote
1 answer
349 views

Convert HMTL Maps to GeoJSON/JSON data

I have an HTML file here, but I don't know how to extract the coordinate data into a GeoJSON or shapefile. Is there a quick way to get it? Link : https://codeshare.io/DZEwnO ... function myMap() { ....
Asolole1123's user avatar
0 votes
0 answers
640 views

How to add GeoJSON file to Leaflet map

I am new to JavaScript, HTML, and Leaflet. I would like to add a polygon to my Leaflet map. Here is where I store the file. I want to use this file and don't want to add thousands of coordinates to my ...
excel_zm's user avatar
0 votes
1 answer
305 views

ArcGIS Online create button or lookalike "button" in a popup

In ArcGIS Pro I can create a button that shows in a popup, but as soon as I publish the layer to AGOL the button doesn't show. Is there a way to create a button that will show in AGOL webapp when I ...
esset's user avatar
  • 334
5 votes
1 answer
253 views

How to word-wrap HTML in Mergin Input?

This is a follow-up to a question that I previously asked regarding QGIS map tips in Mergin. Based on that answer, I am trying to display a text field (location_description) in the Mergin input ...
Stu Smith's user avatar
  • 8,192
0 votes
0 answers
28 views

Popup with multiple information different tabs [duplicate]

I have a lot of information that I want to show on a Leaflet Popup. In my case I have a GeoJSON file with different points. However in my case one point represent the same location, but it was ...
Bárbara Duarte's user avatar
1 vote
0 answers
193 views

Is there a standardized platform agnostic URL scheme to encode a geolocation?

Are there platform-agnostic URL Schemes like the geo URI scheme (https://en.wikipedia.org/wiki/Geo_URI_scheme) that are supported across all the major OSs and browsers? PS: I came across the geo URI ...
txtr's user avatar
  • 11
0 votes
0 answers
308 views

JavaScript fetch function fails to get .txt file

I'm creating a web page with a Leaflet map, and when clicking on a certain marker on the map, information about the location appears in a div beside it. I can update this information directly in the ...
themadmassa's user avatar
0 votes
1 answer
223 views

Only display OpenLayers map on event

I have an OpenLayers map that I only want to show when I click a button. Initially it should be hidden. The following code works but requires me to press F12, presumably to re-render the map after ...
Paul Butler's user avatar
1 vote
0 answers
320 views

ArcGIS Pro Pop-ups: How do I show all attributes in rows of a single table?

I have a pop-up configured to display a set of results for a selected location. Using Arcade expressions and HTML, I get a pop-up that looks like this: I need to show all of the rows for each Z range ...
mountainscaler's user avatar
0 votes
0 answers
68 views

HTML file not generated on my computer after publishing the map with qgis2web

I have exported a map using qgis2web plug-in in QGIS 3.16.12, but it does not generate the HTML file on my computer, although the option "Export to a folder" is active. How can I fix this?
Olivia's user avatar
  • 1
2 votes
2 answers
215 views

KeyErrors in Python script

I'm using a script in the QGIS python console to extract an HTML attributes code in KMLs files that convert to JSON, but for some of them, I get a KeyErrors. This is the script that I used: https://...
AYOUB's user avatar
  • 45
1 vote
0 answers
1k views

Display Points on Leaflet Map

I'm attempting to add data from a CSV file to a Leaflet map but the points taken from the file aren't populating on the map. I'm using the code below to parse the CSV file and create markers from the ...
Chad Leftwich's user avatar
2 votes
1 answer
474 views

HTML frame - image source- QGIS

In my shapefile, a field name is "photo", which has list of photos, the photos and my shapefile and project file are located in same folder. I would like to prepare atlas, I tried different ...
Iyappan Lakshmanan's user avatar
0 votes
2 answers
105 views

How do I prevent MMQGIS from escaping the carriage returns inside my fields?

I style my maps inside qgis then export them to KML using the mmqgis tool to be viewed on Google Earth. When I do this, I use MMQGIS's "Custom HTML" option for styling the display of fields ...
boulder_ruby's user avatar
  • 1,824
-1 votes
1 answer
537 views

Calling function in linked JavaScript file on click - Leaflet Maps

I have a simple button which upon click will display a simple message HTML code is as follows <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"...
Vikas Kunduru's user avatar
0 votes
1 answer
447 views

QGIS split HTML code table into different fields

I'm using QGIS. I have a KMZ file, which I have converted to a GPKG layer, with a column containing HTML code. That HTML encodes additional fields as lines in a table. I would like to extract those ...
tonyduky's user avatar
  • 567

1
2 3 4 5
10