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

1
vote
2answers
188 views

FeatureLayer fullExtent is being constricted by Dojo ContentPane side panel

I have an ArcGIS JavaScript application which displays one single FeatureLayer on a map which is in a Dojo BorderContainer/ContentPane template similar to the one shown here. I am trying to ...
1
vote
1answer
990 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> ...
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=...
1
vote
0answers
84 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 ...
2
votes
1answer
471 views

Displaying WMS Attribute Data in Lizmap

I have successfully built a Web server using ubuntu 14.04, Qgis 2.6, with the plug-in lizmap as a local server. I have several polygons being displayed and some WMS raster's from NOAA's WMS. I know ...
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,...
0
votes
1answer
74 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 ...
2
votes
0answers
815 views

Exporting to SVG in ArcMap. How to change or call svg clippath polygon attributes in CSS

Recently I exported a map document from the ESRI ArcMap 10.2.2 to SVG. I would like to animate this map with css and javascript however the "clippath" polygons that arcmap creates makes it ...
0
votes
0answers
534 views

Navbar on ArcGIS JS API causing locator to behave buggy

I have added a nav bar with combo boxes to extend an ArcGIS JS API application further. When a location is selected on the map the point does not appear and I receive this error. Failed to get text ...
1
vote
1answer
227 views

How to configure GeoExplorer to render as HTML the content of the “Table panel” cells (especially as URL)? [closed]

I want to show in GeoExplorer the values of feature attribute set as url link, e.g. link to give users the chance for clicking them. It works inside the feature info window, but in the table panel (...
1
vote
1answer
1k views

Add image to bottom corner of MapBox.js map

I have a MapBox.js map up and running and I would like to add an image to the bottom left corner. I tried adding in this code: <img src="IMAGE URL" height=100 style=’position:fixed;bottom:0px;...
3
votes
1answer
312 views

geoexplorer add north panel

I need to add a header to my GeoExplorer application in the same way they do here http://demo.geonode.org/maps/new. Where should I modify the code to achieve this? I try adding Ext.Panel within ...
0
votes
2answers
428 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 ...
1
vote
0answers
31 views

Creating Interactive Map Using Something Other Than Google? [duplicate]

I have a Roleplay Forum, and I would like to add a map of my Roleplay World to the website. I would like my map to be clickable, and have each location take you to a place on the forum. I don't know ...
4
votes
1answer
748 views

Automatically create Text/HTML annotations in QGIS on a Point Layer

How would one proceed to generate an HTML annotation or a Text annotation for all points in a shapefile? They are all points. What I want to do is load up a shapefile containing coordinates and values ...
2
votes
0answers
104 views

Can HTML annotations be autogenerated for each location in QGIS 2.4

Can HTML Annotation Boxes be autogenerated on the whole map, linked to locations, and always have the same html file loaded for all of them?
1
vote
0answers
39 views

using gzipped js files in windows 8 OS

Previously, we were using a private ISP to run our web site. They were using LINUX. We could use js.gz files to serve interactive maps. Now, we have our own server with Windows 8 OS. How we can serve ...
3
votes
1answer
325 views

Using interactivity from multiple layers produced in TileMill in a single map

I have a MapBox.js map with several layers here . I would like to be able to use TileMill's teaser and full interactivity on a few of the layers, but I have only been able to accomplish this for a ...
0
votes
1answer
579 views

Bootstrap3 Resize map height for phone

I have a leaflet map in a bootstrap 3 html application. I have content both above and below the the map which has a height of 600px. When I access the application from a phone, the width of the map ...
1
vote
0answers
156 views

Identify Toggle Layers with Attachments

I was looking at this fiddle http://jsfiddle.net/neWnE/1/ and trying to see get attachments to work. Since it uses the popuptemplate I should be able to add the showAttachments: true to it to get ...
1
vote
1answer
2k views

Function to add layer with button click

I'm working with openlayers and geoserver to create a map and overlay layers. I need to add a layer when a button is clicked, but what I get is that the layer is added ( i can see it through the layer ...
-1
votes
1answer
780 views

TitlePane not rendering - working with basemapGallery sample code 2

I'm having the exact same issue as this question: TitlePane not rendering - working with basemapGallery sample code but the solution doesn't work for me. my javascript: ...
3
votes
3answers
2k views

Integrate Leaflet map into PDF

I am current in the process of writing a thesis. Being in the field of GIS it obviously involves some maps ;). While the whole world switched to interactive online maps, Universities still require to ...
1
vote
1answer
202 views

