GWT-OpenLayers is a Java wrapper for the OpenLayers JavaScript API. It allows GWT projects to use the OpenLayers JavaScript API.
Questions tagged [gwt-openlayers]
57 questions
2
votes
1 answer
How to convert Coorinates of VectorFeatures or Layer in OpenLayers from one projection to another?
I'm using GWT-OpenLayers in my project and i have problems with converting coordinates.
I know how to do this for single point transform(from,to) but can i do this without applyinng for each point?
Right now i'm parsing KLM data to get list of…

user902383
- 8,420
- 8
- 43
- 63
1
vote
2 answers
Get a feature info on map click in openlayers3 javascript
i am trying to get feature information on map click using openlayers 3 javascript with the help of the example popupinfo
var mmi = new ol.layer.Tile({
source: new ol.source.OSM()
});
var one = new ol.layer.Image({
…

vaibhav Dhiman
- 19
- 2
- 9
1
vote
0 answers
Is it possible to use Mapbox as background Layer with GWT-OpenLayers?
Is it possible to use Mapbox as background Layer with GWT-OpenLayers? ( http://www.gwt-openlayers.org/ ) ?
If yes, is there some code somewhere ?
Thanks in advance

user1176726
- 65
- 7
1
vote
1 answer
openlayers polygon displays difference not union
In OpenLayers, I create a polygon consisting of two LinearRing objects, using code of the form (this is in Java+GWT, but the same principle applies to JS):
List linearRingList = new ArrayList();
List points1 = new…

bevis
- 129
- 1
- 13
1
vote
0 answers
Customized Time Picker
How can I create my own Time picker in my GWT RPC application. I have used a standard time picker from traccar.But it has used a drop down time field which has time interval of 30 mins.I want it for 1 min time interval. What are the changes I have…
1
vote
1 answer
openlayers image layer stretch with no blur effect
I use an Image Layer to draw some data at specific locations on my web application using gwt-openlayers. Assume the original image is 400x400 pixels. Whem I zoom in the map, the image is stretched. The problem is that the stretch effect is 'blurry'.…

Magallo
- 196
- 2
- 14
1
vote
1 answer
How add WMS layers with gwt-openlayers?
I'm trying to add WMS layer from remote ArcGIS server to my GWT web app. I'm using gwt-openlayers library.
My code:
MapOptions defaultMapOptions = new MapOptions();
mapWidget = new MapWidget("100%", "100%", defaultMapOptions);
Map…
user2104560
1
vote
0 answers
Two Vector Features on the same place: transparency problems - openlayers
My goal is to have an icon on the map and be able to change it's background programmatically.
I have:
- A vector layer with externalImages as markers (images are partly-transparent)
- A vector layer with colored squares of the same size as "markers"…

WinnieRazor
- 43
- 2
- 7
1
vote
1 answer
How to transform a GWT OpenLayers VectorFeature?
I am using OpenLayers GWT. I want to put an GeoJSON shape on top of a Google Maps layer. I have done as follows:
String gson = "{here I put a valid GeoJSON string}";
GeoJSON geoJSON = new GeoJSON();
VectorFeature[] vf =…

Dawied
- 897
- 10
- 16
1
vote
1 answer
Error using GWT openlayers MapWidget
Im trying to create a website with a map using GAE and the GWT openlayers library. Im trying to implement it by using a MapWidget in the SiteNameWidget.ui.xml file, but i get the error below.
I've managed to get it working by using the…

Drublic
- 660
- 1
- 9
- 23
0
votes
0 answers
Angular open layer toggle issue
I am using open layer map toggle for open and close but when I was opening the toggle with in macro seconds it is coming to normal position. I want it to stay there un till we click on close
I have debugged and find that it happening with…

venu dev
- 21
- 2
0
votes
1 answer
Is there a way so that I can keep the square but resize it in openlayers?
I got four different coordinates that is making a square in the openlayers map. But I want to know if it is possible that instead of breaking the square shape, is it possible to just grab one of the corners and resize (make bigger/smaller) the…

Ben Collins
- 67
- 7
0
votes
0 answers
How to change tileSize in XYZ (tileLayer) from default([256,256]) to something else for openlayers?
I am trying to change the tile size for my TileLayer in openlayers and I have not been able to change it. No matter what I set the tileSize to be it is always [256,256]. Also, The files I am getting from local_url is 1900x1268. Below is the…

Ashim
- 877
- 2
- 12
- 22
0
votes
1 answer
How to export a gwt-openlayers map as an image
We have gwt webapplication, showing map, implemented with gwt-openlayers.
I would like to implement a function to export the current map as an image (for example png).
I'm aware of this example from openlayers, but I struggle getting it done with…

EricN
- 1
- 1
0
votes
1 answer
Latitude and longitude change dynamically in OpenLayers
I am trying to point my address on a map in OpenLayers by using the code below :
var rome = new ol.Feature({
geometry: new ol.geom.Point(ol.proj.fromLonLat([12.5, 41.9]))
});
rome.setStyle(new ol.style.Style({
image: new ol.style.Icon(/**…

v. josh
- 119
- 1
- 1
- 12