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
17 votes
4 answers
6k 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 ...
Houska's user avatar
  • 7,978
7 votes
3 answers
6k views

QGIS Labels with HTML formating

For complex labels, it would be useful to be able to use HTML formatting when different fields should be shown, on multiple lines and with different font sizes. Is this possible with QGIS? Or is there ...
Mario's user avatar
  • 551
13 votes
4 answers
5k views

Which framework is best to implement an application robustly, using ArcGIS Server JS API?

Over on the Esri forum, user Matt Moyles suggested that the approach used in the Esri JS samples isn't suitable for robust development of a web mapping application using HTML, JavaScript and CSS: ...
Stephen Lead's user avatar
  • 21.1k
2 votes
2 answers
3k views

Add a legend in an ArcGIS Javascript API

I am quite new to Javascript. I have made a html script that includes services I published to ArcGIS for server. It all does exactly what I want and I made it by copying working scripts together and ...
Zuenie's user avatar
  • 585
10 votes
4 answers
37k views

How can I include HTML in a Folium Marker popup?

I'd like to include an anchor tag in a Folium Marker popup so that I can click through to another page. Here's my code: def poptext(row): return "<a href=\"" + row['Feed']...
Rob Blackwell's user avatar
2 votes
1 answer
6k views

Loading of local CSV file blocked by CORS policy in Leaflet

I am using the the Leaflet Geocsv plug in to display markers with popups from a csv file. When trying to aacess the file my Chrome Browser puts out this error message: Access to XMLHttpRequest at '...
CLa's user avatar
  • 83
1 vote
1 answer
2k 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 ...
J.R's user avatar
  • 15.8k
