The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
15 views

redraw canvas when add new overlay?

Good day! A little problem: how to redraw canvas when I add overlay layer? Firstly load osm map, then creates canvas. So when I push the botton and add another layer it looks like sandwich and canvas ...
0
votes
0answers
415 views

Bootstrap navbar and leaflet zoom controls

I'm using the THE MAP GUY(DE) Bootstrap temple and applying it to leaflet using the code below. The issue I'm having is that the zoom-control doesn't toggle right on page load. It will only after ...
0
votes
0answers
23 views

Openlayers 3 - Redraw/Update a Control

It it possible to redraw, update, or change the HTML of an openlayers control when an event is fired? As far as I can tell, the HTML for a custom control is set by calling goog.base(this, { element: ...
2
votes
1answer
166 views

External layer switcher and layer order

So I'm using an external layer switcher because I need it imbedded in a bootstrap dropdown menu. It works really great except for one thing.... when I change between viewing my base layers, the ...
3
votes
1answer
3k views

missing LayerSwitcher in openlayers3

I was wondering if there is a LayerSwitcher control in OpenLayers 3? I read that ol3 is a complete rewrite. But I can't seem to find the equivalent of LayerSwitcher from ...
3
votes
1answer
432 views

OpenLayers Full Screen control not working

I have a problem with openlayers controls. I have 2 controls which are perfectly working, var mousePositionControl = new ol.control.MousePosition({ coordinateFormat: ...
0
votes
1answer
47 views

OpenLayers: How to remove custom controls?

I am trying to remove custom draw controls from my OpenLayers application which I create like this: var drawControls = { polygon: new OpenLayers.Control.DrawFeature(polygonLayerFreehand, ...
2
votes
2answers
2k views

openlayers - export map to canvas problem

I am trying to make a export control to export the map as image file. I found this example: http://dev.openlayers.org/sandbox/camptocamp/canvas/openlayers/examples/exportMapCanvas.html so i added the ...
1
vote
0answers
94 views

Openlayers OverviewMap control with vector layer data display

I am creating an OverviewMap control in the map and want to see the content of a Vector layer in the overview map too. var mapOverviewOptions = { mapOptions: { ...
0
votes
2answers
152 views

Geoserver REST api control

Recently I am using Geoserver grammatically through its REST api. When I request for a map it gives me a map image. My request code is like this: public string GetMap(string name) { ...
2
votes
1answer
557 views

Display a control (zoom bar) outside map container in Leaflet?

I need to extend a zoom control so that it is functional outside of the leaflet map container. Can this be done? Essentially,the same idea as what is accomplished with this item here but under the ...
-1
votes
1answer
310 views

ArcGIS Engine--load mxd file to map control or pagelayout control?

When load a mxd file using ArcGis engine,how to automatically detect whether it's saved in mapcontrol or pagelayout control?Thanks!
1
vote
1answer
84 views

How to reset the length of the control of scaleLine in OpenLayers?

I want to change the style of the control of the ScaleLine,but I have no idea where to change it,anybody can give me some advice? map.addControl(new OpenLayers.Control.ScaleLine());
1
vote
0answers
523 views

Add layers from WMSCapabilitiesStore to MapPanel and select polygons

I created a store and added layers to a grid Panel, when you click add layer to map it works fine, the problem is that when I call the function controle(layer) I can't select polygons in the layer ...
0
votes
1answer
220 views

How to zoom in/out selected elements of MapControl?

I have a mapcontrol that includes many elements: text, line. I used this code to add elements into mapcontrol: pGraphicsContainer.AddElement(pElement, 0); I can use zoom button to zoom in/out the ...
0
votes
1answer
241 views

Can't load Mxd file in MapControl?

I used below codes to save IMap into byte[] (to store in my database), but I can't load it again, are there anyone know what's wrong ? public byte[] SaveMap(AxPageLayoutControl pageLayOut) { ...
0
votes
1answer
227 views

Using ESRI.ArcGIS.Display.ITemplate to draw cutom lines?

I am using ESRI.ArcGIS.Display.ITemplate to draw custom lines such as dot/dash lines on a map control. Then, I used below codes ESRI.ArcGIS.Display.ITemplate templateCls = new ...
2
votes
0answers
117 views

Cannot reselect polygon after modify

I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...
1
vote
2answers
3k views

How to deal Leaflet map control checkboxes?

I add some geojson layers to the map control once a layer is loaded and the control can show all the layer names. But I notice that all the checkboxes are unchecked by default. So that once I click ...
0
votes
2answers
647 views

Using InfoWindow with Feature Layer and DialogWindowBase?

I need to have an infoWindow that displays the Outfields of a FeatureLayer. The infoWindow is popping up, but it is popping up no matter where you click on the map and it does not contain any of the ...
2
votes
1answer
284 views

Openlayers - Loop through control collection

Is there a way to loop through the collection of map controls that have been added to an OpenLayers map?
2
votes
1answer
402 views

How can I enable panning using Openlayers and a vector overlay with controls?

I am creating a map using the following code: map = new OpenLayers.Map({ div: "map" }); Then I load in a geojson polygon layer and add two controls var highlightCtrl = new ...
2
votes
1answer
2k views

Openlayers error after removing selectFeature control

I am using a selectFeature control for a point layer in OpenLayers 2.12. I have a problem after removing the selectFeature control from the map. The reason why I want to remove the control is because ...
1
vote
0answers
248 views

Zooming MapControl (Arcgis) doesn't effect?

I am trying to use the Zoom commands (Zoom In, zoom out) for a MapControl. But it doesn't make "Text elements" bigger (larger) or smaller. Please see my image. I used the below function to add a ...
3
votes
1answer
837 views

toggle clustering with map controls

I've made a map with openlayers and have the vector features clustered with a clustering strategy. Now I want my users to be able to toggle this behaviour with a control similar to the layerswitcher. ...
0
votes
1answer
212 views

Life cycle of an AxControls - license missing in some point of the execution

DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far… Does anyone know the lifecycle of an AxControl (AxTOCControl)? I have a complex application, that uses several technologies ...
3
votes
2answers
1k views

ArcGIS 10 MapControls in MS Access, can it be done?

In the past (9.3 ArcGIS) I was able to develop forms in MS Access where I could drop a MapControl on and have GIS functionality all within Access as long as ArcMap was installed on the same machine. ...