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
2 votes
1 answer
78 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
43 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
128 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
  • 343
0 votes
0 answers
38 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
30 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
60 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
27 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
65 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
84 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
1 vote
0 answers
149 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
0 votes
1 answer
51 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
  • 401
1 vote
1 answer
159 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
45 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
0 votes
1 answer
164 views

How to display in QGIS Map Tips an image with absolute path written in the layer? [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
74 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
103 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,525
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,714
2 votes
1 answer
105 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
0 votes
0 answers
15 views

Intersect Area service with points

I'm making a map viewer for my university final work but I have no clue of coding. I've been following the ESRI Dashboard tutorials and I've arrived to the code as I have it now. I have two buttons, ...
Stukero's user avatar
2 votes
1 answer
271 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
  • 147
4 votes
1 answer
294 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
  • 217
1 vote
0 answers
425 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
176 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
  • 171
1 vote
0 answers
194 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
0 votes
0 answers
19 views

Splitting data column into multiple columns

I have a table of tsunami data that I imported from NOAA, but the problem is that they are not sorted by severity at all--there is instead a catch-all "description" box that has everything ...
socrutes's user avatar
0 votes
0 answers
109 views

QGIS Forms: control heigh of HTML Widget

When using the HTML Widget in QGIS forms, I find it to be a powerful tool that opens up a lot of possibilities. However, I am facing a problem that requires a solution. Despite my HTML code consisting ...
MartinMap's user avatar
  • 8,284
0 votes
0 answers
13 views

How To Iterate Over Features, Create GeoJSON Object, And Download Stringified GeoJSON [duplicate]

I have a bit of confusion regarding my previous post (Convert HMTL Maps to GeoJSON/JSON data) I'm here to ask how to iterate and download geojson from it. HTML code is as follows : https://pastebin....
Asolole1123's user avatar
1 vote
1 answer
278 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
521 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
223 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
229 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
146 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
264 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
197 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
239 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
65 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
188 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
334 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
83 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
450 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
354 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
  • 547
1 vote
1 answer
509 views

Adding custom labels to Leaflet map

I'm trying to add custom labels in a leaflet map I built for my company. The legend code is based off of the tutorial for a choropleth map. So far it looks like this. The code I have for the legend ...
Stephen Laphen's user avatar
2 votes
1 answer
583 views

Trying to switch information from popup to sidebar

How can I move the information from a popup to a sidebar? On the cluster click I don't want a popup to show up, instead I want the information to be shown in a sidebar. With the polygon layer I could ...
Nicola's user avatar
  • 83
0 votes
1 answer
401 views

Map Disappearing on HTML page when Sizing is changed from pixels (px) to percentages (%)

I am trying to allow this map to be resized via screen size (Mobile, Tablet, Chrome (Half Screen, Full Screen, etc.) so I know I can't set a specific pixel amount. However, when I do set a percentage ...
MNorton91's user avatar
0 votes
1 answer
417 views

Leaflet: fetch GeoJSON data while using markercluster plugin

I am trying to make a Leaflet map with the markercluster plugin and to fetch data from its related json file. The goal is to display various properties of my points elsewhere on the page when clicking ...
GMR's user avatar
  • 11
1 vote
1 answer
665 views

Leaflet toggle marker clustering with overlay

I am using the Leaflet markercluster plug in, and now want to add a button to turn the clustering on/off. For that I wanted to use the leaflet button plug in, because I am already using it in my code. ...
CLa's user avatar
  • 83
0 votes
1 answer
587 views

Leaflet toggle marker clustering

I am using the Leaflet markercluster plug in, and now want to add a button to turn the clustering on/off. For that I wanted to use the leaflet button plug in, because I am already using it in my code. ...
CLa's user avatar
  • 83
1 vote
1 answer
55 views

Leaflet GeoCSV popups are not being displayed

I am using the Leaflet GeoCSV plug in to try and add markers with popups to my map. With the help of this post, I have been able to add the markers to the map, but I still want to add a popup to the ...
CLa's user avatar
  • 83

1
2 3 4 5
9