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
1answer
15 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 ...
2
votes
1answer
950 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 ...
-1
votes
0answers
19 views

Obtain a dataset (from a feature class) of values from a JavaScript function [closed]

I'm trying to obtain a dataset (from a feature class) of values from a JavaScript function that will populate the dropdown list, as styled in bold. Here is what I have now: <div id="...
1
vote
0answers
12 views

Secure SQL update in PHP [migrated]

As part of a job I want to update a database using a form. Since the database is large and is used by many users, I hope that this manipulation is at least secure for more safety. HTML script : <...
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
215 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
33 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 ...
1
vote
1answer
565 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 ...
0
votes
0answers
11 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
37 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
24 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 ...
0
votes
1answer
72 views

CARTO popup links redirect back to embed map?

When I click a link in the pop-up window the link opens a new tab to the same CARTO map instead of redirecting to the url specified. Here is my code: <div class="CDB-infowindow CDB-infowindow--...
1
vote
1answer
41 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
1answer
111 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.
0
votes
0answers
129 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
1answer
3k 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
0answers
21 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
29 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
31 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&...
2
votes
2answers
508 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
72 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 ...
8
votes
1answer
185 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
48 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
2answers
334 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 ...
0
votes
0answers
32 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 ...
2
votes
1answer
76 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="...
2
votes
2answers
564 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
1answer
38 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 ...
2
votes
1answer
2k views

Can ArcMap do HTML pop up with a chart?

am using Arcmap 10.0 to create a map. Need to display a chart for my data when users click on the marker. Must I use plugin like google chart? Can I do it directly in Arcmap?
1
vote
1answer
107 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 ...
4
votes
1answer
246 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 ...
0
votes
0answers
143 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
38 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
132 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 ...
1
vote
1answer
469 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 ...
2
votes
1answer
130 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 ...
0
votes
1answer
504 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 ...
2
votes
0answers
40 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
31 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
137 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 ...
0
votes
1answer
1k views

OpenLayers map add combo in panel

I just want to add combo box on OpenLayers map panel. I don't know how to add combo to the OpenLayers panel so currently I have set absolute location to combobox, like this http://jsfiddle.net/4zNH6/ ...
4
votes
2answers
915 views

OpenLayers 3.5 WFS-T update to GeoServer 2.7 raises StringIndexOutOfBoundsException

I am using ol.format.WFS.writeTransaction() (OL3.5) to generate WFS-T statements. This works well for insert and delete. The problem is with the update statement. Any update statement returns ...
0
votes
2answers
101 views

Format date in CartoCSS infowindow

I have a date feild in my data and when I add it to an info window, it shows in zulu time (2017-11-06T00:00:00.000). Is there a way to format the cartoCSS and HTML so that only the date, and not the ...
0
votes
0answers
29 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 ...
2
votes
3answers
3k 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 ...
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
22 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
40 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
27 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
39 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
2 3 4 5
7