Skip to content

Mukund2900/tile38-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

tile38-client

Add this dependency to your pom:

    <dependency>
        <groupId>tile38-cli</groupId>
        <artifactId>com.mapabc</artifactId>
        <version>2.0.1</version>
    </dependency>

Configuration

@Value("${tile38.host}")
private String host;

@Value("${tile38.port}")
private Integer port;

@Bean
public Tile38Template getTile38Template(){
    Tile38Client instance = new Tile38Client(host, port, null);
    return new Tile38TemplateImpl(instance);
}

Service

@Autowired
Tile38Template tile38Template;
public void test(){
    String data = tile38Template.getKeys("OD-*");
    JSONArray keys = JSONObject.parseObject(data).getJSONArray("keys");
    .....
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%