Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
1answer
77 views

pgrouting with WMS [closed]

I able to successfully perform pgrouting using WMS but I am looking to show the cost (the length) on the web page (not only the line on the map but the length of the line) somewhere in an HTML div ...
1
vote
1answer
349 views

Simple popup for multiple WMS

I have multiple WMS in OpenLayers with a layer switcher and can be turned on and off. Now I have an image of each WMS, what I want is to show image of each WMS on click OF that corresponding WMS. ...
0
votes
1answer
231 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
1answer
18k 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 ...
7
votes
2answers
14k 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'] + "\">" +...
6
votes
5answers
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 ...
1
vote
0answers
92 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
2answers
1k views

Leaflet circle doesn't show on map

I have a Leaflet application that uses circles. It works fine when I don't put the script in my HTML template (I use SingApp template), but when I integrate the script with the template, the circle ...
1
vote
0answers
368 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 ...
4
votes
2answers
1k views

How do I add a CartoDB layer to a MapBox map?

I'm having some trouble adding a CartoDB layer to an L.mapbox.map, I thought it was a pretty simple thing to do in the HTML but it's just not working and I don't know why. My CartoDB layer has vector ...
0
votes
1answer
1k views

OpenLayers map add combo in panel

I just want to add combo box on OpenLayers map panel. I don't know how to add combo to the OpenLayers panel so currently I have set absolute location to combobox, like this http://jsfiddle.net/4zNH6/ ...
15
votes
4answers
28k 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 ...
1
vote
0answers
353 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
510 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 ...
1
vote
0answers
85 views

Positioning a map

Somebody recommended me to use this site:- http://cs2cs.mygeodata.eu/ after I explained that this coordinates[-28.23078, 28.30707] which belongs to Bethlehem in South Africa centers the map to towards ...
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 ...
2
votes
0answers
152 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 ...
5
votes
0answers
251 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 ...
2
votes
0answers
328 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 ...
0
votes
1answer
7k 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?
1
vote
1answer
185 views

Change OpenLayers 3 script into OpenLayers 2.13

I want to change the code from pgrouting latest workshop which is used the OpenLayers 3 beta to OpenLayers 2.13. The code is in here http://workshop.pgrouting.org/chapters/ol3_client.html I tried to ...
6
votes
1answer
591 views

Why does ArcGIS Desktop 10 HTML popups give JavaScript/HTML Error? [closed]

Using ArcMap 10 Desktop HTML Popups. The issue I am having is that the html < select > elements aren't working - you can select it and use the arrow keys to navigate through(up/down) the list but ...
1
vote
0answers
418 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
201 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
1k 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
327 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 ...
0
votes
1answer
2k views

Transfer Data from Database to Leaflet POP UP

How can I show data from a database to leaflet in a pop up? Here is my code in php select command: <?php $db = new PDO('mysql:host=localhost;dbname=poi', 'root', ''); $sql = "SELECT name,...
1
vote
1answer
936 views

How to call a leaflet Javascript Function in dropdown menu bar?

I am having the following problem: My target is a hybrid application with leaflet. I create a drop down menu with html/CSS/JQuery. Here is the code: <nav> <ul> <li id="...
0
votes
1answer
8k views

Map.addLayer() is not working

I am creating an app with leaflet that shows a route on a map based on the button clicked. For example when you click on "button1", the associated route is successfully displayed on the map (i.e. map....
1
vote
1answer
1k views

Leaflet adding a HTML label

I would like to add a HTML label above each marker in a leaflet map. Is this possible? Example: Code for labels: HTML <table> <tr> <td class="red"></td> ...
1
vote
1answer
361 views

Embedding a leaflet map onto a blog

I've created a leaflet map using maptiler. It's created a leaflet HTML file, which links to PNG images on my desktop and displays the image. How do I embed the map onto a blog such as tumblr?
4
votes
3answers
1k views

Leaflet/HTML/GeoJSON: How to put a pop-up on a geoJSON point?

I don't have much knowledge of HTML/JS/GeoJSON, and have made a webmap from trial and error with many different tutorials. I have tried leaflet's tutorials but cannot get the desired results. I have ...
1
vote
1answer
124 views

Is there a way to use raw html with the markdown used in odyssey.js?

I use odyssey.js in part of my Django site. The map part of it is all working fine but I need to add some <i-frame> elements. I'm not sure what flavour of markdown it is and can't figure out how ...
1
vote
3answers
507 views

Using OpenLayers with OSM as map

Got this code from a teacher and I don't know what I am doing wrong! I have searched around but I can't find the error. Visual studio shows no error. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
1
vote
0answers
404 views

OpenLayers Show message (Information message or Alert )(or HTML content)on the map

J'utilise OpenLayers et j'aiemrais afficher une fenetre affichant des messages sur la carte openLayers Voici un exemple de ce que je voudrais faire : http://www.annuaires.justice.gouv.fr/annuaires-...
2
votes
2answers
234 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 ...
2
votes
1answer
732 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
94 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
1answer
819 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
978 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 ...
3
votes
0answers
210 views

Validate that Openlayers GeoJSON layer is in the correct format with OpenLayers.Protocol.HTTP call

I am completely new to JavaScript and OpenLayers, I am trying to figure out a way to validate the received layer with the OpenLayers.Protocol.HTTP call. I want to validate that it is in the correct ...
0
votes
1answer
67 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 ...
3
votes
1answer
4k views

How to create a search box and SQL statement for searching an attribute field?

How can I add a HTML search bar that the user can use to search an attribute field for a polygon layer, and then tie that input into the SQL statement? So far I am able to hard code the query of ...
1
vote
1answer
371 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
5k views

Loading GeoJSON data into an array with OpenLayers 3?

I'm using OL 3.6 with no additional plugins. Is there a way to store points from a GeoJSON file to an array? I'm thinking it would look something like this(?): var features = new Array(...
2
votes
1answer
537 views

How do I make my Cartodb info windows wider?

According to my read of andrewxhill (more readable version) I should be able to change the info window size by adding CSS, like so: <div class="cartodb-popup header with-image" data-cover="true"&...
1
vote
0answers
302 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 ...
0
votes
2answers
399 views

qgis2 html annotation docs?

The HTML annotations in qgis2 seem to fit the bill of what I'd like to do: have a full-custom data-based drawing in a callout. Problem: I can't find documentation anywhere on how to write the html ...
0
votes
1answer
12k 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 ...
0
votes
0answers
554 views

Adding HTML popup in exported PDF map? [duplicate]

I am producing some maps of a point layer using arcpy.mapping.ExportToPDF. Is there a possibility of creating HTML popup for the final PDF based on this link? http://help.arcgis.com/en/arcgisdesktop/...