Theme
arya
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga
vela
OpenStreetMap
Open Street Map

OpenStreetMap is a component allows you to embed an OpenStreetMap into your page. OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

Leaflet.js Based on Leaflet JS by Volodymyr Agafonkin.

Components and more
Documentation pe:osmap
Attributes (move mouse over the names to see data types)
Name Description
widgetVar Name of the client side widget.
model An org.primefaces.model.MapModel instance.
style Inline style of the map container.
styleClass Style class of the map container.
center Center point of the map. Required.
zoom Defines the initial zoom level. Default is 8.
zoomControl Display zoom control on a map. Default is true.
attribution When using OpenStreetMap data, you are required to provide credit and display copyright notice.
tileUrl Url of a custom tile provider.
draggable Defines draggability of map. Default is true.
onPointClick Javascript callback to execute when a point on map is clicked.
scrollWheel Controls scrollwheel zooming on the map. Default is true.
PrimeFaces Extensions Showcase - © 2011-2023,PrimeFaces: 14.0.5,PrimeFaces Extensions: 14.0.5,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: jetty/9.4.36.v20210114,Build time: 2024-09-10 21:01