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 ...
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 ...
0 votes
1 answer
4k views

How to make the value showing on a Leaflet heatmap like this one?

I'm attempting to use leaftlet.js, and heatmap.js (github.com/pa7/heatmap.js/) following this example: But I want to show the value on the heat map like this crime page (with two options on: "Crime ...
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 ...
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....
6 votes
2 answers
1k views

Displaying images as part of multiattribute labels using QGIS

I would like to display images referenced in an attribute column as part of a multiattribute label, so that I can eventually print them with the map. I do not want to display geotagged images, since ...
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 ...
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 ...
2 votes
1 answer
487 views

Canvas wider than containing div (OpenLayers)

Map canvas is wider than the containing map div. Causes problems when zoom to extent etc. Using Angular Material Flex-Layout / OpenLayers 6. // css .mapContainer { height: 100%; padding: 16px; } ...
2 votes
2 answers
2k views

Leaflet JS - open popup on button click

New to JavaScript, coming from Python background. Created a custom control and have added buttons inside the _div using a for loop and innerHTML. I want to zoom to and open the popup of a layer of ...
3 votes
1 answer
661 views

Making a popup (which is a DIV containing a panel consist of textbox and a button) to float within the map DIV only

The HTML for the popup is: <div id="commentBox" class="commentBox"> <div class="panel panel-default"> <div class="panel-body"> &...
0 votes
1 answer
887 views

Function in OpenLayers 5 JavaScript does not work

I am making a weather application and it is essentially working. (It is my first GIS-application,) It is just still very basic. I made de application with PostGIS, NPM (Node.js/Parcel), GeoServer (...
0 votes
1 answer
2k views

Load Leaflet ImageOverlay with center point instead of corners

I have an image file that I am able to overlay perfectly fine onto my Leaflet map with this code: var initLat = 38.9761; var initLon = -77.4875; var imageUrl = '/weather/nexrad/radar.png'; var ...
1 vote
2 answers
1k views

Showing all features by real-time API with Leaflet Map

I want to show all URL parameters or features onto a map. I have made the variable with ajax query as well as inside the loop data is printing with variable but I want to show this data with map into ...
1 vote
1 answer
177 views

Calculating custom HTML tables by feature for AGOL popups

I am working on a project that has all of the stops in a bus system. Each stop can serve more than one route and I have broken down ridership by route in each of the columns with a total route ...
2 votes
2 answers
1k views

Joining CSV to KML/GeoJSON in Leaflet webmap and showing joined data in popups?

I'm trying to create a Leaflet/Mapbox webmap with line layer (GeoJSON or KML) with some IDs and data coming from the .csv (after joining through this ID) file located on the same path as the index....
1 vote
1 answer
959 views

Configuring custom pop-up window in ArcGIS Online using field hyperlinks?

I'm working on configuring a custom pop-up window in ArcGIS Online and have been using the "Create Link" feature to add hyperlinks to the pop-up window. I've been adding hyperlinks based on the name ...
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 ...
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 ...
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> <...
-9 votes
1 answer
7k views

Full Code for showing Shapefile or Geojson in Leaflet [closed]

I am in need of a Leaflet map to show my Shapefile or Geojson file. I need a full code for importing the shp file/.json from my pc and displaying that particular shapefile to my map as center view.
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 ...
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 ...
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 ...
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. ...
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, ...
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 ...
1 vote
0 answers
3k views

Icons that do not resize in Folium

My understanding is that Folium still does not have capability to create labels for polygons. Tooltips do not work for my use-case since I can have hundreds of small polygons and I don't want users to ...
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 ...
1 vote
2 answers
2k views

Show all data of the WMS GeoServer layer on single click at web page using OpenLayers 6 WMS GetFeatureInfo (Tile Layer)

I have a vector layer in my GeoServer, which I want to publish on the web page. When I open this layer manually from GeoServer, it shows the attribute table of the place/polygon, while clicking on ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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....
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 ...
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 ...
-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"...
2 votes
3 answers
2k views

Map tips showing only path instead of pictures in QGIS?

My map tips are not showing images and instead show only paths in QGIS.
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 ...
0 votes
0 answers
479 views

Interactive equidistant map for HAM radio application

Our local HAM Radio Club is currently using a Google Map for our rotor direction visualization software, here is an example of our app: https://linkpaste.org/visu/ Now - for obvious reasons - I want ...
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 ...
5 votes
2 answers
745 views

Use HTML legend in QGIS

I am trying to set up HTML text in a legend of this kind: <div style = 'padding: 0; margin-left: -10px; color: # 7f7f7f '> O-1 <span style =' color: black '> - Kind of zone </span> &...
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 ...
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....
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() { ....
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 ...
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 ...

1
2 3 4 5
9