mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-09 13:50:57 +00:00
added an initial popup for debugging the host name to use for the maps API key
This commit is contained in:
1 parent
71fee7a59c
commit
ff42326e79
2 files changed
+3
-1
No files matched your search
@@ -34,6 +34,7 @@ import com.google.gwt.maps.client.overlay.Marker;
|
||||
import com.google.gwt.maps.client.overlay.MarkerOptions;
|
||||
import com.google.gwt.maps.client.overlay.Polyline;
|
||||
import com.google.gwt.maps.client.overlay.PolylineOptions;
|
||||
import com.google.gwt.user.client.Window;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.google.gwt.user.client.ui.FormPanel;
|
||||
import com.google.gwt.user.client.ui.Grid;
|
||||
@@ -174,6 +175,8 @@ public class RaceMapPanel extends FormPanel implements EventDisplayer, TimeListe
|
||||
}
|
||||
|
||||
private void loadMapsAPI() {
|
||||
String host = Window.Location.getHost();
|
||||
errorReporter.reportError("Host is "+host);
|
||||
Maps.loadMapsApi(mapsAPIKey, "2", false, new Runnable() {
|
||||
public void run() {
|
||||
map = new MapWidget();
|
||||
|
||||
-1
@@ -1,3 +1,2 @@
|
||||
# Module com.sap.sailing.gwt.ui.AdminConsole
|
||||
# RPC service class, partial path of RPC policy file
|
||||
com.sap.sailing.gwt.ui.client.SailingService, 7689DE2B65E274578CFD3E05D6DB992B.gwt.rpc
|
||||
Reference in new issue
Block a user