Skip to content
المشاريع

حول

GWT wrapper for OpenLayers 3+ using JSInterop

العلوم والهندسة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

GWT-OpenLayers 3+

Build Status Maven Central Join the chat at https://gitter.im/gwt-ol3/Lobby

With gwt-ol you can write fast mapping applications for web and mobile in pure Java. Technically speaking, it is a GWT wrapper for OpenLayers 3+ using the JSInterop features of the GWT SDK. The project consists of two parts:

  • a GWT wrapper for OpenLayers 3+ (gwt-ol3-client)
  • a demo module for showing wrapper functionality (gwt-ol3-demo)

You can build (mvn package) and run (mvn gwt:devmode) the application using Maven. The dev mode server hosts the demo under the /demo path. Once the server starts, open the printed URL (for example http://localhost:9876/demo) in your browser to explore the examples.

If you want to build the application without Maven please consider the following hints:

  • Building the application with older GWT-SDK than 2.8.0-beta1 will not work. You can download the latest SDK here.

Demo App

GWT-OL live example

Project Setup

Maven dependency

<dependency>
  <groupId>com.github.tdesjardins</groupId>
  <artifactId>gwt-ol3</artifactId>
  <version>[x.x.x]</version>
</dependency>

Replace [x.x.x] with the gwt-ol version you want to use.

GWT module

  <inherits name="ol.GwtOL"/>

optional: add this line for proj4js support

  <inherits name="proj4.GwtProj4"/>

Resources

  <link href="//cdn.jsdelivr.net/npm/ol@[x.x.x]/ol.min.css" rel="stylesheet" type="text/css">
  <script src="//cdn.jsdelivr.net/npm/ol@[x.x.x]/dist/ol.min.js" type="text/javascript"></script>

Replace [x.x.x] with the OpenLayers version you want to use.

gwt-ol is actively tested with OpenLayers 10.8.0 and generally works with other 10.x releases. If you require support for earlier versions of OpenLayers, use a matching gwt-ol release.

Download

Releases are deployed to the Central Repository.

Snapshots of the development version are available in Central snapshots repository.

Projects using gwt-ol

Running Reality
Mapping of COVID-19 spread in Italy

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…