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
2
votes
0answers
908 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
422 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
320 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
316 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
649 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
740 views

Getting the childcount in leaflet markercluster

I have created a custom icon for clustering my data, using leaflet markercluster. As default markercluster have the "childcount" in the icon. How can i put that number in my divicon? var markers = L....
0
votes
1answer
221 views

Html label in QGIS Atlas

My Atlas-layer ist "xblattschitt-fuer-rodung-f". In the column "FOTO1" is the name of the jgp. My source is in a network at "z:\01\P156. In the next step I insert a html-Label <style> * {margin:...
1
vote
0answers
353 views

QGIS Print Composer's “Render as HTML” not outputing what is input

Am I not using the correct version of HTML letter spacing? In Print Composer using a Label with "Render as HTML" checked, I input for what looks good in Print Composer only to have the output PDF ...
1
vote
0answers
89 views

Server-side definition of GetFeatureInfo-request parameter for ArcGIS Server WMS?

I'm trying to customize the response of a GetFeatureInfo request. I want that ArcGIS Server uses a certain HTML document as a template for responding to GetFeatureInfo requests of a one particular WMS....
2
votes
0answers
464 views

Interpolate line and locate point on line with Leaflet

I want to make a location tool in a leaflet web map. In fact, I create a wep map application with Leaflet in which we can find those layers: Bing aerial layer POI = Points layer which contains ...
3
votes
1answer
2k views

R / Leaflet obtain clicked coordinates

I have a fairly simple leaflet project in RStudio library(rgdal) library(leaflet) library(htmlwidgets) #load data/layers m = leaflet() %>% {add polygons....} saveWidget(m, file="HTML_File.html", ...
1
vote
0answers
339 views

Polygon not drawn in OpenLayers 3?

I am trying to get some polygon features drawn on my map. point features are working fine. even the coordinates of my polygon are correct, i draw them as point features on my map to check that. i am ...
2
votes
0answers
151 views

Openlayers3, vector data layer not visible after proceeding select onchange function

