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
2answers
85 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
1answer
2k 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
17 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
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 ...
1
vote
1answer
29 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
15 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)...
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 ...
0
votes
2answers
73 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 ...
3
votes
1answer
28 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
13 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
32 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
75 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 ...
2
votes
2answers
413 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
388 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 ...
4
votes
0answers
41 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
393 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
488 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 ...
2
votes
1answer
52 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 ...
0
votes
1answer
46 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
105 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 ....
1
vote
1answer
163 views

PyQGIS handle ##output=html as input of geoprocessing script

In QGIS 2.14.5 I would like to create a model that determines a statistics for a raster layers' unique values (Tool Raster layer statistics) and does some further computations with the result. I ...
1
vote
1answer
422 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
0answers
46 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
22 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 ...
0
votes
1answer
96 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 ...
1
vote
3answers
11k views

How to position custom button controls on Google Maps API?

I've this simple map built on Google Maps APi v3 .... <html> <head> <title>Simple Map</title> <meta name="viewport" content="initial-scale=1.0"> <meta ...
0
votes
1answer
67 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
0answers
80 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 ...
0
votes
0answers
46 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
45 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> &...
4
votes
1answer
86 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 ...
1
vote
1answer
80 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/...
-1
votes
2answers
1k views

Loading external local GeoJSON file in OpenLayers?

How do I load GeoJSON file, which is in my laptop, into my HTML code to include some features into my OpenLayers map?
0
votes
2answers
1k views

ArcGIS Online attribute hyperlink is not reading the space in URL, how to fix?

We are using Arc GIS Online to display some point data. In ArcGIS Online we configured the attributes to point to a hyperlink that is located in our gdb. Our GDB contains a field that points to where ...
1
vote
1answer
126 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 ...
0
votes
1answer
109 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
65 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: ...
-9
votes
1answer
2k 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
1answer
182 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
78 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> <...
3
votes
2answers
164 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 ...
0
votes
1answer
1k views

Creating static popup in OpenLayers that contains HTML content?

I would like to create a static popup using openLayers 2.11 which is always in the lower-right corner of the screen and appears on map load. The idea behind this is to have a logo for my school ...
0
votes
0answers
214 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
253 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
689 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? ...
1
vote
1answer
293 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
260 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
82 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. ...
-1
votes
1answer
754 views

Creating static popup that displays local web page? [closed]

I am using OpenLayers 2.11 and would like to place a marker on my map which, when clicked on, would open a popup which then loads a local web page. I would like the popup to be located in the lower, ...
0
votes
0answers
176 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, ...