Questions tagged [gwt-openlayers]

GWT-OpenLayers is a Java wrapper for the OpenLayers JavaScript API. It allows GWT projects to use the OpenLayers JavaScript API.

57 questions
0
votes
1 answer

Disable ol4 some default event listeners

Is there any chance to disable some default event listeners on some ol4 components or stop trigerring some basic events? For example, i want to push an element in ol.Collection without trigering the 'add' event, or change the geometry of a…
N. Silviu
  • 113
  • 1
  • 8
0
votes
1 answer

How to develop roads in openlayer 3

I have to develop a functionality in ol3 which is capable to draw a lot of custom roads(tracks) on the same map. I want a quick access to those roads because I need to update them in real-time. To achieve that, I want to store each road organized…
N. Silviu
  • 113
  • 1
  • 8
0
votes
1 answer

How to load a shapefile in gwt-openlayers

We're building an application using GWT-Openlayers (not OpenLayers) and need to allow the user to load a polygon from a shapefile. Surprisingly, there doesn't seem to be an evident solution. The closest solutions are javascript libraries for…
Bill Compton
  • 61
  • 1
  • 7
0
votes
1 answer

How can one change the buildWMSOptions of the WMSGetFeatureInfo after definition of the control

The actual case is that a definition of a WMS request with additional CQL parameters is defined in the beginning of the Map initialisation. When afterwards the CQL parameter change for the selection the initial…
0
votes
1 answer

Integrating OpenSeaMap into GWT OpenLayers

I am having trouble integrating OpenSeaMap into GWT application. I have followed their example and example of GWT-OpenLayers TMS. Here is my code: private void initMap(MapView map) { TMSOptions seamarkOptions = new TMSOptions(); …
vitalidze
  • 1,052
  • 1
  • 10
  • 16
0
votes
1 answer

Google layer appears wrong with gwt-openlayers

I use Gwt 2.6.1 (with Activities and Places framework) and gwt-openlayers 1.0 The problem comes when i use a google layer (Google or GoogleV3 instance) as base layer. The map appears but i can't zoom or drag and the openlayers controls are missing…
0
votes
1 answer

Unable to get the required gwtopenlayers jars

How can I get the jars for org.gwtopenmaps.demo.openlayers.client.basic and org.gwtopenmaps.demo.openlayers.client.components.store packages.I want to import AbstractExample and ShowcaseExampleStore classes into my java file.
0
votes
1 answer

GWT-OpenLayers: Navigate and Box Selection Together

Consider this example on GWT-OpenLayers showcase. The example implements the navigate and box selection features separately. How can I implement the navigate and box selection feature together? i.e. I make a selection only when I press 'Shift Key'…
pratZ
  • 3,078
  • 2
  • 20
  • 29
0
votes
1 answer

How draw 3D objects on gwt-openlayers map using ArcGis and KML? Or with any other approach?

Is it possible to create gwt-openlayers map with 3D objects on it? I know that KML layers can be used for drawing 3D objects and supported by gwt-openlayers. And I also know that gwt-openlayers can draw WMS and WFS layers from remote ArcGis…
user2104560
0
votes
2 answers

Tips on drawing shapes with OpenLayers.Renderer.symbol

I have to draw complex shapes for representation on OpenLayers map. On surfing the internet, I found many links that define a points collection for drawing various shapes like an Arrow, a lightning etc... but none explain how to draw these…
0
votes
3 answers

GWT OpenLayers set sum of values of underlying VectorFeatures on cluster point

I'm using gwt-openlayers-1.0, currently learning this example (Animated Cluster Strategy). In my project each VectoreFeature has a numeric label and I want to display sums of label values of underlying points on each cluster point. Is there a way…
Moonsera
  • 35
  • 1
  • 6
0
votes
2 answers

Malformed WFS XMLHttpRequest from GWT-openlayers in IE11

I have tried reproducing one of GWT-openlayers showcase examples involving WFS requests (this one). I kept the code and just modified it to be a simple Composite instead of an Abstract Example, like this: public class Example extends Composite…
0
votes
2 answers

DrawPanelOptions onFeatureAdded

We are working on our Gis application, I am using gwt-openlayers and we're creating Vaadin wrappers. So I've extended the MapWidget and created the required layers and vector layers and added a DrawFeatureControl: DrawFeatureOptions…
TheO
  • 95
  • 1
  • 1
  • 5
0
votes
1 answer

How can we draw custom shapes as features on open layers map

How can we draw custom shapes as features on open layers map? in our project, we have to dislpay multi colored custom shapes (just like pushpins) as Features on the map. the colors in the shapes change according to the undelaying data that the…
0
votes
1 answer

How can I draw a rectangle in gwt-openlayers?

I see that it is supported for the non-gwt version, here: http://openlayers.org/dev/examples/draw-feature.html (click on "draw box") However, I can not find a way to access this function via gwt-openlayers. I am using SmartGWT, but I don't think…
BLuFeNiX
  • 2,496
  • 2
  • 20
  • 40