Set default position to Bremen (Same position as the screenshots in README)
This commit is contained in:
parent
14d67da9fa
commit
43b52de5d8
@ -19,10 +19,10 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var mapconfig = {
|
var mapconfig = {
|
||||||
tilesource : "oscimap4",
|
tilesource : "oscimap4",
|
||||||
tileurl : "http://opensciencemap.org/tiles/vtm",
|
tileurl : "https://oscim.ogiqvo.com/tiles/vtm",
|
||||||
zoom : 2,
|
zoom : 17,
|
||||||
latitude : 0.0,
|
latitude : 53.075,
|
||||||
longitude : 0.0,
|
longitude : 8.806,
|
||||||
tileSize : 400
|
tileSize : 400
|
||||||
}
|
}
|
||||||
//background : "naturalearth"
|
//background : "naturalearth"
|
||||||
|
@ -27,15 +27,15 @@ public class MapConfig extends JavaScriptObject {
|
|||||||
}-*/;
|
}-*/;
|
||||||
|
|
||||||
public final native double getLatitude() /*-{
|
public final native double getLatitude() /*-{
|
||||||
return this.latitude || 0;
|
return this.latitude || 53.075;
|
||||||
}-*/;
|
}-*/;
|
||||||
|
|
||||||
public final native double getLongitude() /*-{
|
public final native double getLongitude() /*-{
|
||||||
return this.longitude || 0;
|
return this.longitude || 8.806;
|
||||||
}-*/;
|
}-*/;
|
||||||
|
|
||||||
public final native int getZoom() /*-{
|
public final native int getZoom() /*-{
|
||||||
return this.zoom || 2;
|
return this.zoom || 17;
|
||||||
}-*/;
|
}-*/;
|
||||||
|
|
||||||
public final native String getTileSource() /*-{
|
public final native String getTileSource() /*-{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user