Skip to content

infinitenature/v-leaflet-zoomify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Codacy Badge

V-Leaflet Zoomify add-on project

This is Leaflet.Zoomify add-on to to v-leaflet Vaadin add-on

Usage

Add the maven add-on repo to your pom.xml:

<repositories>
   
   <!-- other repos if needed -->
   
   <repository>
      <id>vaadin-addons</id>
      <url>http://maven.vaadin.com/vaadin-addons</url>
   </repository>
</repositories>

Add the dependency to your pom.xml:

<dependencies>
   
   <!-- other dependencies -->
   
   <dependency>
      <groupId>org.infinitenature</groupId>
      <artifactId>v-leaflet-zoomify</artifactId>
      <version>0.0.3</version>
   </dependency>
</dependencies>

Use the LZoomifiyImage class:

new LZoomifyImage("http://cmulders.github.io/Leaflet.Zoomify/examples/hubble-orion-nebula", "&copy; NASA, ESA, M. Robberto and the Hubble Space Telescope Orion Treasury Project Team");

License

This add-on is published under the apache 2.0 license. The source of the java script code is licensed under the MIT license.

Creating releases

  1. Push your changes to e.g. Github
  2. Update pom.xml to contain proper SCM coordinates (first time only)
  3. Use Maven release plugin (mvn release:prepare; mvn release:perform)
  4. Upload the ZIP file generated to target/checkout/target directory to https://vaadin.com/directory service (and/or optionally publish your add-on to Maven central)