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
2answers
917 views

User Input in Openlayers Problem

I thought you could give me some advice regarding my problem. I have a working WFS Layer and I want to be able to type in some text which then should be used as the filter value. Afterwards the map ...
1
vote
1answer
633 views

Unproject Radius with Openlayers with CRS:84 Projection

I have made a Openlayers integrated map that lets you draw a circle, On completion of the circle I have told the map to give me , Bounds, Center Long and Lats, and lastly the radius. My problem is ...
1
vote
1answer
30 views

CartoDB toggle buttons not working with my data?

We are taking CartoDB data for this Canadian election map -- http://cdb.io/1TabLyz -- to create a version that adds toggle buttons to filter by political party. However, the buttons only work ...
1
vote
1answer
112 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 ...
1
vote
1answer
593 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
vote
1answer
378 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 ...
1
vote
1answer
289 views

OpenLayer 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 call a GeoJSON containg the position of Alp summits. I downloaded it via ...
1
vote
2answers
358 views

feature label not work in xhtml file

Good Morning: I have a problem, I develop an jsf application with openlayers api, this example http://openlayers.org/dev/examples/vector-features-with-text.html work fine with html page, but when I ...
1
vote
1answer
2k views

How do I create a basic image layer as a base layer in OpenLayers?

I'm trying to create a map using OpenLayers which uses a png image as a base layer but I'm having a bit of trouble. I'm not too familiar with OpenLayers as I have only come across it today and thought ...
1
vote
2answers
332 views

Using OpenLayers with OSM as map

Got this code from a teacher and I don't know what I am doing wrong! I have searched around but I can't find the error. Visual Basic shows no error. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
1
vote
1answer
490 views

load map parameters after opening new window

I am trying to open a new window from an existing window, which will contain a map with an extent derived from the original window. In other words, the user will zoom to an area in the original ...
1
vote
4answers
2k views

Map in an iFrame - open hyperlink from infoWindow in the calling page

I've got a Google Map being served inside an iFrame on a page (eg xxx.com/PageWithMap.html) The code for the Google map sits on another domain (eg yyy.com/MapCode.html) So it looks like this on ...
1
vote
1answer
1k views

Invalid filter when using MapServer as a WFS

I'm trying to use Openlayers and Mapserver to display a shapefile. My HTML file is as follows: <html> <head> <title>OpenLayers Example</title> <script ...
1
vote
2answers
45 views

Leaflet's shapefile plugin only compatible with Firefox

I created a html page (currently locally) and used Leaflet to create a basic map to which i plan to add several shapefiles. To do this, i use the leaflet.shapefile extension ...
1
vote
1answer
32 views

Simple popup for multiple WMS

I have multiple WMS in openlayers with a layer switcher and can be turned on and off. Now i have an image of each WMS, what i want is to show image of each WMS on click OF that corresponding WMS. ...
1
vote
0answers
43 views

Wrapping WTMS image & map extent

I'm using OpenLayers 3 (both v3.4 and v3.5) to display a tiled image from a NASA WMTS server and have a question about using the layer wrapX parameter on a global map. When I set wrapX=true in the ...
1
vote
1answer
167 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 ...
1
vote
0answers
141 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 ...
1
vote
1answer
113 views

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

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
0answers
30 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 ...
1
vote
0answers
36 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
24 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 ...
1
vote
0answers
73 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
0answers
228 views

qgis html annotation - scale dependent rendering?

In the QGIS 2.2 map composer, I have a large map at a certain scale (let's say 1:25000) and an inset map that is an enlargement of part of the main map (let's say 1:12500). When adding html ...
1
vote
1answer
133 views

Change The OpenLayers 3 script into openlayers 2.13

Hi all 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 ...
1
vote
1answer
541 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
0answers
442 views

How to debug QGIS Server WMS “Download of capabilities failed”?

