2
votes
1answer
138 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
80 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
1k 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
298 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 ...
0
votes
0answers
149 views

Want to toggle layers generated from 2 different fusion tables

I have this JavaScript code. I want 2 buttons on the map. 1 to turn layer_2 'ON' and other to turn layer_1 'ON'. Once either button is clicked the other layer should turn off. Also layer_1 needs to be ...