Leaflet UI Extension
Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps with a simple, well-documented API.
Oorian Extension
The Oorian extension for Leaflet UI Extension is under development and will be available with the framework release.
Implementation priority based on popularity, API complexity, and user demand.
The version of Leaflet UI Extension that this extension supports.
The licensing model for Leaflet UI Extension. Check their official website for full license details.
Oorian extensions expose the complete Leaflet UI Extension API through type-safe Java methods.
Key Features
Usage Example
See how to use Leaflet UI Extension with Oorian in pure Java.
Oorian's Leaflet extension provides a fluent Java API for creating interactive maps. Here's a simple map centered on San Francisco with markers for popular landmarks:
Java Code
// Create a map centered on San Francisco
LfMap map = new LfMap()
.setCenter(37.7749, -122.4194)
.setZoom(13)
.setHeight("400px")
.addOpenStreetMapLayer();
// Add markers for landmarks
map.addMarker(new LfMarker(37.8199, -122.4783)
.setPopupContent("<b>Golden Gate Bridge</b><br>Iconic suspension bridge")
.setTooltip("Golden Gate Bridge"));
map.addMarker(new LfMarker(37.7749, -122.4194)
.setPopupContent("<b>San Francisco</b><br>City Center")
.setTooltip("Downtown SF"));
map.addMarker(new LfMarker(37.8267, -122.4233)
.setPopupContent("<b>Alcatraz Island</b><br>Historic federal prison")
.setTooltip("Alcatraz"));
container.addElement(map);Result
Component Library Demos
Explore Leaflet UI Extension components with interactive examples.
Leaflet provides a comprehensive mapping library with support for multiple tile providers, markers, vector layers, and interactive features. Explore the demos below:
Tile Layer Providers
Leaflet supports multiple tile layer providers. Here are maps using different free tile services:
OpenStreetMap
Standard open-source map tiles
CartoDB Positron
Clean, light-themed map style
CartoDB Dark Matter
Dark theme for night mode UIs
Esri World Street
Detailed street-level mapping
Markers with Popups & Tooltips
Markers can display popups when clicked and tooltips on hover. Click on the markers below to see popups with HTML content:
Vector Layers: Circles, Polygons & Polylines
Draw shapes on the map including circles, polygons, polylines, and rectangles. Each shape can have custom colors, opacity, and popup content:
Ready to Use Leaflet UI Extension?
Oorian makes it easy to integrate Leaflet UI Extension into your Java web applications with type-safe extensions and real-time updates.