Currently I am using a QGIS server with a linux Centos system. I am attempting the create a WMS in QGIS and upload it to my website. I have followed the instructions in the "Quantium GIS User Guide: ...
1
vote
0answers
206 views

OpenLayers Show message (Information message or Alert )(or HTML content)on the map

Bonjour, J'utilise OpenLayers et j'aiemrais afficher une fenetre affichant des messages sur la carte openLayers Voici un exemple de ce que je voudrais faire : ...
1
vote
0answers
2k views

How to populate data from postgresql using dynamic php\html listing

In the form I created, I need two fields to be dynamically populated from the database while the other fields will be manually entered and push to the database. I have written a script that is able ...
1
vote
0answers
813 views

Polymaps marker/point popup

I think my question is a duplicate of http://stackoverflow.com/questions/6525176/how-can-you-add-html-layers-to-polymaps but it seems better posted in GIS StackExchange. I'm using the Polymaps JS ...
0
votes
2answers
135 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 ...
0
votes
1answer
175 views

Loading GeoJSON data into an array with OpenLayers 3?

First off I'm using OL 3.6 with no additional plugins. Pretty simple question that I thought would have been asked already/would have been much more readily available, is there a way to store points ...
0
votes
1answer
187 views

Map.addLayer() is not working

I am creating an app with leaflet that shows a route on a map based on the button clicked. For example when you click on "button1", the associated route is successfully displayed on the map (i.e. ...
0
votes
1answer
106 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 ...
0
votes
1answer
467 views

Transfer Data from Database to Leaflet POP UP

Good Day too all! I just wanna ask a little question. Ahmm how do you show data from database to leaflet pop up? Here is my code in php select command <?php $db = new ...
0
votes
1answer
11 views

How to limit UI in a web scene on ArcGIS Online?

I have a web scene created and on ArcGIS Online, however, there are a lot of things that the UI shows that I don't need. I am ultimately bringing this into a story map, and I have figured out how to ...
0
votes
1answer
61 views

Image won't center in Leaflet pop-up

I am using Leaflet to create a map of points (from geojson) that will open a picture and text under the picture. The text is centered, but I am having trouble centering the picture. This seems like ...
0
votes
1answer
23 views

GeoJSON not being shown

I was trying to add a GeoJSON feature implementing leadlet, but with no avail. Cannot figure out what is going on? <!DOCTYPE html> <html lang="en"> <head> <meta ...
0
votes
1answer
44 views

Adding spaces to CartoDB HTML

Is there a way to add a non-breaking space to CartoDB legends or info windows? For instance, I have the following legend: But now I would like to add some spaces to that legend. I used the ...
0
votes
1answer
61 views

Tips for learning to work with geoserver in Javascript

After succesfully being able to work with the ArcGIS Javascript API in a webpage I want to learn to work with Geoserver. I have downloaded Geoserver and uploaded one shapefile. Now I am trying to call ...
0
votes
1answer
476 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
195 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 ...
0
votes
1answer
168 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 ...
0
votes
1answer
770 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 percenteges? Thanks
0
votes
1answer
142 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
694 views

OpenLayers map add combo in panel

I just want to add combo box on OpenLayers map panal. I dont know how to add combo to openlayer panel so currenly i have set absolute location to combobox , like this http://jsfiddle.net/4zNH6/ ...
0
votes
2answers
467 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
1answer
265 views

infotemplate getting cutoff on top or bottom of screen?

in my app, i display few points across the map. these points have infotemplate with details in them and sometimes are quite large (around 350px height) if they have alot of information associated with ...
0
votes
1answer
12 views

stylizing/symbolize openlayers based off GML

I am completely new to openlayers and am kind of learning as I go along. 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 ...
0
votes
1answer
17 views

ArcGIS Portal homepage altered without html change

After changing the region in rest services the carousel of images has stopped rotating, the white banner at the top has disappeared and icons at the bottom have shifted. Seems like a page size setting ...