Questions tagged [html5]
HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It was finalized, and published, on 28 October 2014 by the World Wide Web Consortium (W3C). This is the fifth revision of the HTML standard since the inception of the World Wide Web.
56 questions
9
votes
1
answer
528
views
Does QGIS support HTML5 and CSS3?
I know that I can put HTML and CSS, and QGIS will render such code but some CSS styles like grid and pseudo-selectors are not working. Thus I wanted to know what level of support is there especially ...
7
votes
1
answer
9k
views
Offline SLIPPY Map (Tiles) Database for Leaflet
How can create an offline cache of a large number of SLIPPY tile (PNG, 256x256) inside a web browser and then display them from that offline cache. For example, can one use HTML5 IndexedDB as an ...
7
votes
2
answers
4k
views
How can I zoomToExtent and then zoom out?
I use openlayers 2.12
I use HTML5's geolocation API to get the coords and then I insert them in a layer as feature (point). After that, I zoom in , since the layer has no other feature.
map....
6
votes
2
answers
9k
views
How to use Canvas element with OpenLayers?
I would like to use element canvas of HTML 5 in OpenLayers to render maps.
I am searching some code or reference in which I can check it, can you help me in this?
6
votes
2
answers
9k
views
OpenLayers canvas renderer - redraws all features on selecting a single feature
I am currently trying to learn more about OpenLayers, and I'm coming up against performance / behaviour issues that I wouldn't expect to see. To elaborate...
I have combined this example for ...
6
votes
4
answers
3k
views
How did OpenLayers 3 managed to export map from other domain?
As far as I know, you cannot use canvas.toDataURL() on a tainted canvas (i.e. cross-origin). Looking at this example it seems the tiles are coming from different origin (tile.openstreetmap.org). How ...
5
votes
2
answers
14k
views
Coordinates(Latitude, Longitude) are different at same place on iPhone and Android devices, why?
I used HTML5 code for getting coordinates on Android (HTC desire s) with GPS enabled and iPhone (3gs). But the latitude and longitude are different on both devices at same place, why?.
Difference ...
5
votes
1
answer
4k
views
Load Leaflet map in canvas element
I am working with leaflet tiles loading tiles to a map div
http://jsfiddle.net/tBCd5/
I am now playing with some html5 canvas distortions like below
http://jsfiddle.net/UF4PK/
It would be cool to ...
5
votes
1
answer
3k
views
Off-screen canvas rendering technique in Leaflet
I'm looking for an open source implementation of the off-screen canvas technique in Leaflet. This technique is useful to speed rendering of many thousands of like images to an HTML5 Canvas: The image ...
4
votes
1
answer
1k
views
HTML5 Geolocation with ArcGIS for JavaScript API?
My organization would prefer to use its own basemaps rather than those provided by ArcGIS Online due to the accuracy of information that is represented in them. The area we service is rapidly ...
3
votes
2
answers
7k
views
Dragging and dropping images into Leaflet map to create image markers?
I am using Leaflet. I need to make custom, draggable, resizable icons for the map, using custom images that are set inside a sidebar as such:
<div id="mySidebar" class="sidebar">
<a ...
3
votes
1
answer
8k
views
Building Floor Plan map using OpenLayers and json
How to show map of building floor plan using OpenLayers and json.
moreover, i want to know that how to change features dynamically with zoom based from json files. Let's take example,
Initial the ...
3
votes
1
answer
181
views
removeLayer or removeFrom(map) not working on betterwms layer from leaflet map
I have this HTML checkbox:
<li>
<input type="checkbox" id="bairroCENTRO-checkbox">
<label for="bairroCENTRO-checkbox">Bairro</label>
</li>
...
3
votes
2
answers
4k
views
Adding own logo to the bottom of the cesium application
I would like to add my own logo at the bottom of the cesium application. I would like to know which file in cesium should use to make this possible.
3
votes
2
answers
769
views
Showing a specific sound file as a pop up in ArcGIS Online based on a variable
I am trying to configure a pop up on a webmap in ArcGIS Online (Organisation).
I want the pop up to show a small audio player pointing to an mp3 file.
I want the mp3 file to change depending on what ...
3
votes
1
answer
3k
views
OpenLayers 3 measure example
Here is my fiddle, which is exact copy of Openlayers 3 measure example.
What am I doing wrong when my fiddle isn't working? I can't see the blue dot to start measuring my path or area (same problem ...
3
votes
1
answer
1k
views
Filtering GeoJSON layer on Leaflet map based on date selected by user
I want to filter the data on map based on the user selected date, i have a simple dataset with attributes as id,color, date (displayed in image below)
I worked out partly how to filter the data by ...
3
votes
0
answers
3k
views
Explaining ${z}/${x}/${y}.png for offline map?
Im trying to build map with OMS under Linux (Ubuntu) to made an offline apps. Im working with Ionic and building just for Android for write now.
I have the base code:
var map;
function init(...
2
votes
1
answer
3k
views
Set center on Mapbox GL map
I have a form HTML, e.g. like this:
<form id="form" method="post" action="#">
<input class="sidebar__input" type="text" name="lat" id="latitude" />
<input class="...
2
votes
1
answer
1k
views
Using Python to publish a JavaScript webpage
I am building a series of HTML web maps for a client (5000 location maps all HTML). I have a python script to execute a basic set of HTML tags to build a specific web page (Call this page 1). The ...
2
votes
1
answer
3k
views
Creating popup forms with Leaflet (L.Draw). How to implement listeners for radio buttons and other input groups?
I am attempting to create a map-based survey using Leaflet popups and specifically L.Draw, because I want users to be able to insert markers where ever they want to and then answer certain questions.
...
2
votes
1
answer
1k
views
Web App Builder and browser caching
At the request of my superiors, I'm having to make 1, sometimes multiple changes, to Web App Builder Developer sites throughout the day that include (searches, pop-ups, custom widgets, etc). Upon ...
2
votes
1
answer
265
views
Unable to execute WPS GET request in OpenLayers 3
I am working on a Web GIS development application and using GeoServer 2.11.1, OpenLayers 3 and WPS extension v1.0.0 on Windows 7 and Ubuntu Linux 14.04.
Objective: My objective is to use buffer for ...
2
votes
1
answer
2k
views
How to set scale range for a Graphic Layer in ArcGIS API
I am trying to set a Scale Range for a graphic layer using ArcGIS API in HTML5, so that the graphic layer is not visible on zooming beyond that particular ScaleRange.
For the same I have googled and ...
2
votes
1
answer
66
views
Customizing map layers in Esri Javascript
I'm working on creating an outdoors-app-thingy where I'm required to divide up parts of 3 different rivers where the app is focused around into different "zones".
After a lot of calling ...
2
votes
1
answer
484
views
Ol3 Boundless - layer selector placement
I recently started playing around with ol3 + boundless. I created the edit application using > suite-sdk create myApp ol3edit.
I am trying to move the layer view/selector from the map to a .col-md-...
2
votes
1
answer
290
views
Input a number for user's number entry
The following code works fine. When I click the "Test Play/Stop" button a series of points from the 'geojson' list are drawn with popup attributes one by one. The time interval is defined by the ...
2
votes
1
answer
1k
views
Drawing WMS layer with Attribute-Based Dynamic SLD to HTML Canvas?
I'm working on an app using GeoServer and OpenLayers 2.13.1. I have several WMS layers and I need to export whatever in my openlayers map div as an image. After researching, I found this blog: http://...
2
votes
1
answer
1k
views
HTML5 local storage for tile maps and feature layers using ArcGIS Java Script API
I am developing a mobile arcgis application I want to store data locally so that when a user is offline he/she can use the maps. I want to store tile layers,feature layers and a table data.
Any ...
2
votes
1
answer
990
views
Pure html based indoor navigation
I would like to locate (position) people inside buildings without forcing them to download a native app. I'm focusing on iOS and Android devices.
I therefore thought about wifi triangulation (...
1
vote
1
answer
424
views
Retrive WMS layer info in a geoportal using Open Layers
I've created a viewer using Open Layers 6. Within the script, I've got the following code to retrieve the info of a WMS layer, and it works fine, added directly into the html file within the section.
...
1
vote
1
answer
2k
views
Tooltips are not captured by leaflet-image
I am trying to capture my map with leaflet-image, but the tooltips are not captured. I enabled preferCanvas in the mapOptions and everything except from the tooltips is captured. Each one of my ...
1
vote
2
answers
6k
views
Serving a map completely offline?
What is the easiest way to deliver a map completely offline? E.g. like if I wanted to package it up and put it on a mobile device that is not in range of wifi.
How would one serve up map tiles w/o a ...
1
vote
1
answer
3k
views
How to introduce variable time interval in "window.setInterval(function() {..." segment?
The following leaflet codes draws a series of markers one by one. How to introduce variable time interval in "window.setInterval(function() {..." segment?. I want to display each marker for the time ...
1
vote
1
answer
1k
views
OpenLayers 3 WMS layer to canvas
I am taking the context and taking it to a canvas which was asked here and the answer can be found in this JSfiddle example.
However, I am looking to load a WMS layer from geoserver and extract only ...
1
vote
1
answer
111
views
How to break markers drawing which is in progress
The following leaflet codes draws a series of markers one by one. I don't want to wait until all points are drawn. How to break the drawing process before it ends and clear the screen?
<!DOCTYPE ...
1
vote
1
answer
2k
views
How to protect the loaded json file name and location using html5 and javascript?
The data of markers (not the map) is stored in a json/csv/js file. We want to show all data as markers on the map. But how to protect the raw data file from public access?
Following the example on ...
1
vote
1
answer
237
views
ArcGIS API for JavaScript - Adding Point(s)
I need to add a single point, I am new to JS and ArcGIS API. I was looking for some code examples on how to create a point and/or a few other points (as needed) I can't use any additional pages/...
1
vote
1
answer
158
views
Adding multiple Dom Nodes in Content
I am using a popup on my mapView from arcGIS API for Javascript 4.17. When the user opens the popup, I have set the following attributes:
view.popup.open({
// Set the popup's title to the ...
1
vote
0
answers
86
views
Connect pg routing to HTML webpage for routing application
I am trying to create a web based routing application for my final year project. I am currently trying to connect my web page with pg_routing. I have all my features loaded in GeoServer and PostgreSQL....
1
vote
1
answer
2k
views
Custom styling for cluster images in OpenLayers 3?
new with OpenLayers 3.
While it is possible to generate simple polygons and circles (like in the cluster example) I wish to generate a more complex Cluster style that varies depending on the features ...
1
vote
1
answer
665
views
How to add a polygon in Google Earth on a Website
As it is said in the title i have to add a polygon in Google Earth which is integrated in a website.
I managed to integrate Google Earth in the Website, so i can view the world but i can not use any ...
1
vote
0
answers
358
views
Raster overlay with different projection in Google Maps
I have a map created with Google Maps. I want to overlay over some data I am downloading dynamically, covering the whole world. That data is a matrix as follows:
1024 values for the longitude (fixed ...
1
vote
0
answers
364
views
Converting Google Maps API to DOJO/ArcGIS API for JavaScript? [closed]
I have a GIS webpage in HTML5/JavaScript using the Google Maps API. I found out we can no longer use the Google Maps imagery provided, and I need to switch to ESRI Imagery (free).
Can someone help ...
0
votes
2
answers
373
views
How to convert web-map website to mobile phone [closed]
I created simple web-map application,It works perfect on Desktop,but when I open on mobile or tablet then their is size problem.
When I open web-map in mobile then all the web-map content size are ...
0
votes
2
answers
2k
views
Read position from windows tablet GPS
I have a Lenovo Miix 2 tablet and I am developing a project with a Java servlet. I want to read GPS data in my project. Can I read this data using Java? and/or HTML5?
update:
In this project, I can't ...
0
votes
3
answers
4k
views
ArcGIS API for JavaScript - Create simple buffer or circle graphic against one point
I am stuck, trying to figure out how to create a simple graphic for adding a circle based on one point in my web map. I need the circle to be centered on my single point, with a radius of 5 miles. I ...
0
votes
1
answer
359
views
Javascript HTML web maps
I am very new to javascript and html. I am trying to display a web map, which works, but my issue is trying to figure out how to add a local geojson file to my html code. Here is what I have so far:
&...
0
votes
1
answer
903
views
Adding multiple points to the GraphicLAyer in aRcgis API for JavaScript 3.18
I am using ArcGis API for JavaScript 3.18 and I wanted to make a simple map with multiple points that display a short description when I click on them but I have issue with defining multiple points on ...
0
votes
1
answer
4k
views
Loading Leaflet raster layers asynchronously before adding them to the map?
I am working on a web application where users can view sequences of 5-10 GeoTiffs overlaid on a map, and played like a slideshow - show the first Geotiff, wait a few seconds, show the second, and so ...