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
1answer
21 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
72 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
30 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"> <input type="text" value="" id="...
0
votes
0answers
21 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
32 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
17 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
30 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
15 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
34 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
172 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
55 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
43 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
52 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
234 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
61 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
vote
0answers
48 views

Correctly formating Leaflet popups

I'm working on a Leaflet map, currently adding content to my popups. In .bindPopup ([" "]) is there any way to format a paragraph of writing on the backend into multiple lines of code within those ...
0
votes
0answers
23 views

Attribute query OpenLayers server

As part of the MapServer polygons (district boundaries) are shown on the OpenLayers map. The script is in JavaScript. The polygons contain attributes. Currently, a second window opens with the ...
2
votes
1answer
675 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 ...
0
votes
0answers
57 views

Conditional Formatting in Operations Dashboard on ArcGIS online

I am trying to create a list object on an operations dashboard on ArcGIS Online that shows tasks (From multiple different fields) that are completed today. I have set up a filter to look at the date ...
0
votes
0answers
56 views

In QGIS Layout Manager, padding inside html table not working?

For a HTML field in the QGIS Layout Manager I have in the "Source" field a table like: <table> <tr> <td>1</td> <td>2</td> </tr> <tr> &...
1
vote
1answer
95 views

Adding HTML code into ArcGIS Desktop?

I'm trying to find a way to add API layers from this HTML code into the MXD file of ArcGIS Desktop 10.3. The HTML file located in my pc: G:\desktop\y\html <html xmlns="http://www.w3.org/1999/...
0
votes
2answers
113 views

Adding a table and styling it in arcgis online pop up

I am researching adding a table and styling the table in a popup in arcgis online. Could someone provide me a html, css, and javascript examples? I am fairly new at these languages, but I am hoping ...
1
vote
0answers
94 views

Animation with time + category interactive filter not working in CARTO VL

I am new to this CARTO VL tool and I am currently facing an issue that I can't fix by reading your Git repos or online help. I have prepared two separate visualizations (one of them has a filter by ...
4
votes
1answer
89 views

Dollar signs in QGIS map tip URLs?

I am linking from QGIS to a FileMaker Pro record using links in HTML map tips. I can call the custom url scheme fmp:// with an IP address without issue, but as soon as I include the dollar sign ($) in ...
0
votes
1answer
160 views

Using OpenLayers with markers on html?

I am having problem showing a marker on page, I have this code which is implemented on my page, in console it is not showing any errors , the map is shown also with this code, but I cant see marker. ...
0
votes
0answers
75 views

Leaflet popup design not working properly on IE11

I am using Leaflet on my map and I styled popup using Bootstrap 4. Design works good for all browsers expect IE11. Can someone help me to find the problem and fix it? How popup looks in Firefox: ...
1
vote
1answer
210 views

How to change text color in QGIS 3 composer label when render as HTML

I try to set a label with black background, a first line of text in green (exactly rgb(125,185,0) ) and the other line in white. In QGIS 2.18 setting the background black, the font color white and ...
1
vote
0answers
98 views

Download data on click via Leaflet webmap [closed]

I am working on a webmap which will allow users to click on a portion of the globe and download associated river data. Here is my code so far. <!DOCTYPE html> <html> <head> <...
0
votes
0answers
307 views

Query and display MySQL DB data from HTML

I want to link MySQL DB to the HTML and get the data according to the query below. SELECT * FROM feature1 WHERE place = 'feature2' php seems one of the way to do this, since I am one day old with ...
2
votes
2answers
303 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.
0
votes
1answer
832 views

Uncaught TypeError: L.GeoJSON.AJAX is not a constructor

I want to add my json files to leaflet using leaflet-ajax plugin. But it always says following error: Uncaught TypeError: L.GeoJSON.AJAX is not a constructor Why this error is showing in my code? ...
0
votes
1answer
104 views

Create private access to qgis2web maps on Wordpress site

I want to use Wordpress site and qgis2web plugin to show maps to clients. According to my idea, a user logins to his private page and gets links to his private maps. But when I upload qgis2web folder ...
0
votes
1answer
84 views

Change the look of GeoServer welcome page

