Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
332 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. ...
1
vote
1answer
324 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 ...
1
vote
0answers
51 views

Couldn't load images on html on plugin processing (Linux and Windows)

Context I develop a processing plugin for QGSI 2.18 and in design GUI with *.ui files (Qt4) I can’t load PNG images with relative path in html defined in .ui files Works with absolute path It ...
0
votes
2answers
316 views

Multi layer interactivity not working with carto.js

I've two sublayers with interaction set as true and the proper columns added in the interactivity method. The featureClick listener is attached to the layer. On the one hand, popups are working on ...
0
votes
1answer
161 views

Setting source for HTML frame in Print Composer using PyQGIS?

I have defined an HTML Frame in my composer using: html_frame = composition.getComposerItemById('html_frame') How can I set its source using PyQGIS?
1
vote
1answer
685 views

Select Points in a Buffer OpenLayers 3

I have a buffer that is made from a given point, and then I have points inside this area that I want to select. Was thinking I could use boundingExtent somehow but I don't get how the selection part ...
1
vote
2answers
5k 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....
3
votes
0answers
81 views

How to get image pop ups in QGIS 2.18? [duplicate]

I used to get image pop ups in QGIS using the HTML code: < img src="[% image %]" width=300 height=300 > But somehow, I do not manage to use it anymore on QGIS 2.18. Does anybody have a clue?
1
vote
0answers
716 views

Use jsPDF to generate the PDF of a map on HTML using a GeoServer service

I've been bugging people here for two weeks now to no avail. I have a project linking maps of a local GeoServer service, what I want is that when I press a button a PDF is downloaded of whatever is ...
1
vote
1answer
189 views

Hyperlink inside QGIS 'Maptips'

I have BGS 50k vector data which includes a field referring to the LEX code on the BGS website. Obviously the web address will be unique for every geological formation so I need to insert the field ...
1
vote
0answers
94 views

QGIS Print Composer HTML standard

Which HTML standard supports the print composer of QGIS?
1
vote
1answer
178 views

Embed Static Carto Map in Google Sheet Cell

Carto is mapping software that provides me with a url to a dynamic map. I want to show a static version of the map (which updates daily) in a google sheets cell. Ideally there would be a way to ...
-2
votes
2answers
1k views

How to load external local GeoJSON file in OpenLayers?

I want to load GeoJSON file which is in my laptop into my HTML code to include some features into my map. So if anybody know how to load local GeoJSON file in HTML help me
0
votes
0answers
245 views

Get the point coordinates of images of an interactive web map?

I want to parse this web map for the point coordinates of the displayed icons: https://www.mercedes-benz.de/passengercars/mercedes-benz-cars/dealer-locator.html The HTML class of the items is "...
0
votes
1answer
151 views

HTML CartoDB timeSlider Animation Map

I have created a web map using CARTODB API. I'm wanting to make an animation map with my points. The map points displays properly, but the time slider will not display as well as no animation of ...
1
vote
1answer
127 views

Using Carto API in HTML

I am trying to use CARTO API with my HTML to display a map, code below: <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>...
1
vote
1answer
224 views

QGIS Map Tips Table, style every other row

