Skip to content

Commit

Permalink
#1377 fixed again
Browse files Browse the repository at this point in the history
  • Loading branch information
spyhunter99 committed Oct 3, 2019
1 parent 3dcef1e commit 9d534aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class HEREWeGoTileSource extends OnlineTileSourceBase
//<meta-data android:name="HEREWEGO_DOMAIN_OVERRIDE" android:value="aerial.maps.cit.api.here.com" /> //<meta-data android:name="HEREWEGO_DOMAIN_OVERRIDE" android:value="aerial.maps.cit.api.here.com" />
private static final String HEREWEGO_DOMAIN_OVERRIDE = "HEREWEGO_OVERRIDE"; private static final String HEREWEGO_DOMAIN_OVERRIDE = "HEREWEGO_OVERRIDE";


private static final String COPYRIGHT="© 1987 - 2019 HERE. All rights reserved.";
private static final String[] mapBoxBaseUrl = new String[]{ private static final String[] mapBoxBaseUrl = new String[]{
"http://1.{domain}/maptile/2.1/maptile/newest/", "http://1.{domain}/maptile/2.1/maptile/newest/",
"http://2.{domain}/maptile/2.1/maptile/newest/", "http://2.{domain}/maptile/2.1/maptile/newest/",
Expand All @@ -44,7 +45,7 @@ public class HEREWeGoTileSource extends OnlineTileSourceBase
*/ */
public HEREWeGoTileSource() public HEREWeGoTileSource()
{ {
super("herewego", 1, 20, 256, ".png", mapBoxBaseUrl, "© 1987 - 2017 HERE. All rights reserved."); super("herewego", 1, 20, 256, ".png", mapBoxBaseUrl, COPYRIGHT);
} }


/** /**
Expand All @@ -54,7 +55,7 @@ public HEREWeGoTileSource()
*/ */
public HEREWeGoTileSource(final Context ctx) public HEREWeGoTileSource(final Context ctx)
{ {
super("herewego", 1, 20, 256, ".png", mapBoxBaseUrl,"© 1987 - 2017 HERE. All rights reserved."); super("herewego", 1, 20, 256, ".png", mapBoxBaseUrl,COPYRIGHT);
retrieveAppId(ctx); retrieveAppId(ctx);
retrieveMapBoxMapId(ctx); retrieveMapBoxMapId(ctx);
retrieveAppCode(ctx); retrieveAppCode(ctx);
Expand All @@ -79,7 +80,7 @@ public void setDomainOverride(String hostname){
*/ */
public HEREWeGoTileSource(final String herewegoMapId, final String accesstoken, final String appCode) public HEREWeGoTileSource(final String herewegoMapId, final String accesstoken, final String appCode)
{ {
super("herewego"+herewegoMapId, 1, 20, 256, ".png", mapBoxBaseUrl,"© 1987 - 2019 HERE. All rights reserved."); super("herewego"+herewegoMapId, 1, 20, 256, ".png", mapBoxBaseUrl,COPYRIGHT);
this.appId =accesstoken; this.appId =accesstoken;
this.herewegoMapId =herewegoMapId; this.herewegoMapId =herewegoMapId;
this.appCode = appCode; this.appCode = appCode;
Expand All @@ -96,7 +97,7 @@ public HEREWeGoTileSource(final String herewegoMapId, final String accesstoken,
*/ */
public HEREWeGoTileSource(String name, int zoomMinLevel, int zoomMaxLevel, int tileSizePixels, String imageFilenameEnding) public HEREWeGoTileSource(String name, int zoomMinLevel, int zoomMaxLevel, int tileSizePixels, String imageFilenameEnding)
{ {
super(name, zoomMinLevel, zoomMaxLevel, tileSizePixels, imageFilenameEnding, mapBoxBaseUrl,"© 1987 - 2017 HERE. All rights reserved."); super(name, zoomMinLevel, zoomMaxLevel, tileSizePixels, imageFilenameEnding, mapBoxBaseUrl,COPYRIGHT);
} }


/** /**
Expand Down
2 changes: 1 addition & 1 deletion src/site
Submodule site updated from 4d07a8 to 635100

0 comments on commit 9d534aa

Please sign in to comment.