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
23
votes
4answers
5k views

Offline tiled map web app

I'm not sure whether to post this here or on Stackoverflow, as it's sort of a crossover. Let me give it a try. In the proposed HTML5 standard, there's the option of storing web application data in a ...
17
votes
6answers
2k views

What embeddable web-based maps exist?

Some of the ones I'm familiar with (in no particular order): Google Maps (http://code.google.com/apis/maps/index.html) Bing Maps (http://www.microsoft.com/maps/developers/) Yahoo Maps (http://...
15
votes
4answers
27k 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 ...
13
votes
4answers
5k views

Which framework is best to implement an application robustly, using ArcGIS Server JS API?

Over on the Esri forum, user Matt Moyles suggested that the approach used in the Esri JS samples isn't suitable for robust development of a web mapping application using HTML, JavaScript and CSS: ...
12
votes
2answers
138k views

Getting coordinates from click or drag event in Google Maps API?

I have made a Google Version 3 Geocoder , I want to be able to pick up the coordinates of the marker when it is dragged or clicked. Below is my code: <!DOCTYPE html> <html> <head> &...
12
votes
1answer
2k views

Transform metadata in xml format to html

I extract metadata from the GDB_UserMetadata SDE table. Now I want to transform that xml to html so that I can view it from my browser. To do that I use the ISO.xsl stylesheet found in C:\Program ...
10
votes
3answers
340 views

What's a good library for displaying many small maps on a web page

I would like to create a visualization on the web similar to the following: http://namemapper.babynamewizard.com/namemapper/ Are there any good libraries for doing this? Is OpenLayers light-weight ...
9
votes
1answer
895 views

ESRI HTTP where query

A friend and I are currently creating a pretty straight forward LINQ to ESRI library that sends HTTP queries to an ArcGIS MapServer and then parses the JSON response appropriately. Everything is ...
8
votes
3answers
21k views

How to display a Shapefile on a browser? -offline-

Plot points on a Shapefile like this: https://github.com/gka/pyshpgeocode and then convert it to HTML and display it on a browser? Is this practical method to display the map on a browser? Any cons ...
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'] + "\">" +...
7
votes
2answers
5k views

how to display simple arrow on the map in R using Leaflet

I try to display an arrow on the map using R and the leaflet package, code of map see my related question: # install packages install.packages(c("rgdal", "maptools", "leaflet", "htmlwidgets"), ...
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 ...
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 ...
6
votes
1answer
590 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 ...
5
votes
2answers
5k 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 ...
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: <...
5
votes
0answers
242 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 ...
4
votes
1answer
10k views

toggle visibility of a Layer in Openlayers 3(!) with a Checkbox

I have some vector layers on top of a tiled layer and a checkbox for each vector layer. I want a layer to be visible if its checkbox is checked and vanish if it gets unchecked. I tried to call a ...
4
votes
1answer
859 views

OpenLayers 3.5 WFS-T update to GeoServer 2.7 raises StringIndexOutOfBoundsException

I am using ol.format.WFS.writeTransaction() (OL3.5) to generate WFS-T statements. This works well for insert and delete. The problem is with the update statement. Any update statement returns ...
4
votes
2answers
536 views

Why is the Button code on the ArcGIS.com sample viewers so complicated?

I'm trying to modify one of the ArcGIS.com sample maps to add my own buttons, and I'm surprised at how complicated the HTML page is. Here is the code for the simple "Details" button at the top left ...
4
votes
1answer
149 views

How can I write in really big font size using a QGIS html box?

I'm making a map that needs to combine different fonts and different types (italic, bold) in the same line. The QGIS text box can let me style the box using more conventional cartographic properties, ...
4
votes
3answers
984 views

Export from GIS to static html clickable hypermap?

What plugins or tools are available to conveniently export a GIS view to a html clickable hypermap? Since 2005 or so we use a commerial plugin for ArcGIS, We have a working example of the output ...
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 ...
4
votes
1answer
2k views

How to embed ESRI maps on my website

I've got a website where I'd like to insert maps with some placemarks (restaurants, points of interest, ...). I'm tired of Google Maps and like to use ESRI basemaps. Is it possible to do this? I'd ...
4
votes
1answer
3k views

How to display Radius after Resizing a Feature in Openlayers

@captDragon has helped me with calling the coordinates of a polygon after I have resized or dragged the feature. Ineed the radius now, i have done a radius alert on my other map,Which works correctly, ...
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 ...
4
votes
1answer
77 views

Dollar signs in QGIS map tip URLs?

I am linking from QGIS to a FileMaker Pro record using links in HTML map tips. I can call the custom url scheme fmp:// with an IP address without issue, but as soon as I include the dollar sign ($) in ...
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 ...
4
votes
1answer
758 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 ...
3
votes
2answers
7k views

How do I embed the a Leaflet map into my web page, using QGIS2Leaf?

I am generally new to web developement, and web gis for that matter, but I want to embed a leaflet map that I made in QGIS using the QGIS2leaf pluggin, into the html of my webpage, but am having ...
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" ...
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
8k views

How to let the user resize a Leaflet map <div>

I use Leaflet to display some map. I would like the user to be able to resize the map by dragging its borders as she likes. I would like to do this without additional Javascript libraries, instead by ...
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-...
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" ...
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 ...
3
votes
2answers
551 views

Many of the Esri samples fail the WC3 HTML validator. Is this a problem?

I'm running into problems with some ArcGIS Server JavaScript code (page elements are positioned different in IE than FF/Chrome), so I checked it against the HTML validators at http://validator.w3.org ...
3
votes
3answers
365 views

Using Wordpress with GIS? [closed]

I am building a community-run map of neighbourhood stories that should feature photos, text, audio and video recordings. Ideally, I hoped I could use a powerful and relatively user-friendly CMS like ...
3
votes
1answer
9k 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 ...
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", ...
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 ...
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 ...
3
votes
1answer
329 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 ...
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 ...
3
votes
3answers
5k views

HTML5 maps with dynamic data instead of Flash

I was wanting to create maps on our site similar to http://globaledge.msu.edu/Countries/Rankings except that we want the maps to be HTML/HTML5 instead of Flash. (The above site is the site that I'm ...
3
votes
1answer
217 views

Generating global view Image of where Lat-Long location is?

I would like to automatically generate an image which highlights a location from a global view. Here is an example of what I would like to achieve: I am debating using python utilities such as ...
3
votes
2answers
91 views

Hosting HTML files so they are accessible through AGOL

I recently made a web mapping application using the ArcGIS for JavaScript API, but I am having a difficult time making it accessible to users of my organizations AGOL account. I naïvely thought I ...
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 ...
3
votes
1answer
816 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 &...
3
votes
1answer
314 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 ...