1 vote
1 answer
536 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 ...
ki8Q7SFi7y's user avatar
1 vote
1 answer
281 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() { ....
Asolole1123's user avatar
1 vote
1 answer
1k views

Unproject Radius with Openlayers with CRS:84 Projection

I have made a Openlayers integrated map that lets you draw a circle, On completion of the circle I have told the map to give me , Bounds, Center Long and Lats, and lastly the radius. My problem is ...
Blake Loizides's user avatar
0 votes
1 answer
8k views

How can I show numbers as percentages in CartoDB?

I would like to format numbers as percentages in cartodb. What are the best functions to display numbers with decimals, comma separators or percentages?
user27387's user avatar
15 votes
4 answers
36k views

Simple way to have an offline web based map? [closed]

My goal is to have a world map embedded in a web page, but without access to the internet. Preferrably only a set of tiles in combination with some slippy map js-lib. Storage space is not really an ...
tek's user avatar
  • 161
8 votes
3 answers
28k views

How to display a Shapefile on a browser? -offline-

Plot points on a Shapefile like this: https://github.com/gka/pyshpgeocode and then convert it to HTML and display it on a browser? Is this practical method to display the map on a browser? Any cons ...
Aquarius_Girl's user avatar
8 votes
2 answers
2k 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 ...
MartinMap's user avatar
  • 8,284
6 votes
3 answers
20k views

How can I convert an image into map tiles for leafletJS [closed]

I'm trying to make it so that people can upload an image onto my site and have it converted into tiles for leaflet that can be used for a custom interactive map. The images are maps from games, not ...
anthius balaraw Xanthius's user avatar
6 votes
5 answers
6k views

Exporting metadata to HTML format via ArcGIS Desktop?

In ArcGIS 9.3, it was easy to export metadata into an HTML format. In ArcGIS 10, it looks like everything is in XML format and that there's no easy way to convert the XML to HTML. Has anyone ...
Michael Todd's user avatar
  • 1,976
6 votes
2 answers
9k views

Generate HTML file with R using Leaflet

I try to display the France map on HTML with RStudio; I followed the tutorial to the World card in Creating an interactive map with Leaflet; Example works. I wanted to do the same just by displaying ...
zina_GIS's user avatar
  • 763
5 votes
2 answers
3k views

QGIS html annotation relative paths

I find the QGIS html annotation tool is very useful for quickly accessing a combination of key data attributes and photos. I am having trouble using relative paths for images. This doesn't work: <...
user25976's user avatar
  • 2,115
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> <...
ChameleonScales's user avatar
4 votes
1 answer
3k views

leaflet search control not showing up in geodjango app

I have a very basic geodjango app and I am trying to enable search control on it. I have found this question Adding a search box to a Leaflet.js example and the link brought me to what it seems like ...
ziggy's user avatar
  • 4,480
4 votes
3 answers
12k 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 ...
PVar's user avatar
  • 81
4 votes
1 answer
3k views

Automating Pop up configuration of web app in ArcGIS for Portal?

I have been tasked to customize several hundred layers (pop up windows) in Portal for ArcGIS (web app). I was wondering if there is a faster way to accomplish this, instead of using the on client pop ...
Robert C's user avatar
  • 123
3 votes
1 answer
10k views

Adding GeoJSON layer on leaflet?

i'm trying to load a geojson file on a leaflet map. here is the code : body : <!DOCTYPE html> <html> <head> <title>map</title> <link href="leaflet.css" type="...
NanBlanc's user avatar
  • 136
3 votes
2 answers
7k views

Hyperlink relative paths to files in points layer in QGIS?

I would like to add hyperlinks to each point in a points layer in QGIS 1.7.0 running on Mac OS X 10.6.7, but I have several requirements: (1) Each hyperlink has to be a relative path to the linked ...
hpy's user avatar
  • 3,157
3 votes
2 answers
10k views

How do I embed a Leaflet map into my web page, using QGIS2Leaf?

I am generally new to web developement, and web gis for that matter, but I want to embed a leaflet map that I made in QGIS using the QGIS2leaf pluggin, into the html of my webpage, but am having ...
James Tobler's user avatar
3 votes
1 answer
888 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 ...
RyanKDalton's user avatar
  • 23.1k
3 votes
1 answer
1k views

Leaflet Maps Sync problem

I am trying to sync 3 maps (BaseMapd, overlayMap, tiledMap) side by side however these maps don't sync together immediately but it works sometimes during different multiple browsers (Chrome, Firefox &...
Kyros Koh's user avatar
  • 407
3 votes
1 answer
995 views

TitlePane not rendering - working with basemapGallery sample code

I am attempting to implement the basemapGallery code found in the API samples here. There seems to be an issue with the TitlePane into which my basemapGallery is nested. It simply does not render. ...
Badmagis's user avatar
  • 332
3 votes
1 answer
403 views

Two cartodb visualization on the same html page

I need to display 2 maps separate by vertical line on the middle of the html, it means on diferents and make some buttoms or aplicate the same zoom on both at the same time. I managed to put one ...
NewCartoDBGuy's user avatar
3 votes
1 answer
756 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 ...
Cody Brown's user avatar
  • 4,387
3 votes
3 answers
14k views

Openlayers get coordinates from polygon

please could someone help me and bless me with an example of how to get coordinates from a polygon in OpenLayers?
Blake Loizides's user avatar
2 votes
2 answers
342 views

Image size limitation in QGIS print layout using HTML code

I'm trying to make an atlas with QGIS, with one image per page. My goal is more complex so I have to use HTML widget in order to display the images. The below code works, but only if the picture is ...
samsam38's user avatar
2 votes
1 answer
599 views

OpenLayers WMTS function no longer working - No error messages

WMTS layers have been rendering in OpenLayers 6.5.1 flawlessly in from my code for some time now, but it has recently stopped working. I can't actually think of anything that I've recently changed in ...
Son of a Beach's user avatar
2 votes
1 answer
5k 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? ...
Tek Kshetri's user avatar
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....
Jakub O's user avatar
  • 83
2 votes
2 answers
3k views

allow client to upload Layers to Openlayers 3

I want to allow the clients to add vector layers in form of a geojson to openlayers 3. It should look like in this fiddle . I know how to add multiple layers but I want the client to be able to add a ...
Selphiron's user avatar
  • 775
2 votes
2 answers
24k views

Show popup on marker hover / mouseover, hide on mouseout, and keep open on click

I'm trying to make a marker popup in Leaflet (1.3.1) that: Appears on mouseover ("hover") Disappears on mouseout Persists (stays open) on click Here's what I have so far: var marker1 = L.marker([51....
MattSidor's user avatar
  • 141
2 votes
2 answers
4k views

Querying MapServer using WFS functionality

I'm trying to display a shapefile using OpenLayers and Mapserver. Instead of overlaying it as a png, I want to return a vector, in this case a KML file. My HTML file (located in the same folder as ...
djq's user avatar
  • 16.3k
1 vote
1 answer
398 views

Title position in qgis2web

I try to change the position of the title created by qgis2web to the top left above the zoom control. Right now it is always displayed on the top right side. And is it somehow possible to make these ...
gHupf's user avatar
  • 1,153
1 vote
1 answer
2k views

How to programmatically enable / disable arrows control in Google Street View?

I'm building a web application using Google Street View andh HTML / Javascript. I'd like to enable / disable the arrows controls that are on the images. I can't show examples to do it ... ...
Cesare's user avatar
  • 1,991
1 vote
2 answers
1k views

No popup on map if no feature is selected

I've got a webmap showing data coming from a Geoserver instance. With better.WMS.js I made it possible to display popups. Everything works nice except that the map shows popups too where there is no ...
hoge6b01's user avatar
  • 1,118
1 vote
1 answer
2k views

leaflet zoom map while clicking outside of the map

I know this may be a duplicate question. I'm new in this field.I am developing a website in php here I have one leaflet map for Kerala state. I'm drawing this using the goejson using leaflet. So my ...
Pranav MS's user avatar
  • 172
1 vote
2 answers
2k views

User Input in Openlayers Problem

I thought you could give me some advice regarding my problem. I have a working WFS Layer and I want to be able to type in some text which then should be used as the filter value. Afterwards the map ...
Timothy Dalton's user avatar
1 vote
1 answer
665 views

Leaflet toggle marker clustering with overlay

I am using the Leaflet markercluster plug in, and now want to add a button to turn the clustering on/off. For that I wanted to use the leaflet button plug in, because I am already using it in my code. ...
CLa's user avatar
  • 83
0 votes
1 answer
597 views

Leaflet toggle marker clustering

I am using the Leaflet markercluster plug in, and now want to add a button to turn the clustering on/off. For that I wanted to use the leaflet button plug in, because I am already using it in my code. ...
CLa's user avatar
  • 83
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....
Asolole1123's user avatar
0 votes
1 answer
1k views

How to display WFS layer on web

I am working on a project where displaying data from a WFS from this site, but I am having a lot of trouble figuring out how. I would like to know if this is possible, or if I am wasting my time. ...
Kasper Skjeggestad's user avatar