I input two polygon geojson layers, one is just boundary layer, another is the vectorlayer contains many attributes. I add map.on('click', function(evt), so users can click on the map, and the ...
1
vote
1answer
694 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 ...
5
votes
0answers
240 views

swipe dynamic layers using spy glass in ol3 [closed]

I am working on swipe based ol3 web application where i want to use spy glass for dynamic added layers. I have seen layer spy example but this is only for single layer swipe .. I want for dynamic ...
1
vote
1answer
223 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 ...
2
votes
0answers
324 views

HTML and SVG image annotation for QGIS image not displaying

I have installed the HTML/SVG annotation plugin with an image on my desktop that I'd like to use as the guinea pig. In the course of testing the plugin I've tried both HTML and SVG image formats but ...
1
vote
0answers
401 views

Running python script with HTML and Javascript on Map Tips

I have a problem of running python script by pressing a HTML button on my Map Tips. Right now, this is what I've written for my Map Tips in HTML format. <script> function option1(){ [% ...
1
vote
2answers
200 views

Create web map from QGIS workspace [closed]

I need to know how to create a web map of one QGIS workspace. Actually I want to provide a link and share it to web.
1
vote
1answer
971 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 ...
2
votes
1answer
288 views

Grid Lines disappear when adding html table

I'm using QGIS Las Palmas and currently wanted to add an html tables to map composer. This is how my html looks like in a browser: Now, adding it to map composer through html, the lines now ...
2
votes
2answers
233 views

Saving HTML text permanently in map tip display text

I have used the map display text in QGIS to add HTML which enables me to view images related to a point feature when i hover the mouse over it. However I have realized that I have to rewrite the code ...
1
vote
1answer
794 views

Trying to add Legend (and Layer List eventually) to map for Dynamic Service Layers using Javascript API for ArcGIS

Looking for some help regarding adding a Legend to my GIS application. I'm using the Javascript API for ArcGIS. I think it's a problem with my div tags. <html> <head> <...
2
votes
1answer
932 views

Leaflet Tooltip bug when added leaflet-draw

Here's a simple demonstration: The file leaflet.draw-src.js was downloaded here: https://github.com/Leaflet/Leaflet.draw/tree/master/dist If you remove the script tag with the leaflet.draw-src.js the ...
0
votes
1answer
66 views

Enabling two selector menus for cartodb webmap?

I am trying to enable two selector menu dropdowns within a webmap pulling data from the same cartodb table. Each drop down is for a different type of route I would like to select. The top selector ...
0
votes
0answers
274 views

Can QGIS maptips handle iframes?

Is the QGIS maptip html code capable of handling iframes? I have a point shapefile of river gauge station locations. I would like to be able to embed the realtime gauge information from Gauge Map ...
1
vote
1answer
156 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 ...
0
votes
1answer
11k views

Is it possible to access javascript variables that are in an OBJECT tag?

I want to inject a whole html page into a "main" page. I succeeded in doing this, but I still need to access variables of the injected page, from within the main page. Here is an example: I have my ...
3
votes
1answer
2k views

OpenLayers 3: putting an image (or logo/legend) on the map

I'm relatively new to OpenLayers. How to insert a simple image (or logo/legend) on the map? From this example, http://jsfiddle.net/expedio/od5eLpb9/ Is it possible to overlay the legend (that in ...
3
votes
1answer
183 views

GEOJSON - Transition to cartogram

I have 2 GEOJSON files - 1st contains map of indian states ('India-simple.GEOJSON'), and the second is cartogram based on Gross State Domestic Product of that state ('India-cartogram.GEOJSON'). I ...
2
votes
1answer
678 views

How to load html file with leaflet map using PyQGIS

I have a simple HTML file with Leaflet map layers. I want to load these layers in QGIS Map Canvas with the ability to choose one of the layers. How can I load this HTML and show one of map layers ...
1
vote
2answers
1k views

openlayers-3 popup getfeatureinfo

I'm Working on a map and I want to put popups to show information about each queryable layer. This is what I've got so far, but I can't make it work. HTML: <section class="visualizador" id="...
1
vote
1answer
360 views

Cesium library: error with constructor OLCesium

I receive the error olcs.OLCesium is not a constructor from line var ol3d = new olcs.OLCesium({map: ol2d}); taken here my index.html looks like: <script type="text/javascript" src="libs/v3.16.0-...
1
vote
1answer
17k views

Dynamic column header in data table from JSON array?

I want to populate data table with dynamic column header and column data, I can populate dynamic column data successfully, but I can't achieve dynamic column... I am using JSON array. My html code ...
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" ...
1
vote
1answer
8k views

Extracting latitude/longitude from javascript and passing to html form

I have the following problem I use a google map inside an html form where the user can enter an address (autocomplete) and the marker goes to the place. The marker is draggable. What I want is to ...
0
votes
1answer
586 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({ ...
0
votes
1answer
20 views

ArcGIS Server - Map features received from html forms [closed]

I would like to know if there is a way to send features data, such x and y coordinates and attributes properties, by a html form to ArcGIS Server in order to generate a map of these features.
0
votes
2answers
798 views

How to pass unencoded/properly encoded url query string to ArcGIS Online Web App Builder

I am attempting to add a form to an existing html that allows the user to type in a search term and query and existing ArcGIS Online map. For example, a person would enter a coordinate into the form ...
0
votes
1answer
491 views

Use HTML button tag to select different feature layers in ArcGIS JavaScript API 4.0

I am trying to build a row of buttons on the top of a page which changes the feature layer being viewed. I am using sample code from here: https://blogs.esri.com/esri/arcgis/2016/01/25/3d-...
2
votes
1answer
1k views

Accessing HTML using jQuery within LeafletJS popup.

So I want to add some HTML code to a Leaflet popup, but I also want to be able to to perform some jQuery functions when this HTML is clicked, like so: .bindPopup( "<button id='clickHere'> <...
3
votes
3answers
512 views

Projection offset between layers: OSM, GeoJSON

Don't know why there is an offset: The coordinates of the points that appear on the example were gotten through google's geocoder from some Rosario, Argentina directions. I have checked the lats and ...
0
votes
2answers
777 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
2answers
92 views

HTML ArcGIS Online inserting image issue?

Within a story map application I am trying to add a picture to the title. I am adding the picture through HTML code and it works, but for some reason it adds a maximize button to the image. This ...
1
vote
2answers
214 views

HTML file not loading for CartoDB.js using Leaflet

I am trying to create a web map that uses a layer hosted on CartoDB and a basemap created in Mapbox studio. Never mind adding the basemap to the L.map, I cannot get the cartoDB layer to draw at all. ...
7
votes
2answers
13k 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'] + "\">" +...
1
vote
1answer
114 views

Cartodb sql not executing

I am a beginner, learning the cartodb-API. below is my javascript code which is below my body tag in the HTML page. The map, together with the points are loading correctly but the SQL command is not ...
0
votes
0answers
457 views

QGIS Server: how to get WMS GetLegendGraphic in HTML?

On MapServer you can get HTML content based legend graphic with WMS GetLegendGraphic. On QGIS we can have only PNGs. It would be nice to have the same behaviour on QGIS Server, with an HTML Template ...
1
vote
1answer
562 views

HTML Annotation using pyqgis

I really like the html annotation tool in QGIS. My plan is to show a photo (web based image// jpg) on each point of my point shapefile. Unfortunately labels don't work as they do not parse HTML and ...
3
votes
1answer
156 views

Q-GIS Print Composer: underline in HTML (<u>) is almost invisible (too thin)

I am using HTML code to format text in a text box in print composer trying hard to underline just one word of a paragraph. Of course I could create a new text field just for one word but that screws ...