OpenLayers 3 Wrapper for Vaadin
Vaadin wrapper for OpenLayers 3. Provides Vaadin wrappers for the core part of the api.
This add-on provides Vaadin api for the core part of the OpenLayers 3. The wrapper relies on "OpenLayers 3 Wrapper for GWT" add-on to provide the client-side GWT wrappers for the api.
Currently the supported features of the OpenLayers v3 api are: Layers: Image, Tile, Vector Sources: WMS, WMTS, OpenStreetMap, MapQuest, Vector (generic) Interactions: Select, draw, modify Controls: Attribution, full screen, mouse position, rotate, scale line, zoom
Sample code
VerticalLayout layout = new VerticalLayout(); // create map instance OLMap map = new OLMap(); // add layer to map OLMapQuestSource mapSource = new OLMapQuestSource(OLMapQuestLayerName.OSM); OLTileLayer layer = new OLTileLayer(mapSource); map.addLayer(layer); // add the map to the layout layout.addComponent(map);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Upgraded to Open Layers 4.6.5 Added more api for TextStyle
- Released
- 2019-04-10
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 8.0+
- Vaadin 7.2+ in 0.1
- Vaadin 7.3+ in 0.1.6
- Browser
- Firefox
- Opera
- Safari
- Google Chrome
- Internet Explorer
- iOS Browser
- Internet Explorer