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
265 views

Width and Height of GetFeatureInfoUrl request with Openlayers 4.x and Geoserver

When I make a getGetFeatureInfoUrl request with OpenLayers 4.x, Geoserver 2.10.1 and WMS 1.3.0 with the code below, the width and height returned default to 256. var url = lyr.getSource()....
1
vote
0answers
280 views

HTML-“Tooltip” (Mouseover) V2 vs V3 [duplicate]

is there a change for HTML-Mouseover (I dont know the exact wording in english-version. German: Anzeigen, Kartenhinweis) between Version 2 and 3? The same code dont work in V3 ;( <div style="width:...
0
votes
2answers
2k 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="...
2
votes
1answer
766 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 ...
0
votes
1answer
461 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
0answers
56 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
405 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
225 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
922 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 ... ...
1
vote
2answers
9k 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....
2
votes
2answers
200 views

What exactly to write inside legend_exp column so that color Legend is seen in Qgis2Leaf?

I am new to qgis2leaf. I am getting the through qgis2leaf plugin. But as one can see i am not getting a color legend. I need to get the colors of bldg_use so that the map becomes readable. I ...
3
votes
0answers
89 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
1answer
3k 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> <!-- *** ...
0
votes
2answers
442 views

Parse PHP/HTML to shapefile or similar

I've been experimenting with scraping spatial data from a web page (www.majidata.co.ke). I've managed to find the source of the vector data from within a webpage though and have saved a chunk as HTML ...
0
votes
1answer
3k 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 ...
3
votes
1answer
878 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 &...
4
votes
2answers
1k views

Custom HTML Within Leaflet Map

We're upgrading our Leaflet maps to be larger on the screen and doing so in part by putting information panels, etc. over the map with varying transparencies. Obviously this is easy to do by ...
0
votes
1answer
595 views

How to add arrow symbol in legend of CartoDB?

I have been trying for some time now to get an arrow to appear in my legend in a CartoDB visualization - it is one of the simple visualization marker options along with the standard "ellipse", so I ...
1
vote
0answers
868 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 ...
3
votes
2answers
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 ...
5
votes
1answer
2k 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: <...
0
votes
1answer
318 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 ...
0
votes
1answer
161 views

ArcGIS Portal homepage altered without HTML change

After changing the region in REST services the carousel of images has stopped rotating, the white banner at the top has disappeared and icons at the bottom have shifted. It seems like a page size ...
1
vote
0answers
106 views

QGIS Print Composer HTML standard

Which HTML standard supports the print composer of QGIS?
0
votes
2answers
799 views

Fusion table, map and displaying images?

I´ve set up a Google Maps displaying points from af fusion table. Is it possible to display the images related to the points, like when mouseover? (html hover?)
1
vote
1answer
239 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 ...
1
vote
1answer
758 views

Read label data in HTML frame

I have a map in QGIS displaying many languages being spoken in the displayed area. Each one of them has a designated marker with a HTML frame that shows up on hover. However, in this frame I would ...
1
vote
1answer
140 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
77 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 ...
1
vote
1answer
259 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
537 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
2k views

How to add custom basemaps to BasemapGallery

I would like to add my own custom basemaps to the BasemapGallery. Is there any way I can create my own BasemapGallery with only my maps? I am using the ArcGIS API for javascript. EDIT: for clarity I ...
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
81 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 ...
1
vote
1answer
7k 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="...
0
votes
1answer
678 views

How to put image on top of OpenLayers 3 map by pixels

I need to put image which should be in middle top of openlayers 3 map. So, it should be defined with map canvas and pixels. Is that possible to do? This is my code: var arrow = new ol.layer.Image({ ...
4
votes
2answers
1k views

Access Stamen tiles flavors with OpenLayers

I'm using OpenLayers (v2.13.1) and would like to use Stamen Toner tiles as background. The example is simple to understand: http://maps.stamen.com/test/openlayers.html But I'd like to use the "lite" ...
1
vote
2answers
69 views

Accesing openlayers.map in index.html

I am developing an app using OpenTripPlanner. It creates an OpenLayers map in map.js. I want to access this map in index.html so I can set it's center. Kindly help me out.
3
votes
1answer
74 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
707 views

OpenLayers and not well formed JSON

I am learning to use GeoExt and OpenLayers, and I want to reproduce one of the examples given at the GeoExt website. The script calls a GeoJSON file containing the position of Alp summits. I ...
1
vote
1answer
427 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
857 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
2answers
352 views

Leaflet's shapefile plugin only compatible with Firefox

I created an HTML page (currently locally) and used Leaflet to create a basic map to which I plan to add several shapefiles. To do this, I use the leaflet.shapefile extension (https://github.com/...
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>...
3
votes
1answer
1k views

How to pass GeoJSON array to datatable dynamically using Javascript

I want to pass one GeoJSON file to a dynamically created datatable using Javascript, I am unable to identify the column names in the file. I have tried this: <body> <table id="example" ...
5
votes
2answers
6k 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 ...
0
votes
1answer
5k 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> ...
2
votes
1answer
1k views

Loading simple ESRI HTML JavaScript in Internet Explorer 11?

Is there any particular reason this simple ESRI HTML JavaScript won't load in IE11? Chrome works fine. <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content=...
3
votes
1answer
11k 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 ...
1
vote
1answer
240 views

Sidebar blocks buttons

Added a sidebar to my Leaflet map that is toggled by a click on a feature and contains all feature properties. On local devices (Firefox/Chrome) everything works fine. My problems shows up only on ...

1 2 3 4 5 7