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">
|
||||
var mapconfig = {
|
||||
tilesource : "oscimap4",
|
||||
tileurl : "http://opensciencemap.org/tiles/vtm",
|
||||
zoom : 2,
|
||||
latitude : 0.0,
|
||||
longitude : 0.0,
|
||||
tileurl : "https://oscim.ogiqvo.com/tiles/vtm",
|
||||
zoom : 17,
|
||||
latitude : 53.075,
|
||||
longitude : 8.806,
|
||||
tileSize : 400
|
||||
}
|
||||
//background : "naturalearth"
|
||||
|
@ -27,15 +27,15 @@ public class MapConfig extends JavaScriptObject {
|
||||
}-*/;
|
||||
|
||||
public final native double getLatitude() /*-{
|
||||
return this.latitude || 0;
|
||||
return this.latitude || 53.075;
|
||||
}-*/;
|
||||
|
||||
public final native double getLongitude() /*-{
|
||||
return this.longitude || 0;
|
||||
return this.longitude || 8.806;
|
||||
}-*/;
|
||||
|
||||
public final native int getZoom() /*-{
|
||||
return this.zoom || 2;
|
||||
return this.zoom || 17;
|
||||
}-*/;
|
||||
|
||||
public final native String getTileSource() /*-{
|
||||
|
Loading…
x
Reference in New Issue
Block a user