Does anyone know how to change the look of GeoServer welcome page? I need to know where to change it.
1
vote
1answer
318 views

qgis2web leaflet: change position of layers control box [duplicate]

I exported a leaflet-webmap with qgis2web. On the top-left, there are the controls (like zooming, serching etc.). On the top-right, there is the layers control box (checking/unchecking the layers of ...
1
vote
1answer
293 views

How to insert multiple images in the Atlas in QGIS?

I have a layer of CROSS SECTIONS (34) and the same number of IMAGES correspondent of each section. In the cross sections layer I have a column named PHOTOS where I defined this field as "ATTACHMENTS > ...
3
votes
0answers
90 views

Function fires despite conditional query in leaflet-map

In a map built with Leaflet I created a button to export and download data as geoJSON drawn before by the user with Leaflet.draw. To prevent an empty download, I am querying the existence of data. ...
2
votes
3answers
2k views

Adding local GeoJSON files to Leaflet web page

I'm quite new to JavaScript and I have been trying to add my GeoJSON files to a web page. I can't seem to figure out how to get the GeoJSON to actually load. I've checked it using GeoJson.io and it ...
2
votes
1answer
56 views

ArcToolbox Item Descriptions Are All Blank

I have freshly installed ArcGIS 10.6 on a desktop machine with a new image of Windows 10. When I open ArcToolbox and right-click on any tool for the Item Descriptions, I am presented with a blank ...
2
votes
0answers
69 views

Exporting ArcGIS Metadata to HTML with thumbnail?

I’m trying to export metadata as a pdf using ArcMap v10.6.1, but am unable to export it with the thumbnail. The output has "Thumbnail is not available." (see screenshot below). Would you know how to ...
0
votes
0answers
186 views

OL5 functions in JavaScript not working with NodeJS

So I made a weathermap with GeoServer and OpenLayers5. Works fine and all, but NodeJS keeps giving me a hard time. Does anybody know how this really works? Because I need input from the end-user, ...
0
votes
2answers
135 views

How to refresh the HTML, including the linked CSS for a QGIS HTML frame?

I am using a referenced css file in an HTML Frame in a QGIS 3.4.2 layout. <link rel="stylesheet" type="text/css" href="map.css"> It works great until I have to go and edit the css. When I ...
0
votes
1answer
417 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, so I am really glad with that!) It is just still very basic. I made de application with PostGIS, NPM ...
1
vote
1answer
129 views

HTML Custom Attribute does not register as HTML code

I am working on creating a hyperlink by configuring the popup through Attribute Expressions. The purpose is to create a telephone call link for all of the Municipalites. I have all of the numbers for ...
3
votes
3answers
645 views

Using Wordpress with GIS? [closed]

I am building a community-run map of neighbourhood stories that should feature photos, text, audio and video recordings. Ideally, I hoped I could use a powerful and relatively user-friendly CMS like ...
0
votes
1answer
207 views

Hide null value attributes in Leaflet popup

I have marker properties which are fetched from the database and displayed as a table. I want to hide the "reply" feature property when it's null and display it only when there is a text entry against ...
1
vote
1answer
447 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 ...
2
votes
1answer
112 views

Start ArcGIS Web Map Zoomed to Query

Can you have an ArcGIS Online map, you know one that you share and embed on a web page or link to, automatically start at an extent that is defined in a query of some sort? Ideally it would be great ...
3
votes
2answers
195 views

Hosting HTML files so they are accessible through AGOL

I recently made a web mapping application using the ArcGIS for JavaScript API, but I am having a difficult time making it accessible to users of my organizations AGOL account. I naïvely thought I ...
-1
votes
1answer
80 views

Using html and css, what is the simplest way to create a tooltip that will display the attribute “Risk Score” from a csv called Mains?

I am looking to create a tooltip that displays attributes from a csv when the user hovers over the feature. What is the easiest way to accomplish this? For example, if the user hovers above a Gas ...
1
vote
1answer
359 views

How to display a popup in the marker?

I have a displayed markers for the leaflet-knn on the map and the name of marker is displayed on the div at right-panel. When I click on this list, I want to show the popup on the associated marker. I ...