File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
main/java/org/geohex/geohex4j
test/java/org/geohex/geohex4j Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ http://twitter.com/chshii
12
12
Currently only #decode, #encode, #getZoneByLocation and #getZoneByCode methods are ready.
13
13
14
14
# INSTALL
15
- * Simply copy net .geohex.GeoHex.java into your app.
15
+ * Simply copy org .geohex.geohex4j .GeoHex.java into your app.
16
16
17
17
# USAGE
18
18
19
- import net .geohex.GeoHex;
19
+ import org .geohex.geohex4j .GeoHex;
20
20
21
21
String code = GeoHex.encode(35.780516755235475, 139.57031250000003, 9);
22
22
// code -> "XM566370240"
Original file line number Diff line number Diff line change 2
2
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
3
<modelVersion >4.0.0</modelVersion >
4
4
5
- <groupId >net .geohex</groupId >
5
+ <groupId >org .geohex.geohex4j </groupId >
6
6
<artifactId >geohex4j</artifactId >
7
7
<version >1.0.0-SNAPSHOT</version >
8
8
<packaging >jar</packaging >
12
12
13
13
<licenses >
14
14
<license >
15
- <name >CC BY-SA 2.1 </name >
16
- <url >https ://creativecommons .org/licenses/by-sa/2.1/jp/ </url >
15
+ <name >MIT License </name >
16
+ <url >http ://opensource .org/licenses/mit-license.php </url >
17
17
<distribution >repo</distribution >
18
18
</license >
19
19
</licenses >
Original file line number Diff line number Diff line change 1
- package net .geohex ;
1
+ package org .geohex . geohex4j ;
2
2
3
3
import java .util .ArrayList ;
4
4
import java .util .List ;
Original file line number Diff line number Diff line change 1
- package net .geohex ;
1
+ package org .geohex . geohex4j ;
2
2
3
3
import java .io .BufferedReader ;
4
4
import java .io .FileReader ;
5
5
import java .io .IOException ;
6
6
7
7
import junit .framework .TestCase ;
8
8
9
- import net .geohex .GeoHex ;
9
+ import org .geohex . geohex4j .GeoHex ;
10
10
11
11
public class GeoHexTest extends TestCase {
12
12
public void testInvalidArguments () {
You can’t perform that action at this time.
0 commit comments