The main markup language for displaying web pages and other information that can be displayed in a web browse

learn more… | top users | synonyms

1
vote
1answer
42 views

How to load html file with leaflet map using PyQGIS

I have simple .html file with leaflet map layers. I want to load these layers in QGIS mapCanvas with ability to choose one of the layers. How can I load this .html and show one of map layer with using ...
0
votes
2answers
326 views

allow client to upload Layers to Openlayers 3

I want to allow the clients to add vector layers in form of a geojson to openlayers 3. It should look like in this fiddle . I know how to add multiple layers but I want the client to be able to add a ...
3
votes
1answer
844 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
576 views

How to add custom basemaps to BasemapGallery

I would like to add my own custom basemaps to the BasemapGallery. Is there any way I can create my own BasemapGallery with only my maps? I am using the ArcGIS API for javascript. EDIT: for clarity I ...
0
votes
0answers
25 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="...
0
votes
0answers
11 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-...
0
votes
1answer
234 views

How to add arrow symbol in legend of CartoDB?

I have been trying for some time now to get an arrow to appear in my legend in a CartoDB visualization - it is one of the simple visualization marker options along with the standard "ellipse", so I ...
1
vote
0answers
34 views

Dynamic column header in datatable from json array?

I want to populate datatable with dynamic column header and column data,i can populate dynamic column data successfully,but i cant achieve dynamic column .. I am using json array. My code is <...
1
vote
1answer
416 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"&...
3
votes
1answer
46 views

How to Pass geojson array to datatable dyanamically using javascript

I want to pass one geojson file to dynamically created datatable using javascript,I am unable to identify column names in file.. I have tried this.. <body> <table id="example" class="...
6
votes
1answer
537 views

Why do ArcGIS Desktop 10 HTML popups give JavaScript/HTML Error?

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 ...
-3
votes
0answers
19 views

div 'map' in 3 part [duplicate]

I wanted to split the div 'map' of 3, part contains the map, another the legend and 3rd layers with leaflet image
0
votes
1answer
2k 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 ...
0
votes
1answer
57 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
11 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({ ...
1
vote
1answer
254 views

Is it possible to embed python in code for HTML pop-ups in ArcGIS

When clicking a point feature I want the html pop-up to not only contain the data of the feature but also an image of the area around the feature (eg. 2 km^2). The image would have the base map 'World ...
7
votes
2answers
61k views

How do you get the coordinates from a click or drag event in the Google Maps API V3?

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> &...
0
votes
1answer
56 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-...
0
votes
1answer
272 views

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

i have the following problem: my target is a hybrid app with leaflet. I create a dropdown menu with html/CSS/JQuery. Here is the code: <nav> <ul> <li id="menuPoint1"><image ...
3
votes
3answers
63 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
1answer
13 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
70 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
0answers
18 views

ArcGIS Online Inserting Image Problem

Within a story map application I am trying to add pictures to the titles. I am adding the picture through HTML code and it works, but for some reason it adds a maximize button to the image. This ...
0
votes
1answer
38 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'> <...
0
votes
0answers
18 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?)
0
votes
0answers
193 views

Google Maps API : Picklist on markers

I need to change the markers colors by showing a picklist onclick. For example: A red Marker, with the inner info 'Red', when clicked shows a picklist with others colors (blue, black,... ), when ...
0
votes
0answers
16 views

print x/y coordinate within a getmap request in php

I have created a webservice in php, where you can enter a zipcode and housenumber. By pressing submit on the website, the php will build the url with its bounding box based on the input. I echo the ...
0
votes
1answer
41 views

stylizing/symbolize openlayers based off GML

I am completely new to OpenLayers. I created a GML using QGIS and would like to call data from it. It isn't stylized (specific icons per attribute). I would like to stylize/symbolize the data using ...
0
votes
0answers
60 views

OpenLayers 3 doesn't show KML layer

I'm trying to add a KML layer in OpenLayers 3 but nothing is showing. Here is my script: var projection = ol.proj.get('EPSG:3857'); var mapa = new ol.layer.Tile({ source: new ol.source.OSM() });...
4
votes
1answer
228 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'] + "\">" +...
0
votes
0answers
86 views

Javascript ApI errors from chrome console:Uncaught TypeError: Cannot read property 'domNode' of undefined

I am using Javascript API(CMV Template) for customizing my search widget. The widget will be shown as a link on a website header. But it kept returning errors. Error1: js/gis/dijit/Search_SMILE.js:...
1
vote
1answer
36 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 ...
0
votes
2answers
41 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. ...
0
votes
0answers
12 views

Issues using GE embedded map with KML

I am using an embedded google earth map in html for a website and am having issues manipulating a neighborhood boundary KML. Is there a way to actually jump into the imported KML and change the color ...
1
vote
1answer
38 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 ...
1
vote
1answer
85 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
56 views

HTML framework in QGIS development version?

I need to insert an HTML frame in the QGIS developer version. That works very well. Now I will also create a title page as HTML. Now my question is which program I best create the HTML that it rejects ...
1
vote
0answers
27 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 ...
0
votes
1answer
800 views

Transfer Data from Database to Leaflet POP UP

How do you show data from database to leaflet pop up? Here is my code in php select command <?php $db = new PDO('mysql:host=localhost;dbname=poi', 'root', ''); $sql = "SELECT name,user_date,...
0
votes
0answers
14 views

Way to update and style multiple features within KML

I am trying to find a quicker, automated process that will enable me to update multiple line features within a KML. The geometries are initally created and styled from QGIS. Currently, I run through ...
3
votes
1answer
44 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 ...
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://...
0
votes
1answer
73 views

Leaflet/GeoJSON - Changing the default blue marker to other .png files

How can I use different .png files to symbolize my GeoJSON data? I have one property in my GeoJSON file that I would like to symbolize the data by (feature.properties.issue). For each different issue ...
2
votes
2answers
106 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 ...
0
votes
0answers
22 views

Creating Interactive Web Map? [duplicate]

After a bit of help. I am looking at creating an interactive map for a website. There seem to be hundreds of different ways of approaching this. Wondering if anyones got any really good examples of a ...
2
votes
1answer
1k 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
259 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 ...
1
vote
0answers
21 views

Customize QGIS Leaflet webpage [closed]

I created a webpage QGIS map using the Leaflet plugins, how to customize , put mouse over, then features will zoom automatically while you mouse on click on the map features, and also automatically ...
1
vote
1answer
108 views

Leaflet js circle doesn't showing on map

I have a leaflet js app that use circle. It works fine when i dont put the script to my html template (I use SingApp template). But when i integrate the script to template, circle does not appear on ...