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
0answers
8 views

Loading google maps API from php file [closed]

I've been trying to load some GeoJSON data into a map, using Google Maps API. When I save my file as .html the map shows up just fine, and it shows the data I want to see (a Linestring). I'm using ...
0
votes
0answers
17 views

static external HTML table renders smaller than expected in QGIS

A colleague gave me a QGIS layout including a static html frame. The HTML is exported from MS Word (don't ask). It contains of a table (with shading), and some lines of text outside of the table. It ...
1
vote
1answer
25 views

Button on click does not display pie charts

I am trying to display a pie chart on the click of a button using JavaScript/HTML. The pie chart displays fine without button click. But it doesn't work with the button. I have tried the following: &...
1
vote
1answer
41 views

Get MapBox Marker Coordinates Dynamically

I am new to MapBox and this may be a very simple solution, what I am trying to Achieve is to get the Coordinates of the marker which pops up when I search for Any Address/Location in the Search box. ...
0
votes
1answer
28 views

Displaying Feature Layer Field Values on webpage without Map using ArcGIS API for JavaScript

I am just learning JavaScript for this mini-project. I am looking to display the field values from a service feature layer on a web page using HTML and JS without loading a map and without any input ...
2
votes
0answers
37 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
1answer
47 views

GeoServer does not display/preview pgRouting Layer

I am developing a routing application using GeoServer, PostgreSQL, HTML and JavaScript. To display the routing layer on the HTML webpage, I followed the instructions from this workshop. GeoServer does ...
1
vote
1answer
71 views

Add halo to label in QGIS print composer with a specific font (using HTML)

I am using HTML code to buffer a label in QGIS Print Composer, as described in Question 84324. Sadly, this code also changes the font and I can´t change it back using the font size dialog. I´m not ...
1
vote
0answers
12 views

OBJ file not loading in GIScene.js

I am trying to load a OBJ file in GIScene.js. Unfortunately, the OBJ file is not getting visualized inside scene of GIScene.js, even though the scene of GIScene.js is getting visualized. There are no ...
1
vote
1answer
45 views

How to turn a 3d model made in Qgis2threejs into a shareable file

I have made a 3d model using Qgis2threejs, I can open the viewer in my browser and it works fine. I want to be able to provide someone with a link to the viewer, rather than have to send them an html ...
0
votes
1answer
43 views

Visualize GPS Geolocation data over time

I have GPS coordinates along with timestamp, and I am looking for a library that will allow me to visualize this data over time. Similar to how you would visualize a GPS journey on a map using Python. ...
1
vote
1answer
85 views

Unable to load .glb (GLTF) in a scene of GIScene.js

I would like to load a .glb file, which is the binary format of GLTF in a scene of GIScene.js (https://giscience.github.io/GIScene.js/). <html> <head> <meta charset="UTF-8&...
1
vote
1answer
30 views

Carto: Can I use some “if/then/else” structure in popup custom HTML?

I believe I am asking a question similar to this question that was asked a few years ago about popup functionality in the old CartoDB. I just tried my best to replicate the solution to that question ...
0
votes
0answers
21 views

Select attribute from a layer

I'm trying to show an array of selected field values in HTML in the map composer. So far, this works but only for a specific value1 : [% array_to_string( array( attribute(get_feature('layer', '...
8
votes
2answers
241 views

Clickable label (HTML, Link) in PDF export (QGIS)

I need to export a (GEO)PDF - overview map with bounding boxes - with clickable links in every bounding box. I tried to simply export a PDF with html-links as text labels, but as you can see in the ...
1
vote
1answer
36 views

MapServer HTML Template doesn't display map/image

I'm using ms4w and working on my local machine and want to build a map like in the MapServer Example 1.9 (https://mapserver.org/tutorial/section1.html). Unfortunately the HTML template doens't ...
0
votes
0answers
13 views

How can I add my map to my personal blog?

I have been able to deploy the map on the web, so I can access the html file and all the javascript together, but can I put it on my personal website? My blog has been deployed using Ruby on Rails
1
vote
1answer
49 views

Combine D3 node and HTML

I followed this example of putting a d3 graph in a leaflet popup. The code returns with div.node(). What exactly is a node? I would like the Leaflet Popup To display this custom HTML, and then have ...
0
votes
1answer
31 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 ...
1
vote
1answer
56 views

Adding popup data that is updated through an API using leafletjs

I'm quite new to leaflet js and I wanted to make a map where when clicked on a particular state, it will give me the latest information, for example, the population of a state that is taken using an ...
0
votes
0answers
265 views

GPX track not show in Leaflet map

I would like to display a map featuring both a marker and a track, the latter loaded from a GPX file on my local machine. I have been trying to use the leaflet-gpx plugin but since I am totally new ...
0
votes
0answers
24 views

Problem loading image in HTML Pop up in ArcGIS

I am trying to load a small image along with other field in Html pop up but i am getting some problem. I tried using field calculator with Python code "<img src=%s width='300' />" % r'!Location!'...
0
votes
0answers
31 views

Getting the sum of features for points inside a polygon in Mapbox

I am new to Mapbox and am currently stuck with a problem. After generating an Isochrone polygon, I wanted to find all the points and the total population associated that fall in that polygon. Turf ...
3
votes
0answers
32 views

Creating an HTML-style label item in the layout that links to an anchor in the page

Initial research tells me this might not be possible, but let's try it anyway. In a Layout, I'd like to have an HTML-rendered label near the top of page 1 like: <a href="#table">Jump to table&...
8
votes
1answer
227 views

Font size in HTML in QGIS' print composer only starts to change at 6

<font size ="10">font size 10</font></br> <font size ="9">font size 9</font></br> <font size ="8">font size 8</font></br> <font size ="7">...
1
vote
1answer
88 views

Leaflet clean checkbox in control layers

I want to remove a layer from the map and uncheck its control layer checkbox. According to the code bellow the layer is removed from the map, however its checkbox remain checked in control layers. Any ...
0
votes
0answers
35 views

MapServer HTML legend

I am trying to build an HTML legend for my web application but I am having an issue with the tag [leg_icon] not being recognized. Seems like MapServer is not substituting any URL for this tag. Other ...
1
vote
1answer
40 views

Showing selected entities on a Leaflet map from onclick action within a <div> [closed]

I have displayed a layer of points using Leaflet. Here is my script embedded in the HTML code : var map = L.map('map', { center: [45.7604276, 4.8335709], zoom: 13 ...
1
vote
1answer
151 views

Showing users current location with Leaflet [closed]

I am currently trying to show the users current location like the way google maps shows you as a blue dot when you are viewing it. I have got this code from a similar enough question however I keep ...
0
votes
1answer
218 views

Leaflet markers on click go to URL

Hello I've made this code for a static one image map with markers. I have to make it so each marker sends you to a specific URL for navigation. Can anyone please help me on how I would be able to do ...
0
votes
0answers
42 views

Web-scraping and extraction of data from a website using R

I want to use the web scraping technique in R to dynamically extract weather-related information from the following website: http://www.inmet.gov.br/portal/index.php?r=estacoes/estacoesAutomaticas ...
4
votes
1answer
308 views

Widget html QGIS

I am creating a mask in QGIS through the html widgwet , which, based on the value of an expression, creates or not circles. I created my css structure but I cannot integrate the question (the ...
4
votes
1answer
206 views

Display photo stored as blob in GPKG

I maintain a layer in my project that indexes geotagged research photos. Right now, the layer (in a gpkg) has an attribute PhotoPath which points to the photos stored separately on disk. I then use a ...
2
votes
1answer
199 views

Integrate sidebar with Python generated Leaflet map?

I have this map: link It was generated through Python code, not via JS directly. I want to add the Leaflet sidebar plugin within it, but it doesn't seem to work. As you can see in the github repo ...
2
votes
0answers
43 views

Why is my eventlistener not listening to some tiles of the map? [closed]

I have a Leaflet map on a page that I developed as part of a school assignment. The ID of the map element is mapid. I have added mouse listeners to mapid. When I enter the area of mapid on my page, ...
2
votes
1answer
33 views

Maptip containing an expression combining a CASE WHEN-clause and a hyperlink consisting partly of value from table column

I am using maptips in QGIS 3.4, but the below expression won't work. What I am trying to do is to use a CASE WHEN-clause in combination with a HREF from a webserver where the last part of the URL ...
1
vote
1answer
160 views

Inconsistent display of HTML table font size in QGIS layouts

I'm using QGIS 3.10.1, and am having trouble with getting HTML tables to render correctly in a layout. I generated the HTML table using the "TABLEIZER!" online tool, and just pasted the results into ...
2
votes
1answer
97 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
0answers
33 views

Creating a custom chart widget in web app builder

I am new to web app builder, I want to create a custom chart widget using data from a rest url. I tried using dijit/chart but was not able to get the results. Can some please post a sample to make ...
1
vote
1answer
36 views

How to use ArcGIS Server JavaScript API inside a <form> tag?

I need to embed an ArcGIS Server JavaScript API (version 4) map in a client's Content Management System. For reasons unknown to me, the CMS developers said this results in the map's entire DOM being ...
1
vote
1answer
26 views

GPX visualiser using JavaScript [closed]

I'm trying to write an HTML page where the user can upload a GPX file and it is then converted into a series of points on a map, using OpenStreetMap. What is the best way to do this? (Using JavaScript)...
3
votes
1answer
45 views

Reference HTML hyperlink with a field using maptips

I'm attempting to make QGIS maptips display a hyperlink as the text from another field in the attribute table. Below are 3 attempts of HTML and the different results. When "title documents" is not ...
1
vote
0answers
32 views

ArcGIS Online HTML popup: Why does the code for the table background colors keep getting removed?

I have the following code as my popup <table style= "background-color:#E1E1E1"> <tbody> <tr><td colspan="2" style= "background-color:#3C4859"> <b> <font color = "#...
2
votes
0answers
42 views

How to extract GeoJSON database column as geometry layer? (column as layer)

Have a one table of country with multiple categories for states. Table as below: Country table:(converted shapefile to GeoJSON for use in Leaflet choropleth map) So kind of table converted from ...
1
vote
2answers
667 views

Dynamic map sidebar with info from marker upon click

I am new to Leaflet, HTML, CSS and Java. I am using leaflets maps and I want to create a sidebar that is active when a marker is clicked or active when a clicked in the sidebar, so far I have had no ...
0
votes
1answer
90 views

How do I adapt existing responsive web site to display Leaflet maps?

My website works well on different devices but it seems that only works with images, although I would like to show other media, like Leaflet maps and videos. Just about all pages are laid out on a ...
4
votes
0answers
52 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
1answer
104 views

ArcGIS Online Dashboard: Embed URL Using Rich Text

Is it possible to embed a URL using "Rich Text" in ArcGIS Online Dashboards? I want to have the text say "PLANNING AND ZONING DEPARTMENT" , and embed the URL so users can directly access the city's ...
2
votes
2answers
696 views

Loading .json files into Leaflet and filtering them [closed]

I am new to web development and Leaflet/GIS in general. I have a couple of shapefles, let's say they are roads.shp and utilities.shp. And let's say I have the means to convert these shape files into ....
2
votes
1answer
70 views

GeoServer getfeatureinfo replaces HTTP href link in attribute value. Why?

We are using GeoServer (version 2.12.1) to deliver a rich HTML-attribute on the getfeatureinfo request. This allows us to add a table when the format requested is in HTML. This will of course not look ...

1
2 3 4 5
7