Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

vaadin/vaadin-leaflet-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This repository is deprecated

An up-to-date example of integrating a JS/ES library you can use the web component integration sample. A map component is available at start.vaadin.com (select the Map view).

Project example for integrating a JS library with Vaadin Flow

This project demonstrates how to integrate a 3rd party JS library (LeafletJS in this case) into a Vaadin application, as a custom web component.

Vaadin 14 Leaflet Example

The integration can be found in two files, LeafletMap.java and leaflet-map.js. MainView.java is a Vaadin application that demonstrates how to use the component.

Running the Application

Import the project to the IDE of your choosing as a Maven project.

Run the application using mvn spring-boot:run.

Open http://localhost:8080/ in your browser.

If you want to run the application locally in production mode, run mvn spring-boot:run -Pproduction.

About

Vaadin 14 integration example of Leaflet JavaScript map library.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •