Giter Site home page Giter Site logo

gwt-leaflet's Introduction

gwt-leaflet

Build Status

A lightweight mapping alternative to popular mapping APIs like Google Maps and OpenLayers.

The library uses Leaflet, an open-source javascript library for mobile-friendly interactive maps by CloudMade, to implement a collection of mapping Widgets which GWT projects can use to implement mapping capabilites on the client-side of a GWT application. The Leaflet API is a third-party javascript and is integrated with GWT as Java classes using JSNI and Type Overlays.

Features

Warning: This project is in flux. API, module structure and names can change at any time!

###Milestones###

  • v0.1 (Medio Sep 2012) - Core parts of Leaflet API exposed
  • v0.2 (Primo Nov 2012) - All relevant parts of Leaflet API exposed, start publishing snapshots (maven + jars)
  • v0.3 (Ultimo Dec 2012) - Widgets: geolocation (field), first official release (maven + jars).

###Core Module###

Dependency: Leaflet 0.4.5

Following parts of Leaflet API are implemented:

###Widget Module (GWT)###

  • MapWidget - GWT Widget displaying a Map instance (available from WindowBuilder Editor palette)

###Proj4 Module (GWT)###

Dependency: Proj4Leaflet master/74a5a8b170ff58e635cba139cfaa25cd4cd5d022 (git)

  • Proj4 - Custom (local) CRS factory plugin to Leaflet (Proj4Leaflet)

###Search Module (GWT)###

Dependency: leaflet-search master/3b717c6ff2bbd5ad19ba4f851c152f67ca62b97d (git)

###Label Module (GWT)###

Dependency: Leaflet.label master/3c13acff459c36a222e9fdefd718af95396a0a9f (git)

  • Leaflet label - Simple label plugin for Leaflet (Leaflet.label)

Example

Goto gwtl-example.appspot.com to see a running example of the GWT example project.

Development

This Git project structured as a Maven multi-gwt-module project setup, (see working with maven) and is developed using

Ensure that these are all installed and ready before you continue. To install from scratch, just

  1. Download and install Eclipse
  2. Download P2 software file import file and start Eclipse
  3. Open File -> Import -> "Install Software Items from File" wizard
  4. Enter path to p2f file downloaded in step 2
  5. Check "Contact all update sites during install to find required software"
  6. Press enter and follow the instructions.

When you are all done, just (linux)

  1. fork this repo on github
  2. clone the fork locally - git clone https://github.com/<username>/gwt-leaflet.git
  3. change directory to - cd gwt-leaflet/src
  4. and run the command - mvn package

which should automatically download some stuff for you and prepare the projects for import into Eclipse.

  1. Switch to Eclipse and select File -> Import...
  2. Select Maven -> Existing Maven Projects
  3. Select Browse ... -> gwt-leaflet/src
  4. Finish

which should import all projects into current workspace.

Reference

You find more information in the developer guide.

gwt-leaflet's People

Contributors

kengu avatar leiva avatar igieon avatar

Watchers

James Cloos avatar Anji Chagaleti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.