I simply want to style every other row in a table I've generated using map tips with a different coloured background. I've got the correct generic CSS (I think) but nothing is changing. tr:nth-child (...
0
votes
2answers
427 views

Form submit to mapbox dataset via Javascript API

I have a form on a webpage that has a map the user can click on to populate the form's latitude and longitude fields. See it live. I have an empty dataset created in Mapbox Studio and have created an ...
1
vote
1answer
60 views

Legend in storymap show correct hexcode colours in editor but not in final display

I have used some html/css code from here: https://blogs.esri.com/esri/arcgis/2015/12/16/enhance-legend-story-map-journal/ to display legends in a journal style storymap. The hexcodes are correct and ...
0
votes
1answer
558 views

Generate HTML/XML file in QGIS

I'm looking for best practices (plugins, procedures...) in QGIS to generate an HTML document (which later on can be finalized in MS Word) in which the result of spatial queries can be documented. An ...
6
votes
1answer
1k views

Basic HTML Code for Map Tips

I'm trying to get map tips to behave as shown below. Light grey background with very thin white border A box that adjusts to the content rather than a fixed width of say...300px A centred title ...
1
vote
0answers
73 views

How to use the points which come from the leaflet file layer plugin?

I am using leaflet file layer plugin.I have added a kml file which includes some points. I want to do sth by using these points. But I don't know if the plugin saves this data or not. How can I use ...
3
votes
1answer
8k views

Why doesn't Leaflet fill the height of its parent container?

I have a ` with a specific height, inside of it I want to put my leaflet map. But the problem is that the map doesn't fill 100% of the height of its container. Why does my map not show up? HTML is as ...
0
votes
1answer
2k views

Add a link to a popup window Leaflet map: adding html to setContent

I'm adding a metadata link to an info popup. I've been trying a variety of ways to do this, but all turn up errors, there appear to be different rules applying for html within setContent... Here's ...
2
votes
1answer
85 views

Using file geodatabase with HTML in attribute column?

I am working with a file geodatabase (.gdb) where one of the attribute columns contains html code: My issue is that the attributes that I need are embedded in the html code. The screenshot below ...
0
votes
1answer
4k views

How to center a MapBox GL JS map at the point coordinates from a point edited with MapBox-GL-Draw plugin

I'm using MapBox GL JS and the mapbox-gl-draw plugin in a simple MapBox map .... here you're the code ... <html> <head> <meta charset='utf-8' /> <title></title> ...
0
votes
2answers
1k views

How to associate function to custom controls in google maps api?

In the following code I've added a custom control on a map using Google Maps API V3. <html> <head> <title>Simple Map</title> <meta name="viewport" content="...
1
vote
2answers
8k 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 ...
1
vote
0answers
2k views

How to add a button (with image) on a map using Google Maps API

I need to put a button on a map built using Google Maps API v3. I've seen this sample https://developers.google.com/maps/documentation/javascript/examples/control-custom and that's good for me but ...
3
votes
1answer
72 views

How to export online content in QGIS print composer into static formats for offline use (eg: PNG, PDF)

I have a print composer layout which, amongst other things, has a HTML frame with the following code: <script src="https://use.fontawesome.com/27c6690f63.js"></script> <ul class="fa-...
1
vote
1answer
2k views

Adding marker to MapBox GL JS map?

I'm trying to add a marker to a MapBox GL JS map ... Here you are my code <html> <head> <meta charset="utf-8"> <title>Test MapBox</title> <!-- *** ...
1
vote
1answer
751 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 ... ...
2
votes
0answers
156 views

Choropleth map in html

I am making a choropleth map of population estimate by counties in United States. I am almost done but the problem is a few counties have population count in seven figures and they are the ones that ...
0
votes
0answers
243 views

Displaying .PNG file folders generated from MBUtil in HTML Doc

I recently followed this tutorial http://blog.davidelner.com/create-map-with-tilemill-and-leaflet/ that illustrated how to generate PNG tiles from Mbtile data sources. I was successful in creating the ...
2
votes
1answer
369 views

Issues using html popups with QGIS 2.18

I was happily using html popups with QGIS 2.8.3 for various things including a showing a photo. However, I've updated to 2.18 to take advantage of other new functionalities, and now find that my html ...
0
votes
1answer
572 views

How to use image_url from dataset in Carto Builder HOVER pop-up window?

I am creating a map in Carto Builder with several points. I want to set the pop-up (hover) to display information from my dataset, including an image which is dictated by the corresponding image_url ...
1
vote
0answers
106 views

Using a URL instead of a form to add a shapefile to a layer in JavaScript

I have the following code that is used to add a shapefile to the map and it works perfectly. var genRequest = request({ url: portalUrl + '/sharing/rest/content/features/generate', ...
1
vote
1answer
435 views

What is leaflet-src.map?

I've download the Leaflet package and there is "leaflet-src.map" what is it exactly ? Do i need it to use correctly leaflet ?
1
vote
1answer
381 views

Styling the map tips pop up box with css - background-color not working

I'm trying to find some extensive documentation on styling the map tips box when hovering over features. I'm using CSS school to do basic styling but some (like background) don't seem to do anything ...
1
vote
1answer
699 views

Using HTML and CSS with QGIS Map Tips?

I'm trying to make the red text 'un-wrap' itself and use all the room available. My code is shown below. (I've tried playing with the margin as well but no luck)
1
vote
1answer
2k views

How to set Google Maps pegman position programmatically?

I've this sample code that use Google Maps anb Google Street View .... <html> <head> <meta charset="utf-8"> <title>Set Pegman position programmatically</title>...
0
votes
1answer
233 views

Javascript HTML web maps

I am very new to javascript and html. I am trying to display a web map, which works, but my issue is trying to figure out how to add a local geojson file to my html code. Here is what I have so far: &...
1
vote
1answer
5k 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="...
2
votes
1answer
450 views

How to create a bubble legend in Carto?

I have generated a 'bubble' map in Carto: Custom CSS: #layer { [capacity >= 70000] {marker-width: 90; } [capacity >= 60000][capacity < 70000] {marker-width: 80;} ...
0
votes
1answer
243 views

Leaflet: Change points on map when a <div> tab on page is clicked

I am new to JavaScript. I have a GeoJSON with about 400- 600 points drawn on the map using the circle icon. I want to change what markers are shown on the map when a different year is clicked on the ...
2
votes
0answers
871 views

How to style markers so they dynamically offset if overlapping at different zoom levels? [closed]

I have created a map using Carto. The map has bespoke images as icon markers. I would like to style the map so that, if the icons overlap, they both render in an offset position so that the full ...
0
votes
1answer
409 views

Carto: How to set pop-up (hover) to display differently according to layers and zoom level

I'm working in Carto.com but I'm still new with this, therefore my question might be somewhat banal. I have tried to generate a map of US with two layers: one layer reffering to the state and the ...
0
votes
1answer
317 views

OpenLayers 4 and MapServer 7.0.4 HTML template

I would like to know if it is possible to render directly a HTML template retrieved from a MapServer WMS GetFeatureInfo call. The documentation explains that the API uses ol.Format.GML2 to read ...
1
vote
0answers
306 views

ASP .NET and ArcGIS API for Javascript : FeatureTable won't show up

I"m a newbie with the ASP .NET, a have an issue. I want to show up a feature table in a viewer but I don"t get any results. I think I"m missing something? Here is example that I took from the ...
2
votes
1answer
612 views

Control size of HTML map tips frame?

I am using map tips to display geo-tagged images on QGIS 2.16.3, but I'm running into problems trying to control the overall size of the map tip pop-up frame. I have followed the advice on other ...