0
votes
0answers
21 views

Creating a layer switch Google Maps Api v3

I have generated a basic webpage with Visual Studio 2012 that displays a Google Map. My goal is to add multiple KML layers from my Server onto the Google Map, BUT, i want to be able to have a sort of ...
0
votes
0answers
14 views

Get Web Map Layer Field Value for If/else Statement

I've been trying to read through the ArcGIS JavaScript API but can't find what I want. I have a web map on my page that is based on my my map stored on ArcGIS online. I want to create an if/else ...
3
votes
1answer
70 views

Is there a way to know if an error occurred while loading a WMS layer, in OpenLayers 2?

First of all, I already asked this question in stackoverflow. I don't want to spam by asking again here. But I think the question fits better in gis.stackexchange. I am sorry for the replication. Feel ...
0
votes
0answers
142 views

OpenLayers modify selected feature

I am trying to modify an already selected vector (feature) in Open Layers. In my map i have implemented "select on click" functionality, so what i would like to achive is to have a "Modify" button ...
0
votes
0answers
65 views

Kartograph.js: Conditional styling of each path in a layer

I'm trying to make a web-map with Kartograph.js based on an svg map. I want to fill the paths of a layer based on an attribute. I tried doing it with the accompanying .css file like this: #map svg ...
2
votes
1answer
137 views

OpenLayers: Can I drag a feature between two maps?

Is it possible to drag the features between two different maps? Now, I create feature on event mouseenter but I would like to insert the feature and at the same time start to drag this feature.
0
votes
0answers
56 views

Change feature's image when it's not clustered

I'm clustering the features on the layer using AnimatedCluster this way: dataLayer = new OpenLayers.Layer.Vector("Data", { strategies: [ new ...
0
votes
1answer
94 views

Mouse click event used gis application with much data

I will create an application that using my water pipes, electric cables, gas pipes service in a city. All of streets and roads including water pipes. My service is publishing pipes. My service like ...
2
votes
1answer
283 views

Special background layer not coloring in Kartograph map

I'm testing out Kartograph according to the documentation and a linked gist. Both my US and non-US layers color correctly, but I can not get the special "sea" layer to fill. I found an example here ...
1
vote
0answers
173 views

Layer set visible

I add this layer like this: var POIData = new esri.layers.ArcGISDynamicMapServiceLayer("https://mysite.com/ArcGIS/rest/services/POI_Data/MapServer"); map.addLayer(POIData); ...
2
votes
1answer
2k views

How to change an OpenLayers vector layer from automatic to manual get request?

I have a web server that returns a FeatureCollection in JSON. I was getting this using the code below, which works perfectly: var vectorLayer = new OpenLayers.Layer.Vector('geoJSON', { ...
3
votes
1answer
516 views

How to hide some parts of an image layer with OpenLayers?

My Problem I'm currently displaying a layer image above a Google Maps base layer. I would like, when the user check/uncheck some checkboxes, that some parts of this image layer disappear, and the ...