public void moveToCenter(double lat, double lon) { centerQueue = new capex.map.GeoLocation().setLatitude(lat).setLongitude(lon); if (mapInitialized) { doMoveToCenter(); } }
public void notifyListeners(capex.map.GeoLocation location) { if (listeners != null) { var n = 0; var m = listeners.Count; for (n = 0; n < m; n++) { var listener = listeners[n]; if (listener != null) { if (listener != null) { listener(location); } } } } }