Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

creating an engine object for Google maps engine in java

I'm following this, but I'm having problems with creating the engine object (as described by the Java section of the code). I have 3 import lines that cant be resolved and I cant find where to get the files. i am still a novice coder so this is appreciated.

like image 595
Joshua Smith Avatar asked Dec 13 '25 17:12

Joshua Smith


1 Answers

See here for the java library and how you can import it

Direct download link for a .zip file

For maven add to pom.xml:

<project>
  <dependencies>
    <dependency>
      <groupId>com.google.apis</groupId>
      <artifactId>google-api-services-mapsengine</artifactId>
      <version>v1-rev64-1.20.0</version>
    </dependency>
  </dependencies>
</project>

for gradle:

repositories {
    mavenCentral()
}

dependencies {
    compile 'com.google.apis:google-api-services-mapsengine:v1-rev64-1.20.0'
}

By the way, Google Maps Engine API will stop working after jan 29th, 2016, so don't waste too much time getting used to it ;-)

like image 159
Tim Avatar answered Dec 16 '25 08:12

Tim



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!