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
0 votes
0 answers
43 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
21 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
55 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
53 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
67 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
37 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
  • 389
1 vote
1 answer
125 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
  • 901
0 votes
1 answer
38 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
79 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
36 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
56 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,328
2 votes
0 answers
31 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,537
2 votes
1 answer
92 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
  • 23
0 votes
0 answers
14 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
1 vote
1 answer
186 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
4 votes
1 answer
225 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
290 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
142 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
  • 161
1 vote
0 answers
137 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
15 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
95 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,254
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
221 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
428 views

Infowindow on Google Maps map is not showing

When I add an infowindow it's not showing also the rectangle anymore. let map; function initMap() { // The location of Uluru const uluru = { lat: 32.1582615544072, lng: 34.89155037133181 }; ...
BenBen Shmil's user avatar
0 votes
0 answers
356 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
156 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
205 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,094
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
121 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
219 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
170 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
187 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
87 views

HTML/JavaScript Error message when opening the web page

I work on a Linux Debian server. I downloaded the last war file v4.2.1., I succeed in deploying the war file. So the tables have been created into my PostgreSQL/PostGIS database. But when I try to ...
user35117's user avatar
  • 909
0 votes
0 answers
61 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
173 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
0 votes
0 answers
28 views

Make a loop for data visualization for specific time in HTML (webgis)

I am making a webpage showing the heatmap of wildfire. I made a GeoJSON file but can't able to load it on the web like my data is from 1884 to 2020 (daywise), it make a cluster of it. How can I make a ...
Boby's user avatar
  • 1
1 vote
0 answers
859 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
0 votes
0 answers
66 views

Use HTML input to control which GeoJSON is loaded in mapbox

I want to create a basic website using {quarto} in R to display different maps (would be open for Rmarkdown as well). However, to not load all maps into memory of the user, I want to add a menu (...
L Smeets's user avatar
  • 147
2 votes
1 answer
270 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
75 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,826
-1 votes
1 answer
397 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
301 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
  • 527
1 vote
1 answer
454 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
530 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
374 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
382 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
600 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
467 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
54 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
2 votes
1 answer
5k views

Loading of local CSV file blocked by CORS policy in Leaflet

I am using the the Leaflet Geocsv plug in to display markers with popups from a csv file. When trying to aacess the file my Chrome Browser puts out this error message: Access to XMLHttpRequest at '...
CLa's user avatar
  • 83

1
2 3 4 5
9