The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
289 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 ...
0
votes
1answer
17 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, ...
1
vote
0answers
38 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
58 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) { ...
1
vote
1answer
1k 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
0answers
31 views

Developing a MapControl for Android

I have recently developed an ActiveX control for Windows which can load layers from a geodatabase if compatible with OGC simple feature.I don't have much experience in mobile GIS.I want to know how ...
2
votes
1answer
150 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
166 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
40 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
328 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
116 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
0answers
366 views

How to change CSS style of Google Map maptype controls

I created a custom zoom control and another custom control that toggles a chart onto the map based on API examples and now I'd like to match up the style of the map type buttons to the look of my ...
0
votes
2answers
395 views

Using an InfoWindow with a Feature Layer and a 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
0answers
99 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. ...
0
votes
1answer
150 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
170 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
1answer
181 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
205 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
1k 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
186 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 ...
0
votes
1answer
163 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… Some knows the lifecycle of an AxControl (AxTOCControl) ? Why this question??? ok , lets put in this way.....I have a complex ...
3
votes
1answer
636 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. ...
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. ...