Placeholder Text in search box - Cartodb

I am trying to add placeholder text to the Cartodb searchbox using the following DOM code document.getElementsByClassName('text')[0].placeholder='Search Your Constituency'; It actually does not seem ...
-1
votes
1answer
733 views

Creating static popup that displays local web page? [closed]

I am using OpenLayers 2.11 and would like to place a marker on my map which, when clicked on, would open a popup which then loads a local web page. I would like the popup to be located in the lower, ...
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: <...
2
votes
1answer
534 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"&...
0
votes
1answer
1k views

Creating static popup in OpenLayers that contains HTML content?

I would like to create a static popup using openLayers 2.11 which is always in the lower-right corner of the screen and appears on map load. The idea behind this is to have a logo for my school ...
1
vote
1answer
881 views

OpenLayers pan to CQL filter result

I'm new to OpenLayers and looking for some help. I would like to filter my shapefile with CQL and display the result. (that's actually working :-) The Problem is that I don't know how to pan the map ...
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
183 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 ...
0
votes
2answers
396 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
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/ ...
2
votes
1answer
204 views

pgRouting and Openlayers error when insert controls variable

I've got another problem here :( I'm following the foss4g_w12 tutorial for building a pgRouting WebApp using openlayers, everything goes well until I added the following statement to my code: ...
0
votes
1answer
529 views

Mapbox markerLayer from GeoJSON with prompt as input not working

I am trying to display a pin on a map. It works fine if I code the GeoJSON data into the script of my file. If I try to insert the GeoJSON data via a user prompt, it doesn't work. The variable must be ...
2
votes
4answers
4k views

How to create working Hyperlinks in OnDemandGrid Cells

I'm creating a simple ArcGIS application that shows a table of data from a feature layer, one of which is a URL string. I'd like to make that string be a clickable hyperlink. Is this possible and if ...
0
votes
2answers
679 views

storing images in mysql from WebGIS applications

I'm a complete amateur at writing code. I would like to make an application for storing LNG, lat, and other data, as well as images in mysql. I've set up, I made a separate application for storing ...
0
votes
0answers
176 views

Geoserver 2.4.0 via the web admin interface, not adding layers in Internet Explorer, but working in Firefox

For some reason I cannot seem to add layers via Internet Explorer, but I can via Firefox 23. In addition the styles that I upload also appear broken in Internet Explorer 8, but do not in Firefox. Is ...
3
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
1answer
112 views

Global timer JavaScript in KML

I have a timer script which shows the time of system in Description tag <script type='text/javascript'> setInterval('tick()',50); //tick is a plugin and 50 is in ms delay time function ...
0
votes
2answers
181 views

Own layerswitcher value not defined

I am trying to write my own layerswitcher because I want a dropdown box (and later a second one) My Webinspector says: Uncaught TypeError: Cannot read property 'value' of undefined but I cannot find ...
2
votes
0answers
1k views

Does SVG offer better performance than plain HTML to render text labels in Leaflet? [closed]

I'm using Leaflet built-in L.DivIcon to add text labels to my map. Text labels are rendered in simple HTML divs and can be rotated and scaled using CSS based on values obtained from geojson data ...
2
votes
1answer
1k views

Search Functionality using Cartodb API

I posted a similar question about this a month or so ago and I was still in early stages of researching the problem thus not to many results came from it .After some time and effort I have come close ...
0
votes
0answers
164 views

HTML Popup Database Actions

I'm working on a collection of points on the map, each comes with a bunch of properties. I succeeded using a customized XSL template to show the information when I click on any point. And now what I ...
3
votes
1answer
3k 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 ...
2
votes
1answer
10k views

How to zoom to specific Openlayers point feature on map?

I'm creating website for divers in my country and beside all standard contents and informations it also offers a map which shows some diving clubs, locations and similair. I also have table with ...
2
votes
3answers
15k views

How to embed a coordinate pair within URL to search OpenStreetMap, Google, Yahoo or Bing Maps

Is there a way to embed a latitude longitude coordinate pair within a url link to search for a location on either OpenStreetMap, Google and/or Bing Maps? I'd like to use the url link within Excel, ...
0
votes
0answers
550 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/...
3
votes
1answer
1k views

Add button to map

I know this is a a stupid and direct question. How do I add a button to a normal map? Example: http://developers.arcgis.com/en/javascript/samples/map_simple/ I'm finding a way to make a button ...
1
vote
1answer
683 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 ...