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
247 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 ...
3
votes
1answer
808 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
547 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 ...
7
votes
2answers
58k 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
213 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 ...
0
votes
1answer
39 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: ...
1
vote
1answer
409 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" ...
6
votes
1answer
534 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 ...
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 it's checkbox is checked and vanish if it gets unchecked. I tried to call a ...
0
votes
1answer
258 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
57 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
50 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
14 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
33 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
10 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
103 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
9 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
39 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
40 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
145 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
51 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: ...
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
35 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
36 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
71 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
38 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
55 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
24 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
763 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 ...
0
votes
0answers
12 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 ...
0
votes
1answer
52 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
88 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
21 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
244 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
19 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
91 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 ...
0
votes
1answer
40 views

Timing external javascript with ArcGIS Online embedded map

I have an ArcGIS Online time-enabled map on a webpage. When the map loads, the time slider begins moving. I would like to have a chart that moves along with the time slider, but I don't think ESRI has ...
1
vote
4answers
3k 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 ...
1
vote
0answers
30 views

WebMapping Charts Overlap Issue LeafletJS

I am a beginner in webmapping development using LeafletJS and JS. I am the owner of the website built under LeafletJS. I have faced some problems with charts overlapping. On the right top of the map ...
3
votes
2answers
311 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 leafle; Example works. I wanted to do the same just by displaying ...
0
votes
0answers
39 views

Which expression are working in the HTML frame in QGIS print composer

I'm using the HTML frame in the print composer. I would like to automatically insert data like $scale and the name field of the Atlas layer. Till now I only got the date working ...
4
votes
2answers
375 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"), ...
0
votes
1answer
166 views

CartoDB layer not showing up on over mapbox layer but legend is

Currently, the legend is only displaying but not the layer. NOTE: I am trying to run the web map on a bootstrap modal, hence you will see: $('#webmap-modal').on('shown.bs.modal', function() in the ...
0
votes
0answers
27 views

Changing color of individual parcels in CityEngine?

How do I change the color of individual parcels (i.e. specific section of a layer) using CGA codes in CityEngine? I have 4 sections within my layer and I need to change the color so that each one ...
1
vote
0answers
40 views

Inserting search box using dataset column using CartoDB?

I have got some problems to add a search box that can runs searching points from a column of my dataset. I've read this article: How can I link the search box to a dataset column in CartoDB? but ...