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
135 views

Load geojson files from a dropdown list

I would like to load geoJSON from a dropdown list. Everything i found was internal plugin for leaflet such as leaflet-geojson-list. I have a html dropdown list but I don't know how to link my geoJSON ...
1
vote
0answers
29 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 ...
1
vote
1answer
81 views

ArcGIS Javascript Measure Widget - Location tool shows repeating icons

I am using the measurement widget in my ArcGIS Javascript application, but am having issues with appearance of the Location Tool. Everything works the way it should but for some reason when using the ...
1
vote
0answers
71 views

Validate that Openlayers GeoJSON layer is in the correct format with OpenLayers.Protocol.HTTP call

I am completely new to JS and openlayers, i am trying to figure out a way to validate the received layer with the OpenLayers.Protocol.HTTP call. I want to validate that it is in the correct format (...
1
vote
2answers
184 views

Adding properties to pop ups in leaflet maps

I have a leaflet map which display pop-ups that give the name of a country when clicked. How can I add additional properties and have them all displayed, similar to this map http://lotrproject.com/map....
1
vote
0answers
87 views

gdallocationinfo used in javascript with node-gdal?

I've been scratching my head for a white trying to figure it out if it's possible to get pixel information from my rasters using gdallocationinfo in javascript. I found node-gdal, but after reading ...
0
votes
1answer
47 views

Embedding a leaflet map onto a blog

I've created a leaflet map using maptiler. It's created a leaflet HTML file, which links to PNG images on my desktop and displays the image. How do I embed the map onto a blog such as tumblr?
3
votes
1answer
121 views

Two cartodb visualization on the same html page

I need to display 2 maps separate by vertical line on the middle of the html, it means on diferents and make some buttoms or aplicate the same zoom on both at the same time. I managed to put one ...
0
votes
1answer
43 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 ...
1
vote
1answer
71 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 ...
0
votes
1answer
66 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 ...
0
votes
0answers
33 views

ArcGIS map breaking in the web page

We are embedding the arcGIS map in to a web page in 1/8th part of the web page in right-hand side upper corner. We are using angularjs framework to develop this portal.We are are going to draw symbols ...
0
votes
0answers
26 views

ESRI story map and Jquery-ui dialog function not collaborating

I am trying to edit an ESRI story map (just the html) so that I can integrate a jquery-ui dialog box in the webmap. I have the correct links in the head, and the correct javascript piece, but for some ...
0
votes
1answer
19 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
0answers
108 views

Google Earth Pop-Up Box - Open Picture in New Window

I have a kml file of photo point locations and associated photos take at that point. The goal is to have a user click on the photo point location and have a pop-up display with the photo taken, photo ...
0
votes
0answers
136 views

Selecting Option of Select Tag by click event using OpenLayers?

I have an OpenLayers map which several POIs in it. Now I want, that the user can click on the POIs which starts an event where it posts the pointFeatures into Input Fields of the HTML the most of ...
0
votes
1answer
34 views

cesium.camera.flyTo can't be called twice inside a <script> tag

Is cesium.camera.flyTo() function a deferred javascript function? I mean this function is executed only after <script> is parsed. So what if I have to call cesium.camera.flyTo() more than once ...
0
votes
2answers
231 views

ArcGIS Online attribute hyperlink is not reading the space in URL, how to fix?

We are using Arc GIS Online to display some point data. In ArcGIS Online we configured the attributes to point to a hyperlink that is located in our gdb. Our GDB contains a field that points to where ...
1
vote
2answers
111 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 (https://github.com/...
2
votes
1answer
2k 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 ...
1
vote
1answer
484 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 ...
2
votes
2answers
638 views

How do I add a CartoDB layer to a MapBox map?

I'm having some trouble adding a CartoDB layer to an L.mapbox.map, I thought it was a pretty simple thing to do in the HTML but it's just not working and I dont know why? My CartoDB layer has vector ...
0
votes
1answer
108 views

zoomin and zoomout in google maps

I am creating javascript web application using google maps. i am trying to create a tool for zoomin and zoomout option.i created two buttons for zoomin and zoomout, now i am trying to activate the ...
0
votes
0answers
87 views

Publishing an interactive map made with ArcMap when I don't have access to ArcGIS Online

I apologize if this question is a silly or vague -- I am fairly new to ArcGIS and still grappling with how to articulate what exactly I don't understand. I have created an interactive map in ArcMap (...
0
votes
1answer
39 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 charset="UTF-...
0
votes
1answer
1k 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
281 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 ...
1
vote
1answer
81 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
107 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 ...
4
votes
1answer
526 views

OpenLayers 3.5 WFS-T update to GeoServer 2.7 raises StringIndexOutOfBoundsException

I am using ol.format.WFS.writeTransaction() (OL3.5) to generate WFS-T statements. This works well for insert and delete. The problem is with the update statement. Any update statement returns ...
2
votes
1answer
161 views

Custom HTML Within Leaflet Map

We're upgrading our Leaflet maps to be larger on the screen and doing so in part by putting information panels, etc. over the map with varying transparencies. Obviously this is easy to do by ...
1
vote
1answer
59 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.
2
votes
2answers
1k views

How do I embed the a Leaflet map into my web page, using QGIS2Leaf?

I am generally new to web developement, and web gis for that matter, but I want to embed a leaflet map that I made in QGIS using the QGIS2leaf pluggin, into the html of my webpage, but am having ...
0
votes
1answer
66 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 ...
1
vote
1answer
594 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
1answer
224 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 ...
2
votes
0answers
310 views

Leaflet Maps Sync Problem (Resolved)

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 &...
0
votes
1answer
246 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
478 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
1answer
1k 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. map....
2
votes
2answers
125 views

What exactly to write inside legend_exp column so that color Legend is seen in Qgis2Leaf?

I am new to qgis2leaf. I am getting the through qgis2leaf plugin. But as one can see i am not getting a color legend. I need to get the colors of bldg_use so that the map becomes readable. I needed ...
1
vote
2answers
301 views

No popup on map if no feature is selected

I've got a webmap showing data coming from a Geoserver instance. With better.WMS.js I made it possible to display popups. Everything works nice except that the map shows popups too where there is no ...
0
votes
2answers
357 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
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 ...
2
votes
2answers
1k views

Add a legend in an ArcGIS Javascript API

I am quite new to Javascript. I have made a html script that includes services I published to ArcGIS for server. It all does exactly what I want and I made it by copying working scripts together and ...
1
vote
1answer
266 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 ...
1
vote
2answers
119 views

FeatureLayer fullExtent is being constricted by Dojo ContentPane side panel

I have an ArcGIS JavaScript application which displays one single FeatureLayer on a map which is in a Dojo BorderContainer/ContentPane template similar to the one shown here. I am trying to ...
1
vote
1answer
186 views

Leaflet adding a HTML label

I would like to add a HTML label above each marker in a leaflet map. Is this possible? Example: Code for labels: HTML <table> <tr> <td class="red"></td> ...
2
votes
1answer
518 views

Loading Simple ESRI html JavaScript in Internet Explorer 11?

Is there any particular reason this Simple ESRI html javascript wont load in IE11? Chrome works fine <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="...
0
votes
0answers
47 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 ...