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
3k views

How to zoom to specific Openlayers point feature on map?

I'm creating website for divers in my country and beside all standard contents and informations it also offers a map which shows some diving clubs, locations and similair. I also have table with ...
1
vote
1answer
268 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
340 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
1k 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
311 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
466 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
1k 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
1answer
47 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
43 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 ...
1
vote
0answers
88 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
86 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
29 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
31 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
21 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
64 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
205 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
124 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
432 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
376 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
193 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
790 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
105 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
78 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
65 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
30 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
30 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
157 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
326 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
120 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
123 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
520 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
127 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
594 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
432 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
234 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
18 views

OpenGeo Suite - Possible to create input form

Is it possible to create a user input form such as a simple HTML form to take user input? The aim of this is to add the user input to the geom data in the DB.
0
votes
1answer
45 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
0answers
43 views

How to make the value showing on a leaflet heatmap like this one?

I'm attempting to use leaftlet.js, and heatmap.js (github.com/pa7/heatmap.js/) following this example: www.patrick-wied.at/static/heatmapjs/example-heatmap-leaflet.html But I want to show the value ...
0
votes
0answers
19 views

how to make my dropdown menu appear in front of the rest

I work with Dreamweaver. I have a Navigation bar with one class having a Dropdown menu. when the Dropdown menu appears, a part of it is hidden behind the rest of the page (in my case behind a ...
0
votes
0answers
56 views

Delete rows with unfilled cells in HTML pop-up table in ArcMap

When my html pop-ups are clicked I'd like them to only show the Fields that have information in the corresponding cell eg. Cell 1; Notes: Cell 2; Translational Landslide. However if there isn't any ...
0
votes
1answer
90 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 ...
0
votes
0answers
44 views

Positioning a Map

Somebody recommended me to use this site:- http://cs2cs.mygeodata.eu/ after I explained that this coordinates[-28.23078, 28.30707] which belongs to Bethlem in South Africa centers the map to towards ...
0
votes
0answers
30 views

qgis action html

I'm a newbie in QGIS and python. I made a QGIS Action with parameters [% attributename %] that works fine. import urllib2 req = ...
0
votes
0answers
60 views

Connection to Shapefiles and PostGIS

I have this HTML (see below) code, I want to connect to PostGIS to the Shapefiles I have loaded, but I can't find where and how to accomplish that. I want my map to display this Shapefiles when the ...
0
votes
0answers
20 views

How to choose entrys in pgr_kdijkstrapath over checkbox in HTML?

I want to create a GIS, where people live at pre-defined places(all of them play a defined musical instrument). A route should be created from these people to the place where they play together. It ...
0
votes
0answers
42 views

Leaflet marker coordinates to GeoServer

I'm trying to display a Circle using GeoServer+Leaflet(HTML).I am using an address search tool which displays a marker. I would like to use the marker coordinates as center of the circle with leaflet. ...
0
votes
0answers
71 views

How to Show the Lat/Long of Marker in a Textbox if it has been clicked

function getInfo() { $.getJSON("get_info.php", function (data) { for (var i = 0; i < data.length; i++) { var location = new L.LatLng(data[i].lat, data[i].lng); ...
0
votes
0answers
28 views

Esri API Web-Map and horizontal footer Scroller on Mousewheel

I am designing a webpage whereby the footer section of the page is to scroll horizontally, using the mouse wheel. There seems to be a conflict between the Esri library and the JQuery script I found ...