[{PageViewPlugin}]
[Location], [Jspwiki plugin], [Abstract information], [Braincopy library], [Products], [GNSSFinder], [OpenLayers]

[{TableOfContents}]

!!!Introduction

OSM Plugin is a plugin for embedding [OpenSteetMaps|http://www.openstreetmap.org] into a JSPWiki page by using [OpenLayers] Library[http://openlayers.org/]. 
[{Image src='OSM Plugin/osm.jpg' width='400'}]
!!!Installation

#Download the [OSM Plugin/osm-plugin-0.6.7.jar] and [Braincopy library/braincopy-0.7.3.jar], and put them into your JSPWiki's WEB-INF/lib directory. braincopy.jar will be used for temporary information (especially location) container in the process of OSM plugin. About braincopy library, please refer [braincopy library] page.
#restart tomcat

!!!Usage

Place the following line anywhere in a JSPWiki page.

{{{
[{OSM lat='coordinate latitude' lng='coordinate longitude'}]
}}}

Integration display of places which were written in "pages" parameter divided by slash"/".!!
{{{
[{OSM lat='coordinate latitude' lng='coordinate longitude' pages='page A/page B/pageC'}]
}}}

!!Parameters

;lat:Coordinate Latitude value from -90 to 90, must be enclosed in single quotation marks
;lng:Coordinate Longitude value from -180 to 180, must be enclosed in single quotation marks
;zoom:Zoom value from 0 to 19, where 0 is widest and 19 is closest
;width:plugin width. default 400px
;height:plugin height. default 400px
;pages:integrated display of place points.

usage example: Simple one->[Location], Integrated Display-> [Travel]

you can check source code in Github site: [https://github.com/tateshitah/jspwiki-osm-plugin].

!!!Future works and Known Issues
*2.0.11-M7-> we cannot use engine.pageExists(), getPage(), and getPureText() method[1].
*the issue of missing ol.js -> undertaking
*need more explanation of braincopy library. Then introduce this plugin on "Contributed Plugin" of JSPWiki website [https://jspwiki-wiki.apache.org/Wiki.jsp?page=ContributedPlugins]. -> preparing in the [braincopy library]
*add select event to features of ol.-> done in ver 0.6.1
*put label not only marker.-> done! (ref: [http://openlayers.org/en/latest/examples/vector-labels.html])
*recursive location collection.(done!!)

!!!Reference
#[#1]Juan Pablo Santos, 2020-01-09, [https://jspwiki.apache.org/development/